Advertisement
0utsidethebox

Boot phases: wpr vs xbootmgr

Aug 10th, 2023 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. ###✅xbootmgr###
  2. xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
  3. #reboot
  4. cd c:\trace
  5. xperf /tti -i boot_BASE+CSWITCH+DRIVERS+POWER_1.etl -o summary_boot.xml -a boot
  6.  
  7. #Result XML: <timing bootDoneViaExplorer="100647" bootDoneViaPostBoot="113547" osLoaderDuration="1396"
  8. postBootRequiredIdleTime="10000" postBootDisturbance="2900"
  9. pnpBootStartStartTime="93" pnpBootStartEndTime="846" pnpBootStartDuration="754"
  10. pnpSystemStartStartTime="892" pnpSystemStartEndTime="1029" pnpSystemStartDuration="137">
  11.  
  12. #### WPA: Profiles — Apply — Browse Catalog - FullBoot.Boot.wpaprofile - Regions of interest — FullBoot
  13. ### Result: https://i.imgur.com/Sz46y73.png
  14.  
  15. ###❌wpr flavor 1###
  16. wpr -boottrace -addboot generalprofile -addboot cpu -addboot diskio -filemode -recordtempto C:\temp
  17. #reboot
  18. wpr -boottrace -stopboot C:\temp\boottrace.etl
  19.  
  20. #WPA after applying FullBoot.Boot.wpaprofile: https://i.imgur.com/opgbjhb.png
  21. #xperf xml: Boot action failed: Could not locate ExplorerReady event or mark.
  22.  
  23.  
  24. ###❌wpr flavor 2 ###
  25. ### DOES NOT WORK with the inbox wpr.exe, use the one from ADK https://learn.microsoft.com/en-us/archive/blogs/yongrhee/how-to-collect-a-good-boot-trace-on-windows-10-or-windows-server-2016-using-wpr
  26.  
  27. wpr.exe -start CPU -start DiskIO -start FileIO -onoffscenario boot -onoffresultspath c:\temp -onoffproblemdescription SlowBootSlowLogon -numiterations 1
  28.  
  29. #WPA after applying FullBoot.Boot.wpaprofile: https://i.imgur.com/FU104VQ.png
  30. #xperf xml: Boot action failed: No sleep transitions discovered.
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement