SkillAgentSearch skills...

Handle2

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

Install / Use

/learn @PolarGoose/Handle2
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Handle2

An open-source alternative to the Sysinternals Handle<tr>

  • Identifies processes that are locking specific files or folders
  • Include process modules in the search
    • Note: Sysinternals Handle doesn't include process modules in the search. Thus, it can fail to find the locking process.
  • Shows information about all handles in the system
  • Supports JSON output
  • Full Unicode support
    • Note: Sysinternals Handle doesn't support Unicode file names (more details)

System requirements

  • Windows 7 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 --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.ps script (git.exe should be in the PATH)

View on GitHub
GitHub Stars25
CategoryDevelopment
Updated21d ago
Forks4

Languages

C#

Security Score

90/100

Audited on Mar 11, 2026

No findings