Windows Performance Toolkit, one of the components of Windows Assessment and Deployment Kit (Windows ADK), allows you to collect information on the stages of loading the OS to detect incorrect behavior of drivers and utilities that work during Windows startup.
To get started, download ADK for your OS release. Then install Windows Performance Toolkit. Create a directory where the OS boot logging will take place, for example C:\Trace. Close all programs and save open files - prepare Windows for reboot.
Use the following commands to start statistics collection (with elevated privileges):
Loading:
xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Hibernate:
xbootmgr -trace hibernate -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Standby:
xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Shutdown:
xbootmgr -trace shutdown -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
After the system reboots and the xbootmgr utility finishes working, three files will appear in the C:\Trace folder. If suddenly there are more of them, wait until the utility finishes all operations. You can force the "xperf –stop" command to stop execution when the utility does not finish long enough. The "xperf –remove" command also allows you to cancel the task if suddenly the logs continue to be collected at the next system reboots. You can view statistical information by opening the ".etl" file using Windows Performance Analyzer, which will also be installed with Windows Performance Toolkit.
To get started, download ADK for your OS release. Then install Windows Performance Toolkit. Create a directory where the OS boot logging will take place, for example C:\Trace. Close all programs and save open files - prepare Windows for reboot.
Use the following commands to start statistics collection (with elevated privileges):
Loading:
xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Hibernate:
xbootmgr -trace hibernate -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Standby:
xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
Shutdown:
xbootmgr -trace shutdown -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\Trace
After the system reboots and the xbootmgr utility finishes working, three files will appear in the C:\Trace folder. If suddenly there are more of them, wait until the utility finishes all operations. You can force the "xperf –stop" command to stop execution when the utility does not finish long enough. The "xperf –remove" command also allows you to cancel the task if suddenly the logs continue to be collected at the next system reboots. You can view statistical information by opening the ".etl" file using Windows Performance Analyzer, which will also be installed with Windows Performance Toolkit.
No comments:
Post a Comment