Med Windows 10-jubileumsuppdateringen stöder Powercfg.exe en ny kommandoradströmbrytare som genererar en diagnostisk rapport om systemövergång.
Skapa diagnosrapport för system sömn
Öppna ett fönstret för kommandotolken och skriv:
powercfg / systemsleepdiagnostics
Kommandoradsargument stöds
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"
Här är ett exempel på Sleep Diagnostics Report (html).