Disconnecting network drives
We have a couple of Windows 7 machines running 64bit Pro. The problem we have is connecting to NAS drives. We map the drive to the share using UNC (\\Diskname\sharename) and select the do not reconnect at login option. If you try and disconnect the drive by either right clicking or using the tools menu the drive disappears for a few seconds and then reappears. Next time you logon the drive may or may not reconnect. Sometimes you get the drive reconnected the next login the drive becomes un-connected with a red cross by it. The drive connecting or not seems to be a random event. We have tried Net use Z: /delete, turning the Firewall and virus software off turning the network adapter so that it is on permanently but nothing we have tried sofar allows us to disconnect the drive.
June 28th, 2011 5:40pm

Hi, First, please delete the saved credential that is used by accessing NAS drives manually. Then please refer to the following link to clear Mapped Drives entries. http://support.microsoft.com/kb/168148 Also, you may check the following article. http://technet.microsoft.com/en-us/library/cc962671.aspx Please check the value in the registry. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2011 11:40am

Thanks for the information. I have tried KB168148 as you suggested and it makes no difference to the drive. It appears that after deleting the key all that happens is that the drive appears disconnected and as such you can't disconnect it. Sometimes when you re-boot the Z: drive comes us as disconnected and Windows 7 maps the Y: drive to the NAS. We have never used a Y: drive mapping for this NAS resource it appears as if Windows in mapping the drive to the next available drive letter. One intresting thing is if you turn off the NAS and click disconnet the drive it appears as if Windows has disconnected it. Then when you re-boot the drive re-appears saying that it is diconnected. We have even tried remapping the Z: drive to another drive and this works until you reboot and then it retruns to the old mapping When we connect the drive initially we un-clicked the reconnect at logon option because we have had this problem before. Thanks for your help Mark
June 30th, 2011 7:51pm

Hi, Could you please clarify the issue? If the drives is already disconnected, they will not appear in explorer. Please re-check it. Also, you may boot the computer in Safe Mode with networking to determine whether the 3rd party software cause this. Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2011 6:50am

Hi When Windows 7 boots it reports unable to connect all network drives. The drive appears in explorer as a 'Disconnected Network Drive' with a red cross by the side. If you double click the drive you can see a list of all the folders on the drive each folder has a padlock symbol by it. The network drive is available because if you access it through an UNC or the Network option in explorer you can get to the files. As the computer boots the system report that it can't connect to the network drive while the network icon still has the working blue circle active. None of this would matter if I could remap the drive bt I can't. If I try and disconnect the drive it tells me I can't disconnect a disconneted drive. If I try and remap the drive the letter is not available to remap to. Another thing that keeps happening is that Windows remaps the network drive to another letter perfectly. In other words it reports it can't map the Z: drive to the network drive and then maps the Y: drive to the same network share. We have never mapped the Y: drive to this network share on this computer. It would appear that Windows using the next available drive letter to map the drive. Which seem a bit strange? Hope this give a better understanding of the problems Many thanks for your help
July 1st, 2011 10:44am

Hi, OK, I understand what you encountered. Can you use net use command in Safe Mode with Networking to delete the mapped drive? Please try it. Based on my experience, this may be caused by 3rd party software. Please try to re-map the drive and boot in Safe Mode to check this kind of issue. Also, you may try to lower NTLM level and disable SMBv2 for a test.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2011 11:07am

I know this sounds elementary, but I will use my own computer as a demonstration (and did). C:\Users\Brad>net use M: \\MYCOMPUTER\Music /PERSISTENT:YES The command completed successfully. C:\Users\Brad>net use M: /delete The network connection could not be found. C:\Users\Brad>net use * /delete You have these remote connections: \\MYCOMPUTER\Music Continuing will cancel the connections. Do you want to continue this operation? (Y/N) [N]: Y The command completed successfully. C:\Users\Brad>net use New connections will be remembered. There are no entries in the list. C:\Users\Brad>net view Server Name Remark -------------------------------------------------- \\MYCOMPUTER The command completed successfully. C:\Users\Brad>net use /PERSISTENT:NO The command completed successfully. C:\Users\Brad>net use New connections will not be remembered. There are no entries in the list. Pay attention to the verbage here; I will highlight the important part: /PERSISTENT Controls the use of persistent network connections. The default is the setting used last. YES Saves connections as they are made, and restores them at next logon. NO Does not save the connection being made or subsequent connections; existing connections will be restored at next logon. Use the /DELETE switch to remove persistent connections. So, my "suggested" solution to this problem is to do like I did above. Unless you have other mapped drives, etc... under "NET USE"... or if that is the only network drive you have mapped, try the command I did, the "NET USE * /DELETE", which will delete by shared resource, not by drive letter. Note... no worries, this will not actually DELETE or remove the SHARE. That will remain intact, this simply removes the mapping. Then, I think it is essential that you follow it up with a "NET USE /PERSISTENT:NO" to cut persistence off -- since as it says, any drives mapped as persistent in the PAST, will remap themselves upon reboot. You must remove mapping persistence manually. Also, don't take for granted the fantastic help in the command itself to explore. C:>NET HELP Commands available are: NET ACCOUNTS NET HELPMSG NET STATISTICS NET COMPUTER NET LOCALGROUP NET STOP NET CONFIG NET PAUSE NET TIME NET CONTINUE NET SESSION NET USE NET FILE NET SHARE NET USER NET GROUP NET START NET VIEW NET HELP NET HELP NAMES explains different types of names in NET HELP syntax lines. NET HELP SERVICES lists some of the services you can start. NET HELP SYNTAX explains how to read NET HELP syntax lines. NET HELP command | MORE displays Help one screen at a time. Then further, with the "NET HELP VIEW" or whatever to get further help on that specific sub command. This command is a powerful one that allows you to do a lot of things. Another that you can really mess things up with if you're not well educated on what you're doing is the NETSH command. Also make sure there are no open files at the time -- "NET FILE" will display any current/existing open file handles (or simply use the computer management GUI interface). "NET FILE <id> /CLOSE" will close any open files You may also want to look into restarting the Computer Browser service, and the SERVER/WORKSTATION ones. I also recommend as Juke did, that if my suggestions fail, attempt this in SAFE MODE WITH NETWORKING. We will solve this. Please report back the results of my suggested solution. Thanks!
July 1st, 2011 11:59am

Hi Sorry for the delay in getting back. You were correct if I boot in Safe Mode I can disconnect the drive and on rebooting it remains disconnected. As soon as I boot in Normal mode the drive reappears and is again impossilbe to remove. I still can't track down were the problem lies it may be in 3rd party software but we have 3 computers that have the same problem and they don't have the same software running on them I con't find a common bit of software that may be causing the problem! Any thoughts, on what might cause such a problem. As far as I know the NAS drive (DROBO) we use dosen't use any software on the users machines and this is the only common thing about the computers apart from the fact the all run Windows 7 Pro 64bit and have MS Office 2010 running on them. Many thanks
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2011 12:09pm

Hi Thanks for the information I have tried your suggestions and the dirve still re-connects. It appears that something remembers the mapping and reinstates it after a few seconds. Thanks
July 6th, 2011 12:11pm

Hi, According to your description, I assume that this is caused by 3rd party software. Please follow the following steps in the link below. http://support.microsoft.com/kb/331796 Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2011 12:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics