Generate System Sleep Diagnostics Report Using PowerCfg.exe in Windows 10

With the Windows 10 Anniversary Update, Powercfg.exe supports a new command-line switch that generates a diagnostic report of system sleep transitions.

Generate System Sleep Diagnostics Report

Open a Admin Command Prompt window, and type:

powercfg /systemsleepdiagnostics

Command-line arguments supported

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"

powercfg sleep diagnostics report



Here is a sample Sleep Diagnostics Report (html).


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment