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
    19 Apr 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 30,741

    Show Printable Version 


    How to Generate a System Sleep Diagnostics Report in Windows 10


    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:	431 
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)

    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

    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:	228 
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)

    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:	338 
Size:	79.5 KB 
ID:	100803

    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:	333 
Size:	229.5 KB 
ID:	100804


    That's it,
    Shawn



  1. Posts : 357
    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 ComputerSystem Spec


  2. Posts : 30,741
    64-bit Windows 10 Pro build 17713
    Thread Starter
       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 ComputersSystem Spec


  3. Posts : 357
    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:	279 
Size:	31.9 KB 
ID:	112321

    Thanks for the tutorial and help
      My ComputerSystem Spec


  4. Posts : 30,741
    64-bit Windows 10 Pro build 17713
    Thread Starter
       03 Dec 2016 #4

    Anytime David. :)
      My ComputersSystem Spec

  5.    12 Jan 2018 #5

    Thank you for this. I've recently restarted participating in PrimeGrid. I have EVERY setting in BIOS and Windows set to High Performance and the sleep to 'NEVER' eveywhere yet every day I get back from work, the damn thing's sleeping. I will test this out this afternoon .
      My ComputerSystem Spec


 

Tutorial Categories

Generate System Sleep Diagnostics Report in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Performance & Maintenance Generate Battery Usage Report in Windows 10 in Tutorials
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 how to generate a detailed battery usage report for your...
System Health Report in Performance & Maintenance
: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: ...
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). ...
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