Handle 5.0

Published by

Handle is the command-line version of Process Explorer that displays information about open handles for any process in your system.
Handle is the command-line version of Process Explorer that displays information about open handles for any process in your 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.

Handle is a command-prompt utility and uses switches:

usage: handle [[-a] [-u] | [-c [-l] [-y]] | [-s]] [-p |> [name]

-a Dump information about all types of handles, not just those that refer to files. Other types include ports, Registry keys, synchronization primitives, threads, and processes.
-c Closes the specified handle (interpreted as a hexadecimal number). You must specify the process by its PID.
WARNING: Closing handles can cause application or system instability.
-l Dump the sizes of pagefile-backed sections.
-y Don't prompt for close handle confirmation.
-s Print count of each type of handle open.
-u Show the owning username when searching for handles.
-p Instead of examining all the handles in the system, this parameter narrows Handle's scan to those processes that begin with the named process.
Thus: handle -p exp would dump the open files for all processes that start with "exp", which would include Explorer.
name This parameter is present so that you can direct Handle to search for references to an object with a particular name. For example, if you wanted to know which process (if any) has "c:windowssystem32" open you could type: handle windowssystem

The name match is case-insensitive and the fragment specified can be anywhere in the paths you are interested in.

Similar:
How to Identify Processes or Services on Your Computer
How-To Customize Process Information Viewed in Task Manager
How-to Manage Startup Apps in Windows 10 & 11
How to Save a Text File of All Running Processes With TaskList
How to Disable the Windows 10 Task Scheduler Privacy and Automatic Maintenance Related Tasks


  Download