Windows 10でPowerCfg.exeを使用してシステムスリープ診断レポートを生成する

Windows 10 Anniversary Updateにより、Powercfg.exeは、システムのスリープ遷移の診断レポートを生成する新しいコマンドラインスイッチをサポートします。

システムスリープ診断レポートを生成する

管理コマンドプロンプトウィンドウを開き、次のように入力します。

 powercfg / systemsleepdiagnostics 

サポートされているコマンドライン引数

POWERCFG /SYSTEMSLEEPDIAGNOSTICS [/OUTPUT ] [/XML] Description: Generates a report of intervals when the user was not present over the last three days on the system, and if the system went to sleep. The command will generate an HTML report file in the current path. Parameter List: /OUTPUT Specify the path and filename to store the system sleep diagnostics report HTML or XML file. /XML Format the report file as XML. /DURATION Specify the number of days to analyze for the report. /TRANSFORMXML Reformat an XML report file as HTML. Examples: POWERCFG /SYSTEMSLEEPDIAGNOSTICS POWERCFG /SYSTEMSLEEPDIAGNOSTICS /OUTPUT "system-sleep-diagnostics.html" POWERCFG /SYSTEMSLEEPDIAGNOSTICS /OUTPUT "system-sleep-diagnostics.xml" /XML POWERCFG /SYSTEMSLEEPDIAGNOSTICS /TRANSFORMXML "system-sleep-diagnostics.xml" 

以下は、睡眠診断レポートのサンプルです(html)。

関連記事