Handle Command Syntax on Windows 8

Q

How to use Windows Sysinternals Handle command on Windows 8? I want to know the Handle command syntax.

✍: FYIcenter.com

A

If you want to see the syntax of the Windows Sysinternals Handle command, you can follow these steps:

1. Start a command line window by run "Command Prompt" as administrator.

2. Type in "C:\fyicenter\Handle\Handle /?" to see Handle command syntax:

C:\fyicenter\Handle\Handle /?

Nthandle v4.1 - Handle viewer
Copyright (C) 1997-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

usage: handle [[-a [-l]] [-u] | [-c &handle> [-y]] | [-s]] [-p &process>|&pid>]
[name] [-nobanner]
  -a         Dump all handle information.
  -l         Just show pagefile-backed section handles.
  -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.
  -y         Don't prompt for close handle confirmation.
  -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 &name> (fragment accepted).
  -nobanner  Do not display the startup banner and copyright message.

No arguments will dump all file references.

For example:

  • "Handle firefox" - List file handles that contains "firefox" in their file path names.
  • "Handle -a -p firefox.exe" - List file handles, registry handles and all other resource handles used by firefox.exe process.

 

__chapteMrTitle__

⇒⇒Windows 8 Processes Tutorials

2016-12-30, 1756🔥, 0💬