Network drives showing disconnected when they are actually connected.

Posted on 2007-08-06
Last Modified: 2010-03-05
I have a user who is on a Windows 2000 workstation, is getting network drives mapped via a batch file located on the network, and is receiving errors her network drives are disconnected when they are connected.  If I do a net use from a command prompt the drives show disconnected, the drives have a red X through them in My Network Places, but you can access the drives just fine when double clicking on them.  The only time there is an issue is when the user does a Save As and attempts to save to one of the network drives.
Question by:andersonjl2
    LVL 12

    Expert Comment

    You could try to modify this registry entry: HKLM\system\CurrentControlSet\Services\lanmanserver\parameters

    Set the value of entry 'autodisconnect' to 'ffff' (65535 minutes).

    I hope this helps.

    Author Comment

    Thank you for the response.  I just tried this and it didn't work.  The user's drives show disconnected immediately after they are mapped.
    LVL 12

    Expert Comment

    Try to disconnect any existing drive letter before mapping a new one.

    E.g. if you map H: and J: you should start the batch file with

    net use h: /d
    net use j: /d

    After these lines you can place your map statements.

    I hope this helps

    Author Comment

    I just tried this and got the same result.
    LVL 3

    Accepted Solution

    This is a known issue.  Look at this KB article for more information:

    You can also completely disable the disconnect feature by running the following command:
    net config server /autodisconnect:-1

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    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

    17 Experts available now in Live!

    Get 1:1 Help Now