Generate System Sleep Diagnostics Report in Windows 10

    Generate System Sleep Diagnostics Report in Windows 10

    How to Generate a System Sleep Diagnostics Report in Windows 10

    Published by BrinkCategory: Performance & Maintenance
    10 Sep 2016 Last Updated: 15 Apr 2017 at 10:38

    Published by


    Brink's Avatar
    Administrator

    Posts: 24,367

    Show Printable Version 


    How to Generate a System Sleep Diagnostics Report in Windows 10

    information   Information
    A System Sleep Diagnostics generates a report of intervals when the user was not present (idle) over the last three or specified days on the system, and if the system went to sleep.

    This tutorial will sow you how to generate a System Sleep Diagnostics report to show intervals when a user went idle, idle duration, and sleep state entered in Windows 10.

    You must be signed in as an administrator to be able to run a System Sleep Diagnostics report.


    EXAMPLE: "powercfg /SystemSleepDiagnostics" usage
    Click image for larger version. 

Name:	System_Sleep_Diagnostics.png 
Views:	157 
Size:	76.3 KB 
ID:	100801


    Here's How:

    1. Open an elevated command prompt.

    2. Type the command you want to use below into the elevated command prompt, and press Enter. (see screenshot below)
    Note   Note
    It's recommended to save the report as a .html file to be able to easily use and read it.


    (For .html file with default 3 day duration)
    powercfg /SystemSleepDiagnostics /output %USERPROFILE%\Desktop\System-Sleep-Diagnostics.html

    (For .html file with specified duration)
    powercfg /SystemSleepDiagnostics /output %USERPROFILE%\Desktop\System-Sleep-Diagnostics.html /Duration days

    (For .xml file with default 3 day duration)
    powercfg /SystemSleepDiagnostics /output %USERPROFILE%\Desktop\System-Sleep-Diagnostics.xml /XML

    (For .xml file with specified duration)
    powercfg /SystemSleepDiagnostics /output %USERPROFILE%\Desktop\System-Sleep-Diagnostics.xml /XML /Duration days

    Note   Note
    Substitute days in the commands above with a number 1 to 14 to specify the number of days you want to analyze for the report.

    Click image for larger version. 

Name:	System_Sleep_Diagnostics_command.png 
Views:	106 
Size:	20.2 KB 
ID:	100808


    3. Open the System-Sleep-Diagnostics.html or System-Sleep-Diagnostics.xml file saved to your desktop to see the report in your default web browser (ex: Internet Explorer).

    4. This is a copy of my laptop's System Sleep Diagnostics report from a System-Sleep-Diagnostics.html file viewed in Internet Explorer as an example of what is reported. (see screenshots below)
    Note   Note
    Each interval is numbered. You can click on an interval (ex: 1) to jump straight to its analysis results.


    Click image for larger version. 

Name:	System_Sleep_Diagnostics-1.png 
Views:	116 
Size:	79.5 KB 
ID:	100803

    Note   Note
    This is an example analysis result for interval 1. Each interval will have its own separate analysis result to review.


    Click image for larger version. 

Name:	System_Sleep_Diagnostics-2.png 
Views:	156 
Size:	229.5 KB 
ID:	100804


    That's it,
    Shawn


  1.    02 Dec 2016 #1
    Join Date : Oct 2014
    Posts : 357
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64

    The S0 Working state is new to me, is it a new sleep state in Win 10 ?
    What does it really mean when it shows Sleep State Entered as Working ?
    Does Win 10 enter this state because it is running some Windows maintenance task(s) ?

    Here is a quote from MSDN that to me sounds like it really isn't sleeping (i hi-lighted in red)
    Working state (S0)

    During the working state, the system is awake and running. In simple terms, the device is "on." Whether the screen is on or off, the device is in a full running state. To conserve energy, especially on battery powered devices, we highly recommend powering-down hardware components when they're not being used.
    Source: System Power States (Windows)

    tyia
      My ComputerSystem Spec
  2.    03 Dec 2016 #2
    Join Date : Oct 2013
    Posts : 24,367
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Hello David,

    The S0 state basically is the normal fully on and running state. The computer is on and running, and not asleep or hibernate.
      My ComputersSystem Spec
  3.    03 Dec 2016 #3
    Join Date : Oct 2014
    Posts : 357
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64

    Hi Shawn,

    I was hoping to find out why the PC did not sleep when it should have.
    Now i know this WORKING (running) state can happen when Win 10 should be sleeping.
    Here's a snip of a report that shows some info not in the tutorial report.

    Click image for larger version. 

Name:	W10Sleep.png 
Views:	79 
Size:	31.9 KB 
ID:	112321

    Thanks for the tutorial and help
      My ComputerSystem Spec
  4.    03 Dec 2016 #4
    Join Date : Oct 2013
    Posts : 24,367
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Anytime David.
      My ComputersSystem Spec

 


Similar Threads
Tutorial Category
Performance & Maintenance Generate Battery Usage Report in Windows 10
How to Generate Battery Usage Report in Windows 10 A battery usage report will help you know more about the usage, health, and life estimates characteristics of your PC's battery over the lifetime of the system. This tutorial will show you...
Tutorials
System Health Report
:arrow: Generate System Diagnostics Report in Windows 10 - Windows 10 Performance Maintenance Tutorials Give perfmon /report in File Explorers address bar, in Run Dialog or Command Prompt to receive a System Health Report like in Windows 7: ...
Performance & Maintenance
Perfmon/report system health report function missing ?
I just wanted to know if MS removed the system health report feature from performance monitor. If so how do you start a system health report in Windows 10, it seems to differ from Windows 7 where you can find in advanced tools "Generate a system...
Performance & Maintenance
Performance & Maintenance Create Power Efficiency Diagnostics Report in Windows 10
How to Create a Power Efficiency Diagnostics Report in Windows 10 The Power Efficiency Diagnostics will analyze your system for common energy efficiency and battery life problems, and report any errors, warnings, and informational details found....
Tutorials
How to Respond to This System Diagnostic Report?
I ran the System Diagnostics Report that is generated in Computer Management under Performance--Data Collector Sets--System—System Diagnostics. Here is a screenshot summary of the results (the full System Diagnostic Report is 123 pages long). ...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:49.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums