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 17 Hangs and Sluggish Performance 415<br />

About 15 minutes after I had received Jason’s e-mail, I sent him a reply explaining my<br />

conclusion with the configuration file attached. Shortly after, he wrote back confirming the<br />

delays were gone and expressing amazement that I had figured out the problem and solution<br />

so quickly. It might have seemed like magic to him, but I had simply used basic Procmon<br />

troubleshooting techniques and the Web to solve the case. Needless to say, the revised demo<br />

flow and transition between AppLocker and application compatibility came off great.<br />

The Case of the Slow Project File Opens<br />

The case opened when the customer, a network administrator, contacted Microsoft support<br />

because a user reported that Microsoft Project files located on a network share were taking<br />

up to a minute to open and about once every 10 times the open resulted in the error shown<br />

in Figure 17-19.<br />

FIGURE 17-19 Error that occurred on Project file opens one time in 10.<br />

The administrator verified the issue and checked networking settings and latency to the file<br />

server, but he could not find anything that would explain the problem. The Microsoft support<br />

engineer assigned to the case asked the administrator to capture Procmon and Network<br />

Monitor traces of a slow file open. After receiving the logs a short time later, he opened the<br />

Procmon log and set a filter to include only operations issued by the Project process and<br />

then another filter to include paths that referenced the target file share. The File Summary<br />

dialog box, which he opened from Procmon’s Tools menu, showed significant time spent in<br />

file operations accessing files on the share, shown in the File Time column in Figure 17-20.<br />

FIGURE 17-20 File Summary dialog box showing time spent in file operations (domain name obscured).<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!