Windows 7 Performance Tools Kit

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
This is an updated tutorial of the one cluberti posted here.
To get started you need the Windows Performance Tools Kit. Sadly Microsoft removed the stand alone installer from download. To get the installer, you have to install the Windows 7 SDK.
Download the Web Installer and select the Win32 Development Tools and install them. Now go to the path:

C:\Program Files\Microsoft SDKs\Windows\v7.0\bin
and look for the 3 files wpt_ia64.msi, wpt_x64.msi and wpt_x86.msi. Now install the MSI which meets your Windows (IA64 if you're running an Itanium Windows, x64 if you run a 64Bit Windows Vista/7/Server 2008 (R2) or x86 if you run a 32Bit Vista/7/Server 2008).
Now open an elevated command prompt and run the following commands:
For boot tracing:
xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
For shutdown tracing:
xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
For Standby+Resume:
xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
For Hibernate+Resume:
xbootmgr -trace hibernate -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP
replace C:\TEMP with any temp directory on your machine as necessary to store the output files
All of these will shutdown, hibernate, or standby your box, and then reboot to finish tracing. Once Vista/Server 2008(R2) or Windows 7 does reboot, log back in as necessary and once the countdown timer finishes, you should now have some tracing files in C:\TEMP. If asked, upload or provide the file(s) generated in C:\TEMP (or the directory you chose) on a download share for analysis.

// Edit: 2010-02-04
Added the -noPrepReboot command at shutdown tracing to prevent the preparatory reboot during a shutdown/rebootCycle trace. Usually, the reboot is required to ensure a consistent machine state before the first shutdown if multiple traces are being taken.

Trace Windows 7 boot/shutdown/hibernate/standby/resume issues - MSFN Forums
 
Status
Not open for further replies.
Back
Top Bottom