- RyanTAdams.com - //blog.ryantadams.com -

Keep Share Connections (Mapped Network Drives) Alive

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.