Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Disconnect shared drives permanently

30 Dec 2009   #1

Windows 7 Professional
 
 
Disconnect shared drives permanently

I am home user running Windows 7 professional and have mapped a network drive (Y that points to a folder on a LaCie NAS on my LAN. When the mapping was setup, the "Reconnect at Logon" option was selected.

Now I want to permanently disconnect that mapping. I have tried:

1) Disconnecting in Windows Explorer
2) NET USE /PERSISTENT:NO
3) NET USE Y: /D

The drive disconnects no problem, but when I login again, the mapping is back. How do I get rid of this mapping PERMANENTLY?

Thanks.

My System SpecsSystem Spec
.

30 Dec 2009   #2

W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
 
 

What happens if you disconnect, then remap and clear the "reconnect at logon" check box, then disconnect?
My System SpecsSystem Spec
30 Dec 2009   #3
aem

Windows 7 Ultimate 64Bit
 
 

Do a "net use" command and see what is there.

then "net use /delete <drive letter>"

Eg if your y drive is set to a \\name\share

net use /delete y:
My System SpecsSystem Spec
.


30 Dec 2009   #4

W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
 
 

Quote   Quote: Originally Posted by aem View Post
Do a "net use" command and see what is there.

then "net use /delete <drive letter>"

Eg if your y drive is set to a \\name\share

net use /delete y:
I should write that one down. Good info!
My System SpecsSystem Spec
31 Dec 2009   #5

Windows 7 Professional
 
 

1) Disconnect, remap, clear reconnect at logon - it still reconnects the mapped drive

2) net use /delete y: - will try it and see - let you know.
My System SpecsSystem Spec
31 Dec 2009   #6

Windows 7 Professional
 
 

3) net use /delete y: - unmaps the drive but it just reconnects at logon.

Any other ideas?
My System SpecsSystem Spec
31 Dec 2009   #7
aem

Windows 7 Ultimate 64Bit
 
 

So when you restart machine, it shows up under net use still?

In Windows Explore, Tools, click Disconnet network drives. Is there anything for you to disconnect?

Last resort, is the registry.

HKEY_CURRENT_USER\Software\Microsoft\windows\CurrentVersion\Explorer\Map Network Drive MRU.

Delete what you need in there.
My System SpecsSystem Spec
01 Jan 2010   #8

Windows 7 Professional
 
 

I tried all these - absolutely no joy. It still reconnected. Don't like messing with registry - not enough of an expert.

I deleted the share on the NAS (it was only a backup) and that prevented the re-connecting of the mapped drive. Still do not know what caused this to happen and deleting the share is a bit of a sledgehammer to crack a nut, but it worked.

Strange thing is that I have another share on the same NAS and I can disconnect/reconnect that at will without it automatically reconnecting at logon.

Bizarre! Hey ho! Thanks for the help - Happy New Year!
My System SpecsSystem Spec
01 Jan 2010   #9
aem

Windows 7 Ultimate 64Bit
 
 

You don't need to be an expert to go here and right-click delete item in the registry.

HKEY_CURRENT_USER\Software\Microsoft\windows\CurrentVersion\Explorer\Map Network Drive MRU.

To get bring up the Registry, Start > type regedit (in search field) and enter.
My System SpecsSystem Spec
11 Nov 2011   #10

Windows 7 Ultimate x64
 
 

Ok, I realize this is an old thread, but there was no "resolution" to the problem in the thread.

I was having this same problem my self, and the run "net use" command in this thread gave me the answer in my case...



Status Local Remote Network

-------------------------------------------------------------------------------
Unavailable M: \\192.168.0.253\home NFS Network
Unavailable Z: \\192.168.0.253\user Microsoft Windows Network
The command completed successfully.



I was trying to disconnect M: but no matter how many times I did it in Windows Explorer, it would be back after reboot. Also "net use /delete M:" did not do the trick.

But what I realized after running "net use" and getting the above list, was that the mount was of type NFS, which lead me to the soloution which was to run the nfs umount command.

I ran "umount M:" and the mount is bothering me no more!
My System SpecsSystem Spec
Reply

 Disconnect shared drives permanently





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:41 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33