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 6 Pstools 205<br />

<strong>Windows</strong> timeout for computer connections, can severely lengthen shutdown operations<br />

that run against many computers. The –n option gives you the ability to shorten the length<br />

of time that PsShutdown will attempt to establish a connection before giving up.<br />

The shutdown reason codes that can be used with the –e option are listed here:<br />

Type Major Minor Title<br />

U 0 0 Other (Unplanned)<br />

P 0 0 Other (Planned)<br />

U 1 1 Hardware: Maintenance (Unplanned)<br />

P 1 1 Hardware: Maintenance (Planned)<br />

U 1 2 Hardware: Installation (Unplanned)<br />

P 1 2 Hardware: Installation (Planned)<br />

U 2 2 Operating System: Recovery (Planned)<br />

P 2 2 Operating System: Recovery (Planned)<br />

P 2 3 Operating System: Upgrade (Planned)<br />

U 2 4 Operating System: Reconfiguration (Unplanned)<br />

P 2 4 Operating System: Reconfiguration (Planned)<br />

P 2 16 Operating System: Service pack (Planned)<br />

U 2 17 Operating System: Hot fix (Unplanned)<br />

P 2 17 Operating System: Hot fix (Planned)<br />

U 2 18 Operating System: Security fix (Unplanned)<br />

P 2 18 Operating System: Security fix (Planned)<br />

U 4 1 Application: Maintenance (Unplanned)<br />

P 4 1 Application: Maintenance (Planned)<br />

P 4 2 Application: Installation (Planned)<br />

U 4 5 Application: Unresponsive<br />

U 4 6 Application: Unstable<br />

U 5 19 Security issue<br />

P 5 19 Security issue<br />

U 5 20 Loss of network connectivity (Unplanned)<br />

P 7 0 Legacy API shutdown<br />

The System event log might show errors relating to PsShutdown. Cancellation of a shutdown<br />

operation might be reported as an unexpected termination of the PsShutdown service; the<br />

log might also report an error because PsShutdown is configured as an interactive service.<br />

Both of these errors can be ignored.<br />

PsSuspend<br />

PsSuspend lets you suspend processes on the local system or a remote system. This can be<br />

useful if a process is consuming a resource (such as CPU) that you want to allow another<br />

process to use. Rather than kill the process that’s consuming the resource, suspending it<br />

permits you to let it continue operation at some later point in time. It can also be useful<br />

when investigating or removing malware that involve multiple processes monitoring each<br />

other for termination.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!