Skip navigation

JSI Tip 10084. How can I configure the timing that the server service uses to close unused virtual circuits?

A virtual circuit is a communications link that appears to be a direct connection between sender and receiver, although physically the link can be routed through a more circuitous path.

The server service maintains an unused virtual circuit for 2 minutes, by default.

If you decrease this value, it can conserve scarce server resources, but doing so might reduce performance by requiring more virtual circuits be re-established.

To alter the numnber of minutes, use REG.EXE, built into Windows XP, Windows Server 2003, and later operating systems, or installed from the Windows 2000 Support Tools:

1. Open a CMD.EXE Window.

2. Type the following command and press Enter:

REG ADD HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters /V ConnectionNoSessionsTimeout / T REG_DWORD /F /D MINUTES

where MINUTES is the number of minutes desired, from 1 through 4294967295.

3. You must stop and start the server service (LanmanServer) or shutdown and restart your computer.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish