Home Download | Exchange Server | Feedback | Index | ISA-Server | Jokes | Terms of Service/Usage Policy | Windows Security | What's New | White Papers
 
 Networking Topics
Windows XP Prof
Windows XP Home
Windows 2000 Server
Windows 2000 Prof
Windows NT4 Server
Windows NT4 Work.
Windows ME
Windows 98
Windows 95
Windows 3.x
MS-DOS

Step-By-Step
Network Basics
Trouble Shooting

Exchange Server
e-Mail Security
e-Mail Spam
ISA-Server
Server Software
Windows Security
 
 Featured Product
 
 Network Addons
Direct Cable
-
Serial / Parallel
-
Infrared
-
USB
-
High Speed Cables
-
WLAN - Wireless
-
Jokes ( computer )
-
Download Site

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 and Q181431 )
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters:
key: "Autodisconnect", the REG_DWORD value is defined in min, default:20.

WindowsNetworking.com is in no way affiliated with Microsoft Corp.
Copyright © 2014, TechGenix Ltd. All rights reserved. Please read our Privacy Policy and Terms & Conditions.