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.

Single Executable Image<br />

Chapter 1 Getting Started with the Sysinternals Utilities 11<br />

To simplify packaging, distribution, and portability without relying on installation programs,<br />

all of the Sysinternals utilities are single 32-bit executable images that can be launched<br />

directly. They embed any additional files they might need as resources and extract them<br />

either into the folder in which the program resides or, if that folder isn’t writable (for<br />

example, if it’s on read-only media), into the current user’s %TEMP% folder. The program<br />

deletes extracted files when it no longer needs them.<br />

Supporting both 32-bit and 64-bit systems is one example where the Sysinternals utilities<br />

make use of this technique. For utilities that require 64-bit versions to run correctly on 64-bit<br />

<strong>Windows</strong>, the main 32-bit program identifies the CPU architecture, extracts the appropriate<br />

x64 or IA64 binary, and launches it. When running Process Explorer on x64, for instance, you<br />

will see Procexp64.exe running as a child process of Procexp.exe.<br />

Note If the program file extracts to %TEMP%, the program will fail to run if the permissions on<br />

%TEMP% have been modified to remove Execute permissions.<br />

Most of the Sysinternals utilities that use a kernel-mode driver extract the driver file to<br />

%SystemRoot%\System32\Drivers, load the driver, and then delete the file. The driver image<br />

remains in memory until the system is shut down. When running a newer version of a utility<br />

that has an updated driver, a reboot might be required to load the new driver.<br />

The <strong>Windows</strong> Sysinternals Forums<br />

The <strong>Windows</strong> Sysinternals Forums at http://forum.<strong>sysinternals</strong>.com (shown in Figure 1-7) are<br />

the first and best place to get answers to your questions about the Sysinternals utilities and<br />

to report bugs. You can search for posts and topics by keyword to see whether anyone else<br />

has had the same issue as you. There are forums dedicated to each of the major Sysinternals<br />

utilities, as well as a forum for suggesting ideas for new features or utilities. The Forums also<br />

host community discussion about <strong>Windows</strong> internals, development, troubleshooting, and<br />

malware.<br />

You must register and log in to post to the Forums, but registration requires minimal<br />

information. After you register, you can also subscribe for notifications about replies to<br />

topics or new posts to particular forums, and you can send private messages to and receive<br />

messages from other forum members.<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!