Network drives showing disconnected when they are actually connected.

Posted on 2007-08-06
Medium Priority
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
  • 2
  • 2
LVL 12

Expert Comment

ID: 19638071
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

ID: 19638199
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

ID: 19638281
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

ID: 19638451
I just tried this and got the same result.

Accepted Solution

Kevin Aleshire earned 1000 total points
ID: 19639934
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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

850 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