List processes locking a file by file path sub-string:
Command line
- Install the
handletool from the Sysinternals suite - Run
handle -u [file path sub-string]in a cmd.exe window
The -u option includes the user owning the process.
Example:
handle -u "some.pdf" AcroRd32.exe pid: 11208 type: File localnet\oliver 244: C:\Users\Public\Documents\some-folder\some.pdf
GUI
- Download Sysinternals Process Explorer
- Menu : Find – “Find Handle or DLL …”

