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.

392 Part III Troubleshooting—”The Case of the Unexplained...”<br />

The Troubleshooting<br />

Aaron figured that the author of the installation program had believed that because<br />

<strong>Windows</strong> XP was so perfect Microsoft would never need to release another version of<br />

<strong>Windows</strong>, there was no reason to check for newer versions. He applied the <strong>Windows</strong> XP<br />

compatibility mode which, among other things, lies to the program about what the operating<br />

system version actually is and tried again. It failed in exactly the same way. Additionally,<br />

the installation worked perfectly well on freshly installed copies of <strong>Windows</strong> Vista that didn’t<br />

have the organization’s policies applied to it.<br />

He started Procmon, ran the installation program again to the point of the error message<br />

and then stopped the Procmon trace. He dragged the Procmon crosshairs toolbar icon over<br />

the error message to apply a filter to show only events involving the window owner’s process,<br />

Setup.exe. (See Figure 16-18.)<br />

FIGURE 16-18 Procmon after filtering with “Include Process From Window.”<br />

Because of the “0” in the title in the error message, Aaron thought the problem might<br />

be due to the program searching for something and not finding it, so he right-clicked on<br />

items in the Result column and excluded events with result codes he figured would not be<br />

interesting: SUCCESS, FAST IO DISALLOWED, FILE LOCKED WITH ONLY READERS, REPARSE,<br />

BUFFER OVERFLOW, and END OF FILE. (Aaron usually excludes “known-good” result codes<br />

rather than including potentially bad results because it is easy to miss some and filter out<br />

important entries.)<br />

When he looked at the remaining entries, one thing that quickly stood out was the name<br />

“DoesNotExist” appearing in path names near the end of the results. He used Procmon’s<br />

highlighting feature to make them stand out in the context of surrounding events. (See<br />

Figure 16-19.)<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!