Windows 10: Generate System Sleep Diagnostics Report in Windows 10  

    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 Category: Performance & Maintenance
    13 Mar 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 18,946

    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:	59 
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:	62 
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:	61 
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:	81 
Size:	229.5 KB 
ID:	100804


    That's it,
    Shawn


  1. DavidE's Avatar
    Posts : 351
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       02 Dec 2016 #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. Brink's Avatar
    Posts : 18,946
    64-bit Windows 10 Pro build 15063
       03 Dec 2016 #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. DavidE's Avatar
    Posts : 351
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       03 Dec 2016 #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:	27 
Size:	31.9 KB 
ID:	112321

    Thanks for the tutorial and help
      My System SpecsSystem Spec

  4. Brink's Avatar
    Posts : 18,946
    64-bit Windows 10 Pro build 15063
       03 Dec 2016 #4

    Anytime David.
      My System SpecsSystem Spec


 

Related Threads
System Health Report in Performance & Maintenance
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
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 Create Power Efficiency Diagnostics Report in Windows 10 in Tutorials
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....
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 Generate Battery Usage Report in Windows 10 in Tutorials
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...
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 09:03.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums