Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PolarGoose/Handle2

Open more actions menu

Repository files navigation

Handle2

An open-source alternative to the Sysinternals Handle

  • Identifies processes that are locking specific files or folders
  • Include process modules in the search
  • Shows information about all handles in the system
  • Supports JSON output
  • Full Unicode support
  • Also shows locks on network shares and mounted drives

System requirements

  • Windows 10 and higher.

Usage

> Handle2.exe --help

Handle2 1.0
A console utility that displays information about system handles and identifies the processes locking a specific file or folder.
https://github.com/PolarGoose/Handle2

Usage:
  Handle2.exe [--json] [--path FILE_OR_FOLDER_FULL_NAME|--dump-all-handles]
Examples:
  Handle2.exe --path C:\Windows\System32
  Handle2.exe --path \\wsl.localhost\Ubuntu-24.04\home\user
  Handle2.exe --json --path C:\Windows\System32\ntdll.dll
  Handle2.exe --json --path C:\Windows\explorer.exe
  Handle2.exe --json --dump-all-handles

Command-line options:

  --json                (Default: false) JSON output. For details on the meanings of the fields provided, please consult
                        the HandleInfo and SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX structures in the source code.

  --path                Required. Displays the processes locking the path

  --dump-all-handles    Required. (Default: false) Displays information about all system handles and modules

  --help                Display this help screen.

  --version             Display version information.

How to build

To build the project, run build.ps1 script (git.exe should be in the PATH)

About

Alternative to the Sysinternals Handle. Shows information about system handles and identifies processes that lock files.

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.