Remove obsolete mapped network drive


  1. Posts : 32
    Windows 10 Pro
       #1

    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 minutes it pops up to tell me that it can't connect and cancels the selection focus.

    So? How to remove this mapping? It must be recorded somewhere in Explorer's config or some config that Explorer is reading that I can wack at.

    Thanks.
      My Computer


  2. Posts : 5,478
    2004
       #2

    You could try net use /delete Z: or net use \\computername\sharename /delete

    Note the network drives are in the context of the user so you need administrator cmd prompt for administrator ones and normal user cmd prompt for normal user ones.

    You can use net use with no parameters and it will show them all to check you are in the right place :
    Code:
    C:\Users\Hali>net use
    New connections will be remembered.
    
    
    Status       Local     Remote                    Network
    
    -------------------------------------------------------------------------------
    OK           Z:        \\MACBOOK\Media           Microsoft Windows Network
    The command completed successfully.
    
    
    C:\Users\Hali>net use z: /delete
    z: was deleted successfully.
    
    
    C:\Users\Hali>net use
    New connections will be remembered.
    
    There are no entries in the list.
    
    
    C:\Users\Hali>
      My Computer


  3. Posts : 32
    Windows 10 Pro
    Thread Starter
       #3

    lx07 said:
    You could try net use /delete Z: or net use \\computername\sharename /delete
    [/code]
    Thank you. This nugget returned success and net use now reports :
    Code:
    $ net use                                     
    New connections will be remembered.                                                         
    There are no entries in the list.
    However Explorer still shows the node, shows it as broken.
      My Computer


  4. Posts : 5,478
    2004
       #4

    hymanwallace said:
    Explorer still shows the node, shows it as broken.
    Can you post a picture as I'm not sure what you mean. There is a tutorial about uploading screenshots here (sorry if it is obvious but you never know).

    If you mean in quick access (in the top left of the file explorer window) then you should be able to right click/delete - I have had these hanging around after relocating things.
      My Computer


  5. Posts : 32
    Windows 10 Pro
    Thread Starter
       #5

    After trying a number of solutions -- mentioned here and elsewhere -- I found the registry key that Windows Explorer is hanging on to.

    Registry key to delete :

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\<share name>
      My Computer


  6. Posts : 79
    Win 7 Ultimate, Win 10, Linux
       #6

    hymanwallace said:
    After trying a number of solutions -- mentioned here and elsewhere -- I found the registry key that Windows Explorer is hanging on to.

    Registry key to delete :

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\<share name>
    This did work on one machine but on one that is a clean install of W10 I can delete from registry but they just reappear in registry. It is not saving the changes
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:20.
Find Us




Windows 10 Forums