我正在尝试在一台使用 xbootmgr 登录速度很慢的计算机上运行启动跟踪。这是一台位于域中的 Windows 7 Professional 计算机。根据此网站上的指南:http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/我安装了 WPT,并以计算机本地管理员的身份从命令行运行以下命令:
xbootmgr –trace boot -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -postBootDelay 300 -resultPath C:\Boot_Trace
这个问题很奇怪,似乎经过一夜的等待后,计算机需要大约 10 分钟才能登录。但是,我在创建的 xbootmgr.log 文件中收到以下错误:
[2014/04/30-20:07:53.869] Performance Analyzer Power Transition Performance Testing Utility (Microsoft® Windows® Performance Analyzer) Version 6.2.9200 - © 2012 Microsoft Corporation. All rights reserved.
[2014/04/30-20:07:53.869] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.
[2014/04/30-20:07:53.869] Registering for auto-run with a 300000 msec delay...
[2014/04/30-20:07:53.869] Completed auto-run change.
[2014/04/30-20:07:53.885] Starting trace...
[2014/04/30-20:07:53.947] Enabled boot logging to 'C:\Boot_Trace\boot_BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY_1_km_premerge.etl'
[2014/05/01-09:39:54.888] Performance Analyzer Power Transition Performance Testing Utility (Microsoft® Windows® Performance Analyzer) Version 6.2.9200 - © 2012 Microsoft Corporation. All rights reserved.
[2014/05/01-09:39:54.888] Detected virtual prefetcher.
[2014/05/01-09:39:54.888] Stopping trace...
[2014/05/01-09:39:54.888] Couldn't find kernel logger in active logger list.
[2014/05/01-09:39:54.888] Couldn't find user-mode logger in active logger list.
[2014/05/01-09:39:54.904] Unable to stop trace.
[2014/05/01-09:39:54.904] Stopping trace...
[2014/05/01-09:39:54.904] Unregistering auto-run...
[2014/05/01-09:39:54.904] Failed to open auto-run reg key with 0x00000005.
我不确定它在寻找什么,关于“活动记录器列表中的内核记录器”和随后的记录器错误。我该如何修复这个问题并成功运行跟踪?