Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not delete drive with net use <drive>: /d #408

Open
pluraltouch opened this issue Nov 7, 2023 · 1 comment
Open

Can not delete drive with net use <drive>: /d #408

pluraltouch opened this issue Nov 7, 2023 · 1 comment

Comments

@pluraltouch
Copy link

I can successfully map a drive, however I can not delete it.

Using sshfs-win version 3.5.20357 with winfsp 2.0.23075. (I can successfully delete a winfsp memory drive, it that information matters)

image

System info:

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
OS Build Type: Multiprocessor Free
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 167 Stepping 1 GenuineIntel ~3912 Mhz
BIOS Version: American Megatrends Inc. 1007, 2021. 07. 08.
Total Physical Memory: 16GB
Available Physical Memory: 7GB
Virtual Memory: Max Size: 41GB
Hotfix(s): 6 Hotfix(s) Installed.
[01]: KB5030650
[02]: KB5028856
[03]: KB5011048
[04]: KB5012170
[05]: KB5031358
[06]: KB5031591
Hyper-V Requirements: A hypervisor has been detected.

@NebularNerd
Copy link

I had this as well, pain in the backside. The only solution I found to work was from here:
https://www.wintips.org/fix-this-network-connection-does-not-exist-windows-10-11/

Head straight to section 2 and go from there with the regedit solution. Their nuke from orbit solution on the key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 is not entirely necessary, if you can see the offending subkeys with \\sshfs\REMUSER@HOST then you can just delete those.

I personally had no entries under HKEY_CURRENT_USER\Network, maybe they were already deleted from trying net use s: /delete and mountvol s: /d. After a reboot all is well once more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants