Applies to:
Windows Server 1709
Windows 10 1709
Windows 10 1703
Does not work on built-in WPR.exe:
Windows Server 2016
Note: Doesn’t not have the -onoffscenario option
Windows 10 1607
Note: Doesn’t not have the -onoffscenario option
I had gone through how to capture a boot and logon trace using the GUI (WPRUI) in the following blog post:
How to collect a good boot trace on Windows 10 or Windows Server 2016 using WPRUI.
https://blogs.technet.microsoft.com/yongrhee/2017/10/10/how-to-collect-a-good-boot-trace-on-windows-10-or-windows-server-2016-using-wprui/
In this post, we are going to go through the built-in WPR.exe process that I had mentioned:
Windows Performance Recorder (WPR.exe) now inbox in Windows 10.
https://blogs.technet.microsoft.com/yongrhee/2015/08/04/windows-performance-recorder-wpr-exe-now-inbox-in-windows-10/
Combining WPR.exe and the boot and logon:
Start, CMD (Run As Admin)
wpr.exe -start CPU -start DiskIO -start FileIO -start Registry -start Network -start Minifilter -onoffscenario boot -onoffresultspath c:temp -onoffproblemdescription SlowBootSlowLogon -numiterations 1
<Reboots the machine>
Login as soon as possible
wpr.exe -stop c:temp%computername%_slow_boot_slow_logon.etl
View the output .etl trace in WPA.exe (Windows Performance Analyzer).
Yong