Advertisement
MagicAndre1981

trace slow boot with disk activity with xbootmgr

May 4th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx the Win8.1 version also works on Windows 7), open the command prompt with admin rights.
  2.  
  3. Now run this command to capture a boot trace:
  4.  
  5. xbootmgr -trace boot -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+FILE_IO+FILENAME+POWER+FOOTPRINT+VIRT_ALLOC+MEMINFO+VAMAP+REFSET+MEMINFO_WS -stackwalk profile+CSwitch+ReadyThread+DiskReadInit+DiskWriteInit+VirtualAlloc+VirtualFree -postBootDelay 300 -resultPath C:\TEMP
  6.  
  7.  
  8. Let the countdown tick to 0 to trace 5 minutes of the activity after you reach the desktop.
  9.  
  10. Zip the generated .etl file as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement