DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
Results 1 to 2 of 2

Thread: How to time boot & perform a Boot Trace in Windows with Microsoft Windows 7 SDK

  1. #1
    LeeW is offline Gold Member
    Join Date
    Jan 2010

    Post How to time boot & perform a Boot Trace in Windows with Microsoft Windows 7 SDK

    Came across this while hunting for a way to get load times on each individual process loaded at System Boot. While the scripts out take snapshots of time from restart........... this will give you Very Detailed information about your Boot Time, Shutdown, Standby/Resume and Hibernate/Resume

    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.
    Download details: Microsoft Windows 7 SDK
    Make sure to just select the Win32 Development Tools or I promise you, you'll be waiting for a long time for it to download and install ( I found out the hard way not paying attention)
    Now go to the path:
    C:\Program Files\Microsoft SDKs\Windows\v7.0\bin
    and look for the 3 files
    wpt_ia64.msi, if you're running an Itanium Windows
    wpt_x64.msi, if you run a 64Bit Windows Vista/7/Server 2008 (R2)
    wpt_x86.msi, if you run a 32Bit Vista/7/Server 2008).

    Now open an elevated command prompt and run the following commands:
    Start Menu/All Programs/Accessories Right-Click Command Prompt and select Run as Administrator
    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.

    To view information open the Performance Analyzer Trace File

    Original Post found here
    Trace Windows 7 boot/shutdown/hibernate/standby/resume issues - MSFN Forums

    Screenshot of my Boot Trace as an example:

  2. #2
    HappyAndyK's Avatar
    HappyAndyK is offline Site Administrator
    Join Date
    Jun 2008


    A rather one-of-its-kind tutorial !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22