Site icon WinCert

Trace boot, shutdown, standby

<p><a href&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2015&sol;01&sol;microsoft-windows2&period;jpg"><img class&equals;"alignnone size-full wp-image-518" src&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2015&sol;01&sol;microsoft-windows2&period;jpg" alt&equals;"microsoft-windows2" width&equals;"720" height&equals;"340" &sol;><&sol;a><br &sol;>&NewLine;To get started you need the Windows Performance Tools Kit&period; Sadly Microsoft removed the stand alone installer from download&period; To get the installer&comma; you have to install the <a href&equals;"http&colon;&sol;&sol;www&period;microsoft&period;com&sol;downloads&sol;details&period;aspx&quest;FamilyID&equals;c17ba869-9671-4330-a63e-1fd44e0e2505&amp&semi;displaylang&equals;en" target&equals;"&lowbar;blank">Windows 7 SDK<&sol;a>&period;<&sol;p>&NewLine;<p>Download the Web Installer and select the Win32 Development Tools and install them&period; Now go to the path&colon;<&sol;p>&NewLine;<p><span style&equals;"color&colon; &num;003366&semi;">C&colon;&bsol;Program Files&bsol;Microsoft SDKs&bsol;Windows&bsol;v7&period;0&bsol;bin<&sol;span><&sol;p>&NewLine;<p>and look for the 3 files wpt&lowbar;ia64&period;msi&comma; wpt&lowbar;x64&period;msi and wpt&lowbar;x86&period;msi&period; Now install the MSI which meets your Windows &lpar;IA64 if you&&num;8217&semi;re running an Itanium Windows&comma; x64 if you run a 64Bit Windows Vista&sol;7&sol;Server 2008 &lpar;R2&rpar; or x86 if you run a 32Bit Vista&sol;7&sol;Server 2008&rpar;&period;<&excl;--more--><&sol;p>&NewLine;<p>Now open an elevated command prompt and run the following commands&colon;<&sol;p>&NewLine;<p>For boot tracing&colon;<br &sol;>&NewLine;<span style&equals;"color&colon; &num;003366&semi;">xbootmgr -trace boot -noPrepReboot -traceFlags BASE&plus;CSWITCH&plus;DRIVERS&plus;POWER -resultPath C&colon;&bsol;TEMP<&sol;span><&sol;p>&NewLine;<p>For shutdown tracing&colon;<br &sol;>&NewLine;<span style&equals;"color&colon; &num;003366&semi;">xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE&plus;CSWITCH&plus;DRIVERS&plus;POWER -resultPath C&colon;&bsol;TEMP<&sol;span><&sol;p>&NewLine;<p>For Standby&plus;Resume&colon;<br &sol;>&NewLine;<span style&equals;"color&colon; &num;003366&semi;">xbootmgr -trace standby -traceFlags BASE&plus;CSWITCH&plus;DRIVERS&plus;POWER -resultPath C&colon;&bsol;TEMP<&sol;span><&sol;p>&NewLine;<p>For Hibernate&plus;Resume&colon;<br &sol;>&NewLine;<span style&equals;"color&colon; &num;003366&semi;">xbootmgr -trace hibernate -traceFlags BASE&plus;CSWITCH&plus;DRIVERS&plus;POWER -resultPath C&colon;&bsol;TEMP<&sol;span><&sol;p>&NewLine;<p><span style&equals;"color&colon; &num;000000&semi;">replace <&sol;span><strong>C&colon;&bsol;TEMP<&sol;strong><span style&equals;"color&colon; &num;000000&semi;"> with any temp directory on your machine as necessary to store the output files<&sol;span><&sol;p>&NewLine;<p>All of these will shutdown&comma; hibernate&comma; or standby your box&comma; and then reboot to finish tracing&period; Once Vista does reboot&comma; log back in as necessary and once the countdown timer finishes&comma; you should now have some tracing files in C&colon;&bsol;TEMP&period; If asked&comma; upload or provide the file&lpar;s&rpar; generated in C&colon;&bsol;TEMP &lpar;or the directory you chose&rpar; on a download share for analysis&period;<&sol;p>&NewLine;<p>Courtsy&colon; <a href&equals;"http&colon;&sol;&sol;www&period;cluberti&period;com&sol;" target&equals;"&lowbar;blank">Cluberti<&sol;a><&sol;p>&NewLine;

Exit mobile version