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

Jerold Schulman

January 23, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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 HKLMSYSTEMCurrentControlSetServicesLanmanServerParameters /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.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like