Windows 10: How to remove Map Network Drive and Disconnect Network Drive options from This PC

Discus and support How to remove Map Network Drive and Disconnect Network Drive options from This PC in Windows 10 News to solve the problem; [ATTACH]This article is for you if you want to remove ‘Map network drive’ and […] This article How to remove Map Network Drive and Disconnect Network... Discussion in 'Windows 10 News' started by WinClub, Oct 18, 2020.

  1. WinClub New Member

    How to remove Map Network Drive and Disconnect Network Drive options from This PC

    WinClub, Oct 18, 2020
    #1
  2. DMyr Win User

    removing a mapped network drive

    How do you remove unused mapped network drives from being displayed under Network Locations in File Explorer? There is a function to disconnect them but not to remove them so have several drives listed that I no longer even have.

    Not sure if this belongs under storage or network but storage seems more appropriate as it is not a traditional network problem or question.

    Thank you
     
  3. Impossible to remove a persistent network drive mapping when logged on disconnected

    Initial situation (tested with Windows 10, 8.1, 7 and XP):
    • Create a persistent (!) network drive mapping (a.k.a. "Reconnect at logon") using the integrated/official "Map Network Drive" dialog .
    • Now physically disconnect from the network folder (unplug the cable or shut down the target system)
    • Log off and on again. A balloon message will tell "Could not reconnect all network drives", but the drive will still be visible in the Explorer (with a red cross). The balloon message is the best indication that you've reproduced the steps correctly.

    At this point I'd like to remove that network drive using my software.

    There are multiple ways to do this.

    - Probably the easiest way to reproduce it is by command line: net use X: /delete

    - API: WNetCancelConnection2 or WNetDisconnectDialog1

    - Disconnect dialog: Explorer main menu > Tools > Disconnect network drive (7/XP) or the submenu "Disconnect network drive" (10/8.1) while no drive is selected when the click is performed

    and a couple of others.

    All of them result in the problem that the drive letter icon remains in the Explorer although the network drive has been disconnected.

    Some details that indicate that this is a bug and not feature:

    - Although the drive letter icon is shown in the Explorer it's not visible in any other software and not accessible through Windows API

    - The drive letter can be used for a new network drive connection. If done so, the new path is mapped to it, but the old name/path remains in the Explorer.

    - The drive letter can be used to be assigned to a local drive in the Disk Management dialog. For example after changing the drive letter of a DVD drive to the disconnected network drive letter the drive is still shown as a network drive in the Explorer
    but leads to the content of the DVD drive.

    To solve this problem at this point the user has either to log off and on again or kill explorer.exe and run it again. This shows that it's some kind of orphaned drive in some internal Explorer cache or object list that is not removed correctly.

    There is one way to remove the drive correctly in the first place:

    Right-click on the drive and choose "Disconnect". This works flawlessly! The network drive is disconnected and immediately removed. Notice: this only works if done in the first place. If the drive has already been disconnected using one of the other methods,
    this option will only show "This network connection does not exist."

    I've discussed this problem with many experts already and there doesn't seem to be a workaround for this. At the moment if you want to programmatically disconnect a persistent network drive that wasn't available during logon you'll end up with an orphaned
    drive.

    This applies to all Windows versions from XP to 10, x64 and x86. (older versions not tested)

    Is there any chance this could be solved by patching Windows?
     
    [JackJack], Oct 18, 2020
    #3
  4. How to remove Map Network Drive and Disconnect Network Drive options from This PC

    Unable to disconnect from mapped network drive

    I receive the following error when I try to disconnect from a self mapped network drive: "network connection does not exist"

    The network drive icon appears with a bid red x and says it is disconnected, yet I can double click on it to enter the mapped folder. Doing this does not reconnect the folder, and remains disconnected. This causes problems because programs that pointed
    to this path are unable to read the files. I am unable to remap this drive because the associated drive letter (EHow to remove Map Network Drive and Disconnect Network Drive options from This PC :) and mapping no longer shows up in the list.

    I've tried all the typical suggestions including:

    --I tried to do it via the command prompt with the net use delete command, but it can't be found in there.

    --Tried to above with the actual network path instead of the drive letter, did not work

    --Tried to delete the registry entries from:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

    HKEY_USERS\. Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Mountpoint2\

    None of these solutions worked. Though deleting the registry entries momentarily hid the disconnected drive, the drive letter was still not available for mapping. I tried to force the drive letter (EHow to remove Map Network Drive and Disconnect Network Drive options from This PC :) to map to my optical drive, which worryingly, pointed
    back to the mapped network location on the NAS instead of to the optical drive.

    How do I get rid of this? Reformatting the computer is not an option.
     
    RMI_Howard, Oct 18, 2020
    #4
Thema:

How to remove Map Network Drive and Disconnect Network Drive options from This PC

Loading...
  1. How to remove Map Network Drive and Disconnect Network Drive options from This PC - Similar Threads - remove Map Network

  2. Map network drive

    in Windows 10 Software and Apps
    Map network drive: I have been trying to mount one of my home directory on my computer. For that , I have to use Map network drive but I could not find in my file explorer. Now, what should I do to get that option back on my computer?...
  3. Network drive mappings

    in Windows 10 Gaming
    Network drive mappings: I have a vintage NAS: Blackarmor 220. I have to use drive mappings to access files on the drive because Microsoft decided I couldn't use what used to work. Periodically, a new version of Windows 11 is installed and all of my drive mappings to my NAS stop working. Often, I can...
  4. Mapping Network Drives

    in Windows 10 Gaming
    Mapping Network Drives: Both my PC and my Wife's laptop are running Win 11 with no problems.I managed to map the laptop C drive to my PC but when I tried the other way around I accidentally mapped my public drive to her laptop.I have unmapped it; however, when I try to map my C drive to her laptop,...
  5. Mapped Network Drive keep getting disconnect

    in Windows 10 Network and Sharing
    Mapped Network Drive keep getting disconnect: i bought a new MS Surface 3 and do all the update. Map my network drive and start using it. When I restart my laptop next day I can no longer access the network work drive from file explorer. It keep prompting me drive is not accessible or it is in use?I am able to access the...
  6. Mapped Network Drive Disconnects and Will Not Reconnect

    in Windows 10 Network and Sharing
    Mapped Network Drive Disconnects and Will Not Reconnect: OS:Windows 10 V20H2 PC: Dell XPS8940 Router: Netgear R7000 w/ TomatoUSB Nine of ten mapped network drives on my desktop PC behave normally! The tenth is a problem. It is mapped to the USB drive connected to my router.Sometimes (days) I cannot connect to this mapped drive and...
  7. removing a mapped network drive

    in Windows 10 Network and Sharing
    removing a mapped network drive: How do you remove unused mapped network drives from being displayed under Network Locations in File Explorer? There is a function to disconnect them but not to remove them so have several drives listed that I no longer even have. Not sure if this belongs under storage or...
  8. Map Network Drive

    in Windows 10 Network and Sharing
    Map Network Drive: What to do with the following error: "The mapped network drive could not be created because the following error has occured: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network...
  9. Remove obsolete mapped network drive

    in Windows 10 Network and Sharing
    Remove obsolete mapped network drive: W10 Pro 1803 A new network modem has introduced a new IP range to my LAN so that my previous NFS mounts to W10 are obsolete. However when I try to delete them through Explorer, Explorer always tries to connect before permitting any action on the mount. After about ten...
  10. Unable to disconnect from mapped network drive

    in Windows 10 Network and Sharing
    Unable to disconnect from mapped network drive: I have two mapped drives in my network locations mapped to Q: and V:. I can access their contents, but I cannot disconnect them. When I attempt to disconnect either drive, I receive an error stating that "the system cannot find the file specified." I attempted to...