Getting Auto-Disconnected from NT4

You have connected via network or modem to an NT4 or Windows 2000 system (Server or Workstation/Professional), you are not using the connection
for a while (having an "idle" connection: no network traffic) and you get
automatically disconnected from the Server.

That can be caused by an entry in the Registry, there are different entries
for LAN connections and RAS connections:


LAN(See also Q138365):
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters:
key: "Autodisconnect", the value is defined in minutes.

Note: a value of "-1" disables AutoDisconnect, a value of "0" does NOT
turn it off and results in very fast disconnects within a few seconds of idle time.
(However, the RAS Autodisconnect paramater is turned off if you set it to a value of 0.)

Note: the number of minutes can be set at a command prompt using the
"NET CONFIG SERVER" command.

Example: to disconnect after 30 min:

Net Config Server /autodisconnect:30

To turn off the automatic disconnection, use as value: -1:

Net Config Server /autodisconnect: -1


However, according to MS, it is preferable to modify the Autodisconnect entry
in the registry, since a modification via command-line (as above) may turn off
its autotuning functions (more info in Q128167: Server Service Configuration and Tuning)


RAS (See also Q153944 andQ181431 )
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters:
key: "Autodisconnect", the REG_DWORD value is defined in min, default:20.

About Johannes Helmig

Dr.Johannes Helmig is working as Director, Technical Knowledge Management in the Belgium office of Gerber Technology where he is involved in Customer Service and internal training, with special interest in Networking.

Click here for Johannes Helmig's section.

Receive all the latest articles by email!

Get all articles delivered directly to your mailbox as and when they are released on WindowsNetworking.com! Choose between receiving instant updates with the Real-Time Article Update, or a monthly summary with the Monthly Article Update. Sign up to the WindowsNetworking.com Monthly Newsletter, written by Dr. Tom Shinder, containing news, the hottest tips, Networking links of the month and much more. Subscribe today and don't miss a thing!



Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?