Cannot unmap a network drive.


  1. Posts : 3
    Windows 7
       #1

    Cannot unmap a network drive.


    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


  2. Posts : 1,506
    W7 Ult. x64 | OS X
       #2

    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


  3. Posts : 3
    Windows 7
    Thread Starter
       #3

    I tried those before. I tried them again. They don't work. Thanks.
      My Computer


  4. Posts : 8,870
    Windows 7 Ult, Windows 8.1 Pro,
       #4

    sadelsbe said:
    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


  5. Posts : 3
    Windows 7
    Thread Starter
       #5

    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


  6. Posts : 1
    Windows 7 Ultimate 32bit
       #6

    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


 

  Related Discussions
Our Sites
Site Links
About 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 08:45.
Find Us