I have a disconnected network drive that is linked to a volume (N:). It used to be linked to an NFS share on 127.0.0.1\data
(using WinNFSd), but I didn't need it anymore.
I am trying to remove it, because I want to use the drive letter for another drive, but it doesn't seem to want to be deleted. I tried the following:
right clicking it freezes my Explorer and I have to kill explorer through task manager and restart it
right click
This PC
->Disconnect network drive...
and select the volume gave the following error:trying to find it in the disk manager didn't help either. It's not listed:
using powershell to run diskpart to show the volumes also doesn't show N:
running
net use
doesn't show anything either:Restarting the NFS daemon makes it so that (right)clicking the mount doesn't crash explorer and allows me to successfully connect to the files that the NFS was mounted to, but clicking disconnect on that volume mount gives the following error:
Can anyone help me get rid of this volume mount?
subst
, 2) checkmountvol
, 3) checkreg query HKCU\Network /s
, and 4) use WinObj or WinObjEx to check where the \DosDevices\N link points?mountvol
after asking the question and that seems to have done the trick.