Drive mappings get disconnected randomly when mapping with a login script

Posted on 2007-10-04
Medium Priority
Last Modified: 2012-05-05
We run a .bat file at login on our Windows domain.  We have a Windows 2003 Server domain controller, and Exchange 2003 server, and a Windows 2003 Member Server on our network.  The batch file simply maps netword drives to our client PC's.  I find that pretty much everyday, these dive mappings seem to go away.  They don't go away in the sense that they dissappear, but rather just say "disconnected".  I simply double click on then, and it will reconnect (individually).  We have a couple Windows 2000 Pro machines, and their network drives get a red X on them and sometimes double clicking on them don't bring them back to life.  I can't seem to figure out the frequency or timing on when they get disconnected.  Any ideas?
Question by:jbobst
LVL 70

Accepted Solution

KCTS earned 600 total points
ID: 20016299
LVL 58

Assisted Solution

tigermatt earned 200 total points
ID: 20016313
I believe the drives timeout after a certain period of inactivity - i.e. if you don't access files for a length of time the server disconnects the connection.

There's nothing to worry about, this is normal behaviour.
LVL 30

Assisted Solution

LauraEHunterMVP earned 200 total points
ID: 20016458
You can also configure the Server service on the file servers in question to never auto-disconnect.  On each server in question, run the following command:

net config server /autodisconnect:-1

Author Comment

ID: 20016476
Thanks for the input.  That seems to be the problem/cause!

I'll splt the points if you don't mind.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question