System Sleep Diagnostics Report - Generate in Windows 10

    System Sleep Diagnostics Report - Generate in Windows 10

    How to Generate a System Sleep Diagnostics Report in Windows 10
    Published by
    2016-09-10
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 17,529

    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:	40 
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:	48 
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:	41 
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:	60 
Size:	229.5 KB 
ID:	100804


    That's it,
    Shawn



  1. Joined : Oct 2014
    Posts : 330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       2016-12-02 #1

    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 System SpecsSystem Spec


  2. Joined : Oct 2013
    Posts : 17,529
    64-bit Windows 10 Pro build 15014
       2016-12-03 #2

    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 System SpecsSystem Spec


  3. Joined : Oct 2014
    Posts : 330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       2016-12-03 #3

    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:	15 
Size:	31.9 KB 
ID:	112321

    Thanks for the tutorial and help
      My System SpecsSystem Spec


  4. Joined : Oct 2013
    Posts : 17,529
    64-bit Windows 10 Pro build 15014
       2016-12-03 #4

    Anytime David.
      My System SpecsSystem Spec


 


Similar Threads
Tutorial Category
System Health Report
System Health Report - Generate and View in Windows 8.1 Give perfmon /report in File Explorers address bar, in Run Dialog or Command Prompt to receive a System Health Report like in Windows 7: 27679 27680
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
Power Efficiency Diagnostics Report - Create 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
Battery Usage Report - Generate in Windows 10
How to Generate Report of Battery Usage 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...
Tutorials
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 12:24.
Find Us
Twitter Facebook Google+



Windows 10 Forums