Stop Automatic Disconnection of Network Drive

Stop Automatic Disconnection of Network Drive

Your mapped drives to a network share may be disconnected after a regular interval of inactivity, and Windows Explorer may display a red “X” on the icon of the mapped drive. Accessing a program that depends on this mapped drive may fail. However, if you try to access or browse the mapped drive, it reconnects quickly.

It is simple to fix.

I set this on all my servers. Keeps their drives from timing out.

There are a couple ways. The first way is by far the easiest since it just involves you remoting to the afflicted user:

  1. opening a CMD (admin) prompt.
  2. net config server /autodisconnect:-1
  3. Press return and that’s it.

The other way is with the Registry Editor.

  1. Click Start, click Run, type regedit (Windows 2000 or Windows Server 2003) or type regedt32 (Windows NT 4.0), and then click OK.
  2. Locate and then click the following key in the registry:
  3. In the right pane, click the autodisconnect value, and then on the Edit menu, click Modify. If the autodisconnect value does not exist, follow these steps:
    1. On the Edit menu, point to New, and then click REG_DWORD.
    2. Type autodisconnect, and then press ENTER.
  4. On the Edit menu, click Modify.
  5. Click Hexadecimal.
  6. In the Value data box, type ffffffff, and then click OK.

Leave a Reply

Your email address will not be published. Required fields are marked *