NirSoft.OpenedFilesViewView opened/locked files in your system.
$ winget install --id NirSoft.OpenedFilesView --exact --version 1.91Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph — no manual repackaging, no chasing vendor sites.
See Pckgr's app libraryOpenedFilesView displays the list of all opened files on your system. For each opened file, additional information is displayed: handle value, read/write/delete access, file position, the process that opened the file, and more...
Optionally, you can also close one or more opened files, or close the process that opened these files.
This utility is especially useful if you try to delete/move/open a file and you get one of the following error messages:
- Cannot delete [filename]: There has been a sharing violation. The source or destination file may be in use.
- Cannot delete [filename]: It is being used by another person or program. Close any programs that might be using the file and try again.
When you get one of these error messages, OpenedFilesView will show you which process lock your file. Closing the right process will solve this problem. optionally, you can also release the file by closing the handle from OpenedFilesView utility. However, be aware that after closing a file in this way, the program that opened the file may become unstable, and even crash.
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.