Oh.exe: Open Handles


This command-line tool shows the handles of all open windows. You can also constrain OH to only show information relating to a specific process, object type, or object name. This feature is useful for finding which process has a file open when a sharing violation occurs.

To function properly, OH must enable a kernel option which maintains a linked list of all objects by object type. If not set, OH enables this option and notifies you that you must reboot before OH will function. After rebooting, OH can display information.


note-icon

Note

This linked list uses 8 bytes of overhead per object. If desired, this option can later be disabled with Gflags.exe (a Windows 2000 Support Tool included on the Windows 2000 CD). To disable this option in Gflags.exe, clear the check box for Maintain a list of objects for each type in the Global Flags window, then restart the computer.

OH Topics

File Required