I have several items on the Windows 10 File Explorer sidebar I would like to get rid of:
In the case A
this is an old network share that does not exist anymore. I tried to remove it by right-clicking on the entry and choosing "disconnect". This did nto work (no messages, the S:
drive stayed. I then tried to remove it in PowerShell:
PS C:\Users\yop> net use s: /delete
There are open files and/or incomplete directory searches pending on the connection to s:.
Is it OK to continue disconnecting and force them closed? (Y/N) [N]: Y
s: was deleted successfully.
PS C:\Users\yop> net use s: /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
Despite the message the S:
drive is still there (I also tried to delete it via the URI, same result)
In the case of B
, this is a folder I added a long time ago via some voodoo actions and I have no idea how to revert it (remove it)
B
(Synching) by clicking in the Explorer Address bar and typingshell:NetHood
.shell:NetHood
for network shortcuts?B
is not a network shortcut but an additional entry into the sidebar (at the same level as "This PC", "Quick Access", ...)[HKCU|HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\Namespace