Getting Auto-Disconnected from NT4

by Johannes Helmig [Published on 22 Feb. 2000 / Last Updated on 22 Feb. 2000]

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):
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

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 )
key: "Autodisconnect", the REG_DWORD value is defined in min, default:20.

See Also

The Author — 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.


Featured Links