Cannot unmap a network drive.

sadelsbe

New member
I mapped a network drive and checked reconnect at logon. The name is: myUserId (\\serverName\Home).

I have tried these things from an xp forum:

> Open a command prompt window (Start | Run | cmd) and enter this
> command, substituting the actual drive letter for "D":
>
> net use D: /delete


and...

First, you need have a "Shared Folder" on your hard drive. If you haven't got one already, create a new folder on your hard drive called "Shared", then right-click it and select properties. Click the Sharing tab and tick the "Share this folder" box. Next, click "My Computer" and in the Tools Menu, click "Map Network Drive". Notice the little down-arrow next to the drive letter shown. Click the arrow to get a list of letters. Select the one you want to delete, then browse for your Shared folder and select it. By this means, you will assign the drive letter to a real folder. Make sure the "reconnect at login" box is un-ticked. Click the Finish button to get a warning. Answer YES and the Shared folder will open. Close it. Next, right-click the drive in My Computer and select disconnect. Ah, I hear you say, but it is still there! Re-boot and have another look - enjoy!
They did not work.

and...

First and foremost, back up your registry!! Then open regedit and search for Mountpoint key in the \HKEY)CURRENT_USER\Software\Microsoft\windows\CurrentVersion\Explorer folder find the share you need removed and delete it.


None of these work for Windows 7. Every time I logon the mapping is back again.

The problem it causes is when I try to connect to a Citrix application a Windows folder is created on the mapped drive and stuff is put there. Then the Citrix app fails.
 

My Computer

OS
Windows 7
Try these two:

net use s: \\Server\share /delete

or

net use s: /d

net use s: \\server\share

If the drive reconnects on login, add this to script: /persistent:no
 

My Computer

Computer Manufacturer/Model Number
Apple Macbook Pro (April 2009)
OS
W7 Ult. x64 | OS X
CPU
Intel Mobile Core 2 Duo 2.93Ghz [T9800 Penryn]
Motherboard
NVIDIA nForce 730i Rev. B1 [Mac-F2268EC8 (U2E1)]
Memory
4096MB Samsung DDR3 Dual Channel [PC3-8500F 1066Mhz]
Graphics Card(s)
NVIDIA GeForce 9600M GT 512MB [G96M Rev. C1]
Sound Card
SB X-Fi Surround 5.1 USB | Onboard Realtek (Disabled)
Monitor(s) Displays
Acer x223wbd 22" | Apple Anti-Glare 17" (Disabled)
Screen Resolution
{Current} 1440x900 {Acer} 1680x1050 {Apple} 1920x1200
Hard Drives
{Internal}
Seagate Momentus 320GB 2.5" 7200RPM [ST9320421AS]

{Externals}
LaCie 320GB USB 2.0 HDD [301284UR]
LaCie 750GB USB 2.0 FW400 eSATA HDD [301314U]
LaCie 1TB USB 2.0 HDD [301304UR]
PSU
Magsafe
Case
Aluminum/Unibody (MBP52)
Cooling
2 x 6000 RPM Fans
Keyboard
Logitech G-15v2 [PN 920-000379]
Mouse
Logitech G-9 [PN 910-000338]
Internet Speed
12Mbps/2.5Mbps w/ 24Mbps Speed Boost [Comcast]
Other Info
Logitech X-540 Speakers [PN 970223-0122]
Sennheiser PC-151 Headset
I mapped a network drive and checked reconnect at logon. The name is: myUserId (\\serverName\Home).

I have tried these things from an xp forum:

> Open a command prompt window (Start | Run | cmd) and enter this
> command, substituting the actual drive letter for "D":
>
> net use D: /delete


and...

First, you need have a "Shared Folder" on your hard drive. If you haven't got one already, create a new folder on your hard drive called "Shared", then right-click it and select properties. Click the Sharing tab and tick the "Share this folder" box. Next, click "My Computer" and in the Tools Menu, click "Map Network Drive". Notice the little down-arrow next to the drive letter shown. Click the arrow to get a list of letters. Select the one you want to delete, then browse for your Shared folder and select it. By this means, you will assign the drive letter to a real folder. Make sure the "reconnect at login" box is un-ticked. Click the Finish button to get a warning. Answer YES and the Shared folder will open. Close it. Next, right-click the drive in My Computer and select disconnect. Ah, I hear you say, but it is still there! Re-boot and have another look - enjoy!
They did not work.

and...

First and foremost, back up your registry!! Then open regedit and search for Mountpoint key in the \HKEY)CURRENT_USER\Software\Microsoft\windows\CurrentVersion\Explorer folder find the share you need removed and delete it.


None of these work for Windows 7. Every time I logon the mapping is back again.

The problem it causes is when I try to connect to a Citrix application a Windows folder is created on the mapped drive and stuff is put there. Then the Citrix app fails.

You are much better off using the built in GUI interface to set up sharing options. There are far too many good reasons for using the GUI for me to elaborate on but it's the best and easiest way to set up sharing without a doubt.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
chev65:

You said:

You are much better off using the built in GUI interface to set up sharing options. There are far too many good reasons for using the GUI for me to elaborate on but it's the best and easiest way to set up sharing without a doubt.

However, I used the built in GUI at the start. That didn't work. That is when I tried all the other methods.

Thanks,
Steve
 

My Computer

OS
Windows 7
You should first go offline and hence disconnect the drives. Then refresh my computer and then right click the network drive and say disconnect.
 

My Computer

OS
Windows 7 Ultimate 32bit
Back
Top