Preventing Disconnected Network Drives

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
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.

http://thelazyadmin.com/index.php?/...p-Preventing-Disconnected-Network-Drives.html
 
Status
Not open for further replies.
Back
Top Bottom