Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace


15 Aug 2011   #10
cluberti

Windows Server 2008 R2
 
 

Looks like you may have to reinstall, or at least do a repair installation to get it to run the command successfully.


My System SpecsSystem Spec
15 Aug 2011   #11
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

The command will run with +DRIVERS included. I think I'll just put up with the slow reboot times. In the last two Weeks I've done several clean and repair installs due to: Odd attachment display in SF

The last repair install is less than 5 days old.
My System SpecsSystem Spec
15 Aug 2011   #12
cluberti

Windows Server 2008 R2
 
 

Well, if you get adventurous, get a trace and start a thread .
My System SpecsSystem Spec
15 Aug 2011   #13
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

LOL, adventurous is what gets me in trouble.
My System SpecsSystem Spec
15 Aug 2011   #14
gregrocker
Microsoft MVP

 

Britton, this is one adventure not to be missed.

Have Carl explain the charts' and you see an almost 3D picture of Win7 booting. It is endlessly fascinating to me, and exceedingly generous of Carl's valuable time as the author of these programs.
My System SpecsSystem Spec
15 Aug 2011   #15
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Thanks Greg, I am planning on doing it, still messing things up experimenting.
My System SpecsSystem Spec
25 Sep 2011   #16
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

Cluberti, thanks for this great tutorial. It's very much appreciated.
My System SpecsSystem Spec
06 Feb 2012   #17
martinlest

Windows 7 Home Premium SP1 64-bit
 
 

I too get a BSOD. Have followed the instructions here to the letter (for Win7 x64). Is it the registry change that could cause this? Any ideas? Thanks.

Martin


Attached Thumbnails
-bsod.jpg  
My System SpecsSystem Spec
06 Feb 2012   #18
windowsuser7

Windows 7 Pro 32bit
 
 

cluberti,
I've been having some hibernation problems and wanted to pull a trace on it. I didn't see a command on here for hibernation so I pulled the parameters from the reboot command and set it to hibernate so my command looked like this:
xbootmgr –trace hibernate -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PR IORITY+REGISTRY -resultPath C:\hibernate_Trace
I was wondering if I did this right and if so, could I please get some help in decifering the results? Thank you in advance for your help.
My System SpecsSystem Spec
06 Feb 2012   #19
martinlest

Windows 7 Home Premium SP1 64-bit
 
 

Hi. Yes, thanks, excluding the +Drivers stopped the BSODs. But after the first reboot I get a screen saying 'Waiting for Prefetcher' and then the window below.

By the way, my O/S is on an SSD - I don't want any defragging to occur. Does the string I am entering into the cmd window cause any defragmenting of the drive?

xbootmgr –trace boot -traceFlags LATENCY+DISPATCHER+DISK_IO_INIT+NETWORKTRACE+MEMINFO+POWER+PERF_COUNTER+PRIORITY+REGISTRY+FILE_IO+FI LE_IO_INIT -postBootDelay 300 -stackWalk Profile+ProcessCreate+CSwitch+ReadyThread+Mark+ThreadCreate+DiskReadInit+DiskWriteInit+DiskFlushInit +RegSetValue+RegCreateKey+RegSetInformation -resultPath C:\Boot_Trace

Thanks again,

Martin


Attached Images
 
My System SpecsSystem Spec
Comment

 Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace




Tutorial Tools



Similar help and support threads for2: Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace
Windows 7 Tutorial Category
Solved Computer freeze/BSOD/reboot after sleep/hibernate error 41 BSOD Help and Support
Laptop will not sleep, hibernate or shutdown BSOD Help and Support
Turn Sleep/Hibernate mode into Shutdown? Performance & Maintenance
Solved Seven BSOD Shutdown, Hibernate or sleep BSOD Help and Support
Leave On, Sleep, Hibernate or Shutdown Chillout Room
Newbie - Recordings and shutdown/sleep/hibernate Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:58 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App