Windows 10: Network drive mapping disconnect after log off or restart.

Discus and support Network drive mapping disconnect after log off or restart. in Windows 10 Network and Sharing to solve the problem; I have to remap share drive connections every time I log off or when Windows 10 prompts to install system updates and a reboot.. Is there a remedy not... Discussion in 'Windows 10 Network and Sharing' started by #516-gerry, Jul 15, 2021.

  1. Network drive mapping disconnect after log off or restart.


    I have to remap share drive connections every time I log off or when Windows 10 prompts to install system updates and a reboot.. Is there a remedy not to constantly remap network drives to access data? Thanks to anywone who can asssit.

    :)
     
    #516-gerry, Jul 15, 2021
    #1
  2. JimD Win User

    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 it fails to reconnect. At that point I can still connect to this drive from ALL other devices on my Workgroup LAN. None of those devices have the drive mapped!
    • For a short time, using "Net Use" shows the drive trying reconnect. Later it says "Disconnected".
    • The only way I have found to reconnect to that drive is to perform:
      1. net use U: /delete
      2. net use U: \\HARENET-HD\data
    • This problem has started within the last several months. Maybe it's related to a Windows update??

    Help would be appreciated!
    Jim ;{)
     
  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], Jul 15, 2021
    #3
  4. Network drive mapping disconnect after log off or restart.

    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 (ENetwork drive mapping disconnect after log off or restart. :) 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 (ENetwork drive mapping disconnect after log off or restart. :) 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, Jul 15, 2021
    #4
Thema:

Network drive mapping disconnect after log off or restart.

Loading...
  1. Network drive mapping disconnect after log off or restart. - Similar Threads - Network drive mapping

  2. Shared Mapped Network Drive discontinue after shutdown/restart

    in Windows 10 Gaming
    Shared Mapped Network Drive discontinue after shutdown/restart: Hello,I have mapped a few network drives in my laptop from my server, and it is working fine, but whenever I shut down and restart my system, the drives I had mapped earlier are disconnected. And now, because it's disconnected, I need to remap all the drives to my computer.I...
  3. Shared Mapped Network Drive discontinue after shutdown/restart

    in Windows 10 Software and Apps
    Shared Mapped Network Drive discontinue after shutdown/restart: Hello,I have mapped a few network drives in my laptop from my server, and it is working fine, but whenever I shut down and restart my system, the drives I had mapped earlier are disconnected. And now, because it's disconnected, I need to remap all the drives to my computer.I...
  4. 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...
  5. 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...
  6. SMBv1 mapped drive disconnect after restart

    in Windows 10 Network and Sharing
    SMBv1 mapped drive disconnect after restart: This is the same symptoms as described in: https://answers.microsoft.com/en-us/windows/forum/all/mapped-drive-disconnects-after-reboot-in-windows/32bbc026-97a9-4583-9f6e-2a9198351c4f But since it is locked, i am "resurrecting" it here. I have two mapped drive to a windows...
  7. Mapped drive "Disconnected"

    in Windows 10 Ask Insider
    Mapped drive "Disconnected": So I'm having a issue where a mapped drive Windows 10 is showing Disconnected with the red X sometimes when powering on.. Even though it's saying it's disconnected I can still access all the files in it.. The main part of the issue is a software is pulling data from the...
  8. Mapped Network Drive Isn't Available After Restart

    in Windows 10 Network and Sharing
    Mapped Network Drive Isn't Available After Restart: How do I get the NAS Network Drive Created to reappear and require password entry next time I startup My Surface Pro 3 with Windows 10 version 1903? I Mapped the NAS as a network drive with "Reconnect at sign-in" unchecked and "Connect using different credentials" checked....
  9. 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...
  10. Mapped drive disconnected after reboots

    in Windows 10 Network and Sharing
    Mapped drive disconnected after reboots: Since fall creators update I am seeing one of my mapped NAS drives always in a disconnected state after a reboot. It’s easily fixed by clicking the drive displaying the red x in explorer to establish the connection. But it seems strange that this has only started after fall...

Users found this page by searching for:

  1. windows 10 takes long yo reconnext drives after reboot