Introduction:
I need help with OpenFiles, which also comes with Windows 10 Pro.
Situation:
I enabled the local mode as described here https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/openfiles and I can see all local open files as expected. The /disconnect argument however doesn't work with the local files. Whenever I try to terminate a connection with openfiles /disconnect /id ID of handle nothing happens, there's no output (even if the ID is invalid) and if I list all open files again, nothing happened.
Computer details:
My PC on which I'm trying to do this, is running Windows 10 Pro, Version 21H1, Build 19043.1586. I also installed a fresh copy of Windows 10 Pro on a virtual machine to see, if this is an issue related to my install, and on a fresh Windows 10 Pro, Version 21H2, Build 19044.1288 I'm also facing this issue. Didn't test on Windows 11 as I'm not interested in Win11.
Solutions I tried:
-Fresh copy of Windows
-Restarting computer
-Using PowerShell as an administrator (obviously)
-Adding a /local behind the /disconnect, which granted a syntax error
Microsoft Windows Customer Support brought me here, I hope you can help me here.
Best regards,
Gab