ShowWhatProcessLocksFile: Delete files that are locked by some processes

I would like to share a utility that I have created:
ShowWhatProcessLocksFile

Very often, you can't delete files or folders because they are used by some process.
Windows doesn't show you what process it is. (Actually, Directory Opus sometimes shows the locking process, but not always)

The ShowWhatProcessLocksFile app integrates into the context menu and allows you to see locking processes and terminate them if needed.

9 Likes

I discovered this a few months ago. As an alternative to file lock smith as power toys has become more bloat than utility.

It's great! Besides using it from the context menu I was able to make a dopus toolbar button as well. And swapped out the icon.

Thanks!

3 Likes

...as power toys has become more bloat than utility.

In that case you may wish to give Lockhunter a try.
Free and portable and pretty much straightforward

Download LockHunter 64/32 bit For Free

Yes, actually, I used LockHunter as a reference to create ShowWhatProcessLocksFile. My goal was to create a simpler and open-source version that wouldn't require Admin rights to run.

Interestingly, Microsoft PowerToys was also inspired by LockHunter, as the UI is very similar.

LockHunter is probably the most powerful application to deal with file locks. They even created their own Windows driver to access file locks and close file handles. It is insane, but it allows it to work very fast :slight_smile:

1 Like