<p><a href="http://wincert.net/wp-content/uploads/2015/01/microsoft-windows2.jpg"><img class="alignnone size-full wp-image-518" src="http://wincert.net/wp-content/uploads/2015/01/microsoft-windows2.jpg" alt="microsoft-windows2" width="720" height="340" /></a><br />
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 <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&;displaylang=en" target="_blank">Windows 7 SDK</a>.</p>
<p>Download the Web Installer and select the Win32 Development Tools and install them. Now go to the path:</p>
<p><span style="color: #003366;">C:\Program Files\Microsoft SDKs\Windows\v7.0\bin</span></p>
<p>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&#8217;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).<!--more--></p>
<p>Now open an elevated command prompt and run the following commands:</p>
<p>For boot tracing:<br />
<span style="color: #003366;">xbootmgr -trace boot -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP</span></p>
<p>For shutdown tracing:<br />
<span style="color: #003366;">xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP</span></p>
<p>For Standby+Resume:<br />
<span style="color: #003366;">xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP</span></p>
<p>For Hibernate+Resume:<br />
<span style="color: #003366;">xbootmgr -trace hibernate -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP</span></p>
<p><span style="color: #000000;">replace </span><strong>C:\TEMP</strong><span style="color: #000000;"> with any temp directory on your machine as necessary to store the output files</span></p>
<p>All of these will shutdown, hibernate, or standby your box, and then reboot to finish tracing. Once Vista 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.</p>
<p>Courtsy: <a href="http://www.cluberti.com/" target="_blank">Cluberti</a></p>