Troubleshooting Slow Shutdowns with Xbootmgr

by Chris Sanders [Published on 22 March 2011 / Last Updated on 31 Jan. 2010]

There’s nothing more frustrating than waiting on your laptop to shut down so you can head out the door. The Xbootmgr utility from Microsoft can help troubleshoot lethargic shutdowns.

The last thing you want to do at 5 o’clock on a Friday afternoon is wait ten minutes for your laptop to shut down so that you can hit the road. Sometimes, a slow shutdown can be even more frustrating than a slow startup.

Luckily, Microsoft has a utility that can help with lethargic shutdowns. The Xbootmgr utility is included as a part of the Windows Performance Toolkit. You can schedule this utility to run with the command:

Xbootmgr.exe –trace shutdown –traceflags latency+dispatcher –numrums 1

The utility will reboot your computer twice (once, plus the number specified by the numruns switch), and when it is done it will generate an XML file detailing the shutdown of each process and the time it took for them to shutdown. Using this information you can determine where your shutdowns are stalling.

See Also

Featured Links