473,395 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Mapped Drive Disconnects

I have a mapped drive of a Windows Server 2k system that keeps disconnecting after a while. I have already checked/tried the following:

registry edits of holdon, keepAlive, keepAliveInterval, autodisconnect, etc....none made a difference.

Deleted map and turned persistent off, bounced, and then remapped. No resolve.

Used Ethereal to capture packets, but I did not come up with anything obvious.

Note that the system that is the file server is also the Domain Controller.

When the map is disconnected, there are a few things that happen.
1) net use shows it is disconnected, but windows does not show an X on it, so it looks connected.
2) When I try to access the share, the system hangs
3) I eventually get:
"An error occurred while reconnecting L: to \\[server ip]\share
Microsoft Windows Network: The local device name is already in use.
This connect has not been restored."

This was an error mentioned on microsoft's knowledge base as a conflict from McAfee, but it has to do with a different engine version than I am running, so it should not be a problem.

4) If I do delete the map and try to add it again without rebooting, I get a message the the name I am attempting to use is the name I used to log on with...so it fails.

5) Help!
Aug 8 '07 #1
5 17774
sicarie
4,677 Expert Mod 4TB
I Googled your error message and found:

http://www.smartcomputing.com/techsu...&ErrorID=22012 and
http://www.pctoday.com/techsupport/d...&ErrorID=23380
Aug 8 '07 #2
I Googled your error message and found:

http://www.smartcomputing.com/techsu...&ErrorID=22012 and
http://www.pctoday.com/techsupport/d...&ErrorID=23380
The problem is that it is not just failed to restore connection, it is saying it is already in use.
When I receive the error trying to re-establish the connection to [ip]\share, and I just try to access \\[ip] ....then I am prompted to connect via entering credentials. When I enter my username and password, I receive the following:
"Logon unsuccessful:
The user name you typed is the same
as the user name you logged in with.
that user name has already been
tried. A domain controller cannot be
found to verify that user name."

My internet connect, and everything still works...and I can ping the ip that the share is to.
Remember, the DC is also the file server.
Aug 8 '07 #3
The problem is that it is not just failed to restore connection, it is saying it is already in use.
When I receive the error trying to re-establish the connection to [ip]\share, and I just try to access \\[ip] ....then I am prompted to connect via entering credentials. When I enter my username and password, I receive the following:
"Logon unsuccessful:
The user name you typed is the same
as the user name you logged in with.
that user name has already been
tried. A domain controller cannot be
found to verify that user name."

My internet connect, and everything still works...and I can ping the ip that the share is to.
Remember, the DC is also the file server.
Thanks dude...the problem was DNS.
Aug 8 '07 #4
I was wrong...it was not DNS....don't think DNS would do that since I am mapping to an IP.
I have tried many things...even disabled McAfee Antivirus. wins is not used...
Aug 9 '07 #5
I found the information in http://support.microsoft.com/kb/297684 very helpful. Apply KeepCon, AutoDisconnect values to registry and run net config... to the server.

I have a mapped drive of a Windows Server 2k system that keeps disconnecting after a while. I have already checked/tried the following:

registry edits of holdon, keepAlive, keepAliveInterval, autodisconnect, etc....none made a difference.

Deleted map and turned persistent off, bounced, and then remapped. No resolve.

Used Ethereal to capture packets, but I did not come up with anything obvious.

Note that the system that is the file server is also the Domain Controller.

When the map is disconnected, there are a few things that happen.
1) net use shows it is disconnected, but windows does not show an X on it, so it looks connected.
2) When I try to access the share, the system hangs
3) I eventually get:
"An error occurred while reconnecting L: to \\[server ip]\share
Microsoft Windows Network: The local device name is already in use.
This connect has not been restored."

This was an error mentioned on microsoft's knowledge base as a conflict from McAfee, but it has to do with a different engine version than I am running, so it should not be a problem.

4) If I do delete the map and try to add it again without rebooting, I get a message the the name I am attempting to use is the name I used to log on with...so it fails.

5) Help!
Aug 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for...
5
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
3
by: Bonj | last post by:
I have a service which is a Windows Service, but it is running under a User account - I enter my own credentials on installing. It can access network files by specifying the full UNC path, i.e....
5
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a...
5
by: Marc | last post by:
I am trying to run a web service that has pre-compiled dll's that reference dll's that are on a mapped drive. The web service can not load because it does not see that mapped drive and returns an...
0
by: Manu | last post by:
Hi, To enumerate the Mapped drive in Windows 2000 box, I am using the "Win32_NetworkConnection". I can see the instance of the Mapped drive in local system, when I try to do the same with...
1
by: Jack | last post by:
Hi, My OS is Windows XP. I mapped a drive on another machine running Windows 2000. I set the permission of the mapped drive on the Windows 2000 machine to be "accessible to everyone". On the...
5
by: mcfly1204 | last post by:
I have one user that has one mapped drive disappear periodically. The drives are connected by a batch file that runs when they login. Users have two drives that map, each going to a different...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to accesss a Mapped Drive from my asp.net code running on IIS 6.0. I am using a FileUpload control and fileUpload.SaveAs() to save the file to the server. I want to save the file to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.