Command-line tool for finding out who is locking a file

Handle should do the trick.

Ever wondered which program has a particular file or directory open?
Now you can find out. Handle is a utility that displays information
about open handles for any process in the system. You can use it to
see the programs that have a file open, or to see the object types and
names of all the handles of a program.

Leave a Comment