Analyze Windows 7 Performance with Microsoft Windows Performance Toolkit

·


The 20 winners of WinBootInfo has been chosen. Please refer to the screenshot below for the list of winners. WinBootInfo license is attached to a computer based on hardware ID, so you will have to install WinBootInfo first, run it and select “Click here to enter the key you already purchased…”. A new window will open that shows your hardware fingerprint. Note it down and wait for WinBootInfo management to contact you first. Then only send them the hardware fingerprint when asked to so that they can generate your unique key.

winbootinfo key winners

Thanks to MagicAndre1981, I found out that Windows 7 has a tool called Microsoft Windows Performance Toolkit which is included in Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1. Windows Performance Tools are designed for analysis of a wide range of performance problems including application start times, boot issues, deferred procedure calls and interrupt activity, system responsiveness issues, application resource usage and interrupt storms. This is something similar to WinBootInfo but basic computer users will find that it not as easy to use and understand.


To get the free Microsoft Windows Performance Toolkit, you will have to download Windows 7 SDK which is quite big. You can download the web setup, select custom during installation and only select the “Win32 Development Tools” from the list of programs to install. After installation, go to X:\Program Files\Microsoft SDKs\Windows\v7.0\bin and look for the 3 following files:

wpt_ia64.msi – To be used in Itanium Windows
wpt_x64.msi – To be used in 64Bit Windows Vista/7/Server 2008 (R2)
wpt_x86.msi – To be used in 32Bit Vista/7/Server 2008

So if you’re running a 32bit of Windows 7, just run wpt_x86.msi to install the Windows Performance Toolkit. For your convenience, I’ve uploaded the 32 and 64 bit version of WPT to RapidShare to you can directly test them out without downloading the Windows 7 SDK.

Download wpt_x86.msi for Windows 7 32 bit
Download wpt_x64.msi for Windows 7 64 bit

After installing Windows Performance Tookit, open a command prompt with administrative rights. To do that, go to Start Menu > All Programs > Accessories > right-click on Command Prompt and select Run as Administrator.

To trace Windows bootup, type the following command in the command prompt.
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

You can replace the C:\TEMP with any directory of your choice in your computer. This is where the toolkit will save and store the output (.cab .etl and .log) files. When the trace is done, it the Windows Performance Analyzer will automatic run and show you the trace results.

Windows Performance Analyzer

You can always re-open your trace results by going to the output folder which is at C:\TEMP if you didn’t change the command line, and run the .etl file which is normally over 100MB in size.