RyanTAdams.com

Technology Advice by Ryan Taylor Adams

Keep Share Connections (Mapped Network Drives) Alive

December 13th, 2007 · 1 Comment · Printer Friendly Version

WARNING! THIS POST IS MORE THAN 180 DAYS OLD!

While I make an effort to update older posts to keep them relevant and technically accurate, the rapidly changing nature of the tech world makes it possible that the content of this post may no longer be relevant, current, or even accurate. Additionally, because of this post's age, adding new comments has been disabled. If you would like to contribute new information to this post, or have questions pertaining to this post, please use the Contact Form.


If you have a mapped network drive (or a shortcut to a network folder), you may notice it takes a long time to access the network folder if you haven’t used it recently. This is because the default behaviour is to disconnect from all mapped drives after fifteen minutes of activity. If this is undesirable, you can change the time before a disconnection by doing the following:
Click Start and then click Run. Type cmd and click OK.At the command prompt, type:

net config server /autodisconnect:-1

and press Enter. Your computer will now constantly stay connected to all network drives.

To just extend the timeout, put a number in minutes instead (the -1 is special and means infinity). For example, typing

net config server /autodisconnect:30

would extend the timeout to thirty minutes.

1 response so far ↓

  • 1 Jerrod // Dec 25, 2009 at 6:39 PM


    Cool thanks, hopefully this will solve a problem I am having with SyncToy not backing up by scheduled task, says
    *** Failed to execute folder pair [folder name]. Could not locate folder Z:[network folder].