Drive mappings get disconnected randomly when mapping with a login script

Posted on 2007-10-04
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

    LVL 58

    Assisted Solution

    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

    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
    LVL 1

    Author Comment

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

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

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    [b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
    If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now