We all differ In the way we utilize our computer, Inclusive of the number of tasks performed, the duration of when the PC was not In use (Idle Mode) and when It actually went to sleep. Knowing such Information, can be of benefit to It's rightful owner, but how do you obtain It and from where? Well, In this tutorial, I will be demonstrating how to create a PC Sleep Diagnostics Report natively within the Windows 10 environment.
Put simply, you will learn how to create a report of when your PC was on Idle (not In use), the Idle duration and If and when It went to sleep. A snippet Is as per the above Image. So what's the purpose of this? You decide! Personally, If I had multiple users who had physical access to my system and I was not present at the time, I'd want to know the exact time, date and duration of when It was utilized. But that's just me, you may have other Intentions.
To achieve this, I will be using a simple command via the Command Prompt Itself, whereby It will generate the PC Sleep Diagnostics Report to a .html file which you can then view In your favorite web browser. So without further delay, let's get this tutorial happening.
Step One:
The first thing you need to do, Is access the Command Prompt. Open the Search bar, enter cmd and at the top, right-click Command Prompt and hit Run as administrator.
Step Two:
To create the PC Diagnostics Report, enter the following command:
powercfg /SystemSleepDiagnostics /output %USERPROFILE%\Desktop\System-Sleep-Diagnostics.html /Duration number of days
Replace the number of days, with the amount of days you want to view In the report. In my case, I've entered 7, so the report will display the last 7 days of activity.
Step Three:
A message will now be displayed, confirming that the report has been saved to the User Profile directory, In the form of a .html file.
Step Four:
Navigate to the above User Profile directory (obviously yours will differ), and you'll see the output file named System-Sleep-Diagnostics.html. Double-click It, and open It with your favorite web browser.
Step Five:
And here's the System Sleep Diagnostics report, that executed In my Google Chrome browser. As you can see, It contains the Time User Went Idle, Idle Duration and Sleep State Entered columns. The exact timestamp Is listed for each duration. My PC Is always running 24/7, hence only Working Is displayed under Sleep State Entered. If It did go Into sleep mode, the report would've documented Sleep.
Last Step:
Double-click on any entry that you see, and a detailed graph will be displayed for that particular session.
Final Thoughts:
I love the fact that the Sleep Diagnostics report, displays the exact timestamp of every session pertaining to your computer's activity/Inactivity. As mentioned, If your PC sleeps at any given point, the report will display exactly when- to the actual second!
There are a couple more options to choose from within the report, namely Power Requests and System Idle Events, so be sure to check these out In detail.
Comments
Post a Comment