ShowWhatProcessLocksFile PolarGoose
winget install --id=PolarGoose.ShowWhatProcessLocksFile -e
Discover what processes lock a specific file or folder. It is a simpler and faster clone of the PowerToys File Locksmith utility.
ShowWhatProcessLocksFile is a utility designed to identify which processes are locking specific files or folders. This tool simplifies troubleshooting by providing quick insights into file locks, enabling users to resolve issues efficiently.
Key Features:
- Simple and fast identification of locked files
- Lightweight design with minimal dependencies
- Command-line support for automation
Audience & Benefit:
Ideal for system administrators and developers who need to diagnose and address file locking issues without complex configurations. This utility helps save time by quickly identifying the processes causing file locks, allowing users to take corrective action promptly.
Install via winget for easy setup.
README
ShowWhatProcessLocksFile
A simple clone of PowerToys File Locksmith utility to discover what processes lock a specific file or folder.
Advantages over File Locksmith
- Much faster
- Lightweight
- Supports older versions of Windows
- Doesn't require admin rights to be installed
Screenshots
Context menu

Application

System requirements
- Windows 7 x64 or higher (you might need to install
.Net Framework 4.7.2
)
How to use
- Download
ShowWhatProcessLocksFile.msi.zip
from the latest release. - Run the installer. The installer will install this program to the
%AppData%\ShowWhatProcessLocksFile
folder and add aShow what locks this file
Windows File Explorer context menu element. - Use
Show what locks this file
File Explorer's context menu to select a file or folder - To terminate a process, select it and open a context menu by clicking the right mouse button
- If you want to uninstall the program, use
Control Panel\Programs\Programs and Features
. Uninstaller will remove an integration with the context menu and all installed files.
How to build
- To work with the codebase, use
Visual Studio 2022
with a plugin HeatWave for VS2022. - To build a release, run
.\build.ps1
(git.exe
should be in your PATH)