Drive not mapping, already in use

I have a login script to map network drives for users. One user, who happens to be at a remote site with a site-site vpn, is having issues with the script. One of the drives is not mapping successfully. The other drives map correctly without issue. If I try to manually map the drive with command prompt Net Use command,  I get System Error 85, already in use. There are no drives physical or otherwise that I can see using the letter F. If I try to navigate to the path and right click and map, F is not presented in the drop down. It is really important that this mapped connection use the letter F

I tried command Net Use * /delete, which deleted all of the connections but did not specifically state F. Still unable to map to that letter manually.
jlargerAsked:
Who is Participating?
 
yo_beeConnect With a Mentor Director of Information TechnologyCommented:
if you goto computer management > disk manager> select HDD and select change drive letter to see if F is even available.  
0
 
johnb6767Commented:
reg delete "hkcu\network\f" /f

Or

reg delete "hkcu\network" /f

Then reboot and let the Logon Script remap them.....
0
 
johnb6767Commented:
Oh, and that's in a CMD prompt....
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
mmarisCommented:
Either the local drive letter is used by a USB mass storage device or else it is remembered from a previous session. Run the following commands just once to fix the problem:
 net use * /del /yes
 net use /persistent:no

Also try:

http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/system-error-85-has-occurred-the-local-device-name/d8bfc6c1-2476-4055-920d-89813fd6494d

 
0
 
jlargerAuthor Commented:
johnb6767: 1st command returned with error that file did not exist. 2nd command complete succesfully. On reboot, did not successfully map the drive. Manually tried to map with same System Error 85.

mmaris: I agree something is holding F as a reservation for whatever reason. Ran both commands successfully. Did not fix issue. Link more or less rehashes what we have tried here, so no go there.

Other suggestions?
0
 
johnb6767Connect With a Mentor Commented:
Odd.....

Wondering if maybe theres a ghost somewhere, maybe under MountedDevices/MountPoints2 in the registry??

Awaiting last question though....
0
 
jlargerAuthor Commented:
Now I just feel silly. Could have sworn I had already checked this, actually I'm sure I did I just must have missed it. In opening Computer Management > Disk Manager I found F was assigned to an empty removable device (facepalm). Reassigned that drive letter and now all is well.

Is there any way to prevent Windows from assigning the F letter to devices in the future?
0
 
Run5kConnect With a Mentor Commented:
Jlarger, in the past I have had a few co-workers with similar requests regarding their home networks and they told me that a freeware utility called USB Drive Letter Manager worked well for them:

http://www.uwe-sieber.de/usbdlm_e.html

That being said, I prefer to keep my Windows builds rather lean to optimize both their stability and security, so if I can find a simple alternative to installing another application I normally take that route.  On our domains, we manage to avoid the type of scenario you encountered by ensuring that our log on script doesn't map any network drives within the first half of the alphabet.  Our earliest network drive is "M:" and that always seems to prevent any type of external device conflicts.
0
 
LeeTutorretiredCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.