Welcome to Sign in | Join | Help
in
Home Blog Forums

The Lazy Admin

Quick Tip: Preventing Disconnected Network Drives

Sponsor


One very common issue is mapped drives to network shares automatically disconnecting after a set period of time. The drive will reconnect when you click on it in My Computer, but some applications will error out when it tries to access the disconnected network drive.

This is an easy problem to resolve and we can do it at the command line or in the registry. The command to run is:

net config server /autodisconnect:-1

This disables the autodisconnect "feature" and should be set on the server holding the share. The preferred method is to edit the registry. Open up regedit and browse to:

HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters

Set the REG_DWORD value "autodisconnect" to HEX 0xffffffff. This will disable this feature. You could also specify a length of time before it disconnects. The dword value can be set anywhere from 1 to 65535 minutes.





Published Tuesday, December 27, 2005 6:21 AM by rodney.buike

Comments

No Comments
Anonymous comments are disabled

This Blog

Powered By

 

Syndication

Sponsors

 
 
Get a free 5GB e-mail account @isalazyadmin.com

Certifications & Awards




All postings are provided "AS IS" with no warranties, and confer no rights.
Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.