Command Line
NOTE: If you use this method, you may turn off the autotuning feature for the Server service.
To change the default time-out period for the autodisconnect feature of the Server service, open a command prompt, type the following line, and then press ENTER
net config server /autodisconnect:number
where number is the number of minutes that you want the server to wait before it disconnects a mapped network drive. The maximum value for this command is 65,535.
NOTE: If you set the autodisconnect value to 0 (zero), the autodisconnect feature is not turned off, and the Server service disconnects mapped network drives after only a few seconds of idle time.
To turn off the autodisconnect feature, open a command prompt, type the following line, and then press ENTER:
net config server /autodisconnect:-1
.
MORE INFORMATION
Some earlier programs may not save files or access data when the drive is disconnected. However, these programs function normally before the drive is disconnected.
For additional information view the articles in the Microsoft Knowledge Base:
138365 How Autodisconnect Works in Windows NT and Windows 2000
128167 Server Service Configuration and Tuning
pant pant