Disconnect shared drives permanently

hairyhound

New member
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 Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional
CPU
Dont Know
Motherboard
Dell
Memory
Enough
Graphics Card(s)
Built in
Sound Card
Built in
Monitor(s) Displays
Dell
Hard Drives
Dell
PSU
Dell
Case
Dell
Cooling
Fan
What happens if you disconnect, then remap and clear the "reconnect at logon" check box, then disconnect?
 

My Computer

Computer Manufacturer/Model Number
Dell C521
OS
W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
CPU
Athlon 64X2 5000+
Motherboard
Dell
Memory
4GB
Graphics Card(s)
ATI X1300
Sound Card
On Board
Monitor(s) Displays
Dell 19" Flat
Screen Resolution
1280x1024
Hard Drives
500GB Western Digital Caviar Green
Mouse
Microsoft Wireless Intellimouse Explorer 2.0
Internet Speed
SBC DSL - 6Mbps
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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkPad T60
OS
Windows 7 Ultimate 64Bit
CPU
GenuineIntel Intel(R) Core(TM) DuoCore T2400 @ 1.83GHz
Motherboard
Intel(R) 82801G (ICH7 Family)
Memory
2.00 GB
Graphics Card(s)
Mobile Intel(R) 945 Express Chipset
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
ThinkPad Display
Screen Resolution
1400x1050
Hard Drives
100Gb SATA
Keyboard
Standard Keyboard
Mouse
HID-compliant Mouse
Internet Speed
Cable Broadband - 54Mbps
Other Info
Intel(R) PRO/1000 PL Network Connection
11a/b/g Wireless LAN Mini PCI Express Adapter
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 Computer

Computer Manufacturer/Model Number
Dell C521
OS
W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
CPU
Athlon 64X2 5000+
Motherboard
Dell
Memory
4GB
Graphics Card(s)
ATI X1300
Sound Card
On Board
Monitor(s) Displays
Dell 19" Flat
Screen Resolution
1280x1024
Hard Drives
500GB Western Digital Caviar Green
Mouse
Microsoft Wireless Intellimouse Explorer 2.0
Internet Speed
SBC DSL - 6Mbps
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 Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional
CPU
Dont Know
Motherboard
Dell
Memory
Enough
Graphics Card(s)
Built in
Sound Card
Built in
Monitor(s) Displays
Dell
Hard Drives
Dell
PSU
Dell
Case
Dell
Cooling
Fan
3) net use /delete y: - unmaps the drive but it just reconnects at logon.

Any other ideas?
 

My Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional
CPU
Dont Know
Motherboard
Dell
Memory
Enough
Graphics Card(s)
Built in
Sound Card
Built in
Monitor(s) Displays
Dell
Hard Drives
Dell
PSU
Dell
Case
Dell
Cooling
Fan
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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkPad T60
OS
Windows 7 Ultimate 64Bit
CPU
GenuineIntel Intel(R) Core(TM) DuoCore T2400 @ 1.83GHz
Motherboard
Intel(R) 82801G (ICH7 Family)
Memory
2.00 GB
Graphics Card(s)
Mobile Intel(R) 945 Express Chipset
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
ThinkPad Display
Screen Resolution
1400x1050
Hard Drives
100Gb SATA
Keyboard
Standard Keyboard
Mouse
HID-compliant Mouse
Internet Speed
Cable Broadband - 54Mbps
Other Info
Intel(R) PRO/1000 PL Network Connection
11a/b/g Wireless LAN Mini PCI Express Adapter
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 Computer

Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional
CPU
Dont Know
Motherboard
Dell
Memory
Enough
Graphics Card(s)
Built in
Sound Card
Built in
Monitor(s) Displays
Dell
Hard Drives
Dell
PSU
Dell
Case
Dell
Cooling
Fan
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 Computer

Computer Manufacturer/Model Number
Lenovo ThinkPad T60
OS
Windows 7 Ultimate 64Bit
CPU
GenuineIntel Intel(R) Core(TM) DuoCore T2400 @ 1.83GHz
Motherboard
Intel(R) 82801G (ICH7 Family)
Memory
2.00 GB
Graphics Card(s)
Mobile Intel(R) 945 Express Chipset
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
ThinkPad Display
Screen Resolution
1400x1050
Hard Drives
100Gb SATA
Keyboard
Standard Keyboard
Mouse
HID-compliant Mouse
Internet Speed
Cable Broadband - 54Mbps
Other Info
Intel(R) PRO/1000 PL Network Connection
11a/b/g Wireless LAN Mini PCI Express Adapter
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 Computer

OS
Windows 7 Ultimate x64
Back
Top