JSI Tip 9691. Handle.exe freeware displays processes that have files opened, and parameters can modify this behavior.

Jerold Schulman

August 30, 2005

1 Min Read
ITPro Today logo in a gray background | ITPro Today


Download Handle.zip and unzip handle.exe to a folder that is in your PATH.

When run without parameters, handle.exe will list the values of all the handles in the system that refer to open files.

When you type handle /?, you receive:

Handle v3.10Copyright (C) 1997-2005 Mark RussinovichSysinternals - www.sysinternals.comusage: handle [-c ] | [-s [-p |] [name]  -a      Dump all handle information.  -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.  -s      Print count of each type of handle open.  -u      Show the owning user name when searching for handles.  -p      Dump handles belonging to process (partial name accepted).  name    Search for handles to objects with  (fragment accepted).No arguments will dump all file references.

NOTE: The name parameter is case sensitive and the fragment specified can be anywhere in the file/folder path.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like