Create a boot trace using WPR

  • Post comments:0 Comments

Hi all,

I am Helmut Wagensonner, a Customer Engineer at Microsoft. This blog post gives a short overview on how to create a boot trace with Windows Performance Recorder. It does not cover trace analysis.

Creating a boot trace is basically quite self-explaining but as I often need to explain it to customers, I thought to publish it as a blog post. First of all you need to download the Windows Assessment and Deployment Kit (ADK). You can always find the donwload links to the latest ADK version at http://aka.ms/adk. Additionally you can directly download the offline version of ADK 21H2 (Windows 10 / Windows 11) from here: Windows 10 ADK Offline Files.

For your convenience, I zipped all files needed to run the Windows Performance Toolkit (WPT) into one file, which can be downloaded here: Windows Performance Toolkit Only. Just unzip the files to a folder (i.e. C:\WPT) and you can run the WPT tools (Performance Recorder, Performance Analyzer, XPerf…) from that directory. It’s not recommended to directly start the Windows Performance Recorder from a network share. Copy it to a local folder instead.

To create a Windows Boot / Logon trace, start the WPR.exe with administrative rights.

 

 

 

 

 

 

 

 

 

 

Select “Boot” as Performance scenario and leave the other settings as shown in the image. After that click “Start” and select a path where to store the ETL file. The system will go down for reboot. After the system has rebooted, log on as a user. The Windows Performance Recorder starts automatically as soon the desktop is shown. I counts down from 2 minutes to give the Windows Explorer enough time to finish post logon tasks and saves the trace file to the specified location.

You can now start to analyze the boot trace using Windows Performance Analyzer.

Leave a Reply