09.02.2014 Views

Windows sysinternals

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3 Process Explorer 43<br />

for processes not running in the current user’s logon session. Procexp depends on the<br />

Debug Programs privilege (which is granted to Administrators by default) to do this.<br />

Environments that adopt security policies that do not grant the Debug Programs privilege<br />

to Administrators will not be able to take full advantage of Procexp’s capabilities. Procexp<br />

makes a best effort to display the information that it can, and it leaves fields blank or reports<br />

“access denied” when it can’t.<br />

Note On <strong>Windows</strong> Vista and newer, even full administrative rights are not sufficient to read<br />

detailed information from protected processes. The Audiodg.exe and System processes are<br />

protected processes, which Procexp reports on the security page of the process’ Properties<br />

dialog box.<br />

To run Procexp with administrative rights on <strong>Windows</strong> XP and Server 2003 if you are not<br />

already logged on as an administrator, you must use RunAs to launch Procexp, or start<br />

Procexp from another program (such as Cmd.exe) that is already running as an administrator.<br />

On <strong>Windows</strong> Vista and newer, the Run As Administrator option can serve an equivalent<br />

purpose.<br />

On <strong>Windows</strong> Vista and newer, Procexp offers two additional options. If Procexp is running<br />

nonelevated, choosing Show Details For All Processes from the File menu restarts Procexp<br />

with User Account Control (UAC) elevation. The second option is to start Procexp with the<br />

/e command-line option, which also requests UAC elevation. (Of course, you must be running<br />

in a context in which elevation is possible.)<br />

See the “Administrative Rights” section in Chapter 2 for more information on RunAs and UAC<br />

elevation.<br />

Main Window<br />

The process list is a table in which each row represents a process on the system, and the<br />

columns represent continually updated attributes of those processes. You can change which<br />

attributes are displayed, resize and reorder the columns, and save column sets for later<br />

use. The Procexp toolbar includes buttons for performing common actions and graphs<br />

representing systemwide metrics. Finally, the status bar shows user-selectable system metrics.<br />

Each of these features will be described in turn.<br />

Process List<br />

Each row in the process list represents a running process on the local computer. Actually,<br />

that’s not technically accurate. As my friend and <strong>Windows</strong> Internals co-author David Solomon<br />

likes to point out, processes do not run—only threads can run. Threads—not processes—are<br />

the entities that <strong>Windows</strong> schedules for execution and that consume CPU time. A process<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!