New
#1
Can't "safely remove" external hard drive, dllhost.exe holding lock
Hi
I have an external hard drive that is almost permanently plugged into my laptop to do a daily scheduled backup. The "safely remove" option never works though, I always get the "This device is currently in use" error.
I ran Process Explorer and searched for the drive letter. I saw that dllhost.exe was holding two locks to the root directory. When I manually closed these handles, then I was able to safely remove the drive.
The dllhost's command line was:
C:\WINDOWS\System32\DllHost.exe /Processid:{DFB65C4C-B34F-435D-AFE9-A86218684AA8}
When I looked in regedit for this GUID, I found it referenced in this key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AFC7B6DE-D642-41B7-AB0C-A01019510741}
Values:
- (Default) REG_SZ Plan9FileSystem
- AppID REG_SZ {DFB65C4C-B34F-435D-AFE9-A86218684AA8}
In the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AFC7B6DE-D642-41B7-AB0C-A01019510741}\InProcServer32 key I saw a value (Default) REG_SZ C:\Windows\System32\vp9fs.dll
Looking at vp9fs.dll I see that it has a Microsoft Windows digital signature and looks legit. Googling the "plan 9 file system" seems to give results for some obscure file system.
I don't understand why this dll is holding a lock on my external hard drive. Is there some way to stop this?
Windows version: 20H2 build 19042.985.