0

I have several items on the Windows 10 File Explorer sidebar I would like to get rid of:

enter image description here

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)

5
  • Type NET USE to see what drives have been mapped. Try right clicking on the network drive and delete the drive. Restart the computer.
    – John
    Aug 4, 2022 at 12:08
  • @John: this is what I did and explained in the question (including rebooting)
    – WoJ
    Aug 4, 2022 at 12:28
  • You might find B (Synching) by clicking in the Explorer Address bar and typing shell:NetHood. Aug 4, 2022 at 20:33
  • @KeithMiller isn't 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", ...)
    – WoJ
    Aug 5, 2022 at 7:03
  • @WoJ: Yes, you're right. I'm visually imaiared and was zoomed in so far I couldn't compare indentation. So it's most likely an entry under [HKCU|HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\Namespace Aug 5, 2022 at 13:35

2 Answers 2

0

Case B: use the free (not open-source) Winaero Tweaker: File ExplorerNavigation Pane - Custom Items

Other tweakers may work as well, I can confirm that this one works great for that (no affiliation, just a new happy user)

2
  • So it was a ...\Desktop\NameSpace item.... Aug 5, 2022 at 15:37
  • @KeithMiller yes indeed. I just had a look at the path and there is a UUID pointer that was created by Winaero Tweaker (a new one I added though that software)
    – WoJ
    Aug 5, 2022 at 15:43
0

Case A: somehow I needed to reboot twice after

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.

It may have been a glitch, though - I believe that one reboot should be enough.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .