Zend certified PHP/Magento developer

Windows 11 unmap a WebDAV “Network Location” (NOT a “Network Drive”)

I accidentally used the This PC/Add a network location function to map a WebDAV server. This creates a mapped folder appearing under This PC without a drive letter, which is not what I wanted.

The This PC context menu contains (among others) the following entries:

  • Add a network location
  • Add a network drive…
  • Disconnect a network drive…

But there is no option to unmap the “network location” folder that got created. That folder does not show up if I try to “Disconnect a network drive”, and none of the context menus for the folder, the This PC folder or the Network folder seem to provide a way to unmap it.

I cannot risk attempting to delete it, in case that propagates the deletion to the server.

Based on this post I then tried

C:Usersjim>net use
New connections will be remembered.

Status       Local     Remote                    Network
-------------------------------------------------------------------------------
OK           D:        \home10D                Microsoft Windows Network
OK           T:        \home10T                Microsoft Windows Network
OK           U:        \Home10u                Microsoft Windows Network
                       \obfuscated.com@SSLresources
                                                Web Client Network
The command completed successfully.

followed by


C:Usersjim>net use \obfuscated.com@SSLresources /delete
\obfuscated.com@SSLresources was deleted successfully.

However, the folder that was created under This PC did not go away, and clicking it still opens the remote server. The net use command no longer lists the connection, even though it’s still present.

C:Usersjim>net use
New connections will be remembered.

Status       Local     Remote                    Network
-------------------------------------------------------------------------------
OK           D:        \home10D                Microsoft Windows Network
OK           T:        \home10T                Microsoft Windows Network
OK           U:        \Home10u                Microsoft Windows Network
The command completed successfully.

After that I restarted Explorer, and when that did nothing I rebooted Windows. Neither resulted in the folder going away. It’s still there, and still connects to the remote WebDAV server, but the net use command claims it’s not:

C:Usersjim>net use \obfuscated.com@SSLresources /delete
The network connection could not be found.

More help is available by typing NET HELPMSG 2250.

How can I unmap a “Network location” folder in Windows 11?