{"id":4041,"date":"2016-09-12T09:30:50","date_gmt":"2016-09-12T04:00:50","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=4041"},"modified":"2019-05-12T02:53:47","modified_gmt":"2019-05-12T02:53:47","slug":"generate-system-sleep-diagnostics-report-using-powercfg-exe-windows-10","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/generate-system-sleep-diagnostics-report-using-powercfg-exe-windows-10\/","title":{"rendered":"Generate System Sleep Diagnostics Report Using PowerCfg.exe in Windows 10"},"content":{"rendered":"<p>With the Windows 10 Anniversary Update, Powercfg.exe supports a new command-line switch that generates a diagnostic report of system sleep transitions.<!--more--><\/p>\n<h2>Generate System Sleep Diagnostics Report<\/h2>\n<p>Open a <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">Admin Command Prompt<\/a> window, and type:<\/p>\n<pre>powercfg \/systemsleepdiagnostics<\/pre>\n<h2>Command-line arguments supported<\/h2>\n<pre><code>POWERCFG \/SYSTEMSLEEPDIAGNOSTICS [\/OUTPUT ] [\/XML]\r\n\r\nDescription:\r\n  Generates a report of intervals when the user was not present over the last\r\n  three days on the system, and if the system went to sleep. The command will\r\n  generate an HTML report file in the current path.\r\n\r\nParameter List:\r\n  \/OUTPUT      Specify the path and filename to store the system sleep\r\n                         diagnostics report HTML or XML file.\r\n\r\n  \/XML                   Format the report file as XML.\r\n\r\n  \/DURATION        Specify the number of days to analyze for the report.\r\n\r\n  \/TRANSFORMXML    Reformat an XML report file as HTML.\r\n\r\nExamples:\r\n  POWERCFG \/SYSTEMSLEEPDIAGNOSTICS\r\n  POWERCFG \/SYSTEMSLEEPDIAGNOSTICS \/OUTPUT \"system-sleep-diagnostics.html\"\r\n  POWERCFG \/SYSTEMSLEEPDIAGNOSTICS \/OUTPUT \"system-sleep-diagnostics.xml\" \/XML\r\n  POWERCFG \/SYSTEMSLEEPDIAGNOSTICS \/TRANSFORMXML \"system-sleep-diagnostics.xml\"\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/powercfg-sleep-diag-1.png\" alt=\"powercfg sleep diagnostics report\" width=\"650\" height=\"794\" class=\"alignnone size-full wp-image-4043\" \/><\/p>\n<p>Here is a sample <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/system-sleep-diagnostics.html\">Sleep Diagnostics Report<\/a> (html).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the Windows 10 Anniversary Update, Powercfg.exe supports a new command-line switch that generates a diagnostic report of system sleep transitions.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,8],"tags":[],"class_list":["post-4041","post","type-post","status-publish","format-standard","hentry","category-general","category-windows-10"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4055,"url":"https:\/\/www.winhelponline.com\/blog\/generate-energy-usage-report-per-app-energy-estimation-engine-e3-dump-using-powercfg-exe\/","url_meta":{"origin":4041,"position":0},"title":"Generate Energy Usage Report Per App &#8211; Energy Estimation Engine (E3) Dump using PowerCfg.exe","author":"Ramesh","date":"September 15, 2016","format":false,"excerpt":"Windows 10 tracks energy usage data per app\/process, using the Energy Estimation Engine (E3) service for battery-powered devices. You can view the basic E3 data via the Battery settings page in Windows 10.Detailed Energy Usage Report using E3 DumpFor a comprehensive report, a complete E3 dump can be generated using\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"energy estimation engine powercfg srumutil","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/e3-battery-usage-app-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/e3-battery-usage-app-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/09\/e3-battery-usage-app-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":23829,"url":"https:\/\/www.winhelponline.com\/blog\/move-hiberfil-sys-hibernation-another-drive\/","url_meta":{"origin":4041,"position":1},"title":"Can I move Hibernation file (hiberfil.sys) to another drive?","author":"Ramesh","date":"April 26, 2021","format":false,"excerpt":"When you hibernate your computer, the system dumps the entire memory contents to a file named hiberfil.sys in the system root folder. It's a hidden & system file whose default size is 40 percent of total physical memory (RAM) on a Windows 10 computer. The fast startup feature also uses\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"hibernation file move using regedit","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/hiberfil-sys-registry-path-change.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4868,"url":"https:\/\/www.winhelponline.com\/blog\/disable-hibernation-without-disabling-fast-startup\/","url_meta":{"origin":4041,"position":2},"title":"How to Disable Hibernation Without Disabling Fast Startup","author":"Ramesh","date":"December 18, 2016","format":false,"excerpt":"Fast Startup is a feature in Windows 8 and 10, which speeds up the boot process significantly. With the Fast Startup feature enabled by default, when the user shuts down the computer, what happens under the hood is a hybrid shutdown sequence. When a user issues the shutdown command, all\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"hybrid sleep disabled - reduced mode","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/hybrid-sleep-missing.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5013,"url":"https:\/\/www.winhelponline.com\/blog\/switch-power-plans-quickly-via-desktop-right-click-menu-windows-10\/","url_meta":{"origin":4041,"position":3},"title":"Switch Power Plans Quickly via Desktop Right-click Menu in Windows 10","author":"Ramesh","date":"December 28, 2016","format":false,"excerpt":"Switching power plans require you to open Power Options applet from Control Panel, or from the Start button's right-click menu which can also accessed by pressing Win + X. This post tells you how to switch power plans using command-line or shortcut, which you can also implement in the context\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"switch power plan right-click menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/power-plans-switch-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/power-plans-switch-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/12\/power-plans-switch-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":69287,"url":"https:\/\/www.winhelponline.com\/blog\/hiberfile-type-not-support-hibernation\/","url_meta":{"origin":4041,"position":4},"title":"Powercfg: The hiberfile type does not support hibernation","author":"Ramesh","date":"January 4, 2024","format":false,"excerpt":"When you open the Power and sleep buttons and lid settings in Power Options, the Hibernate option may be missing from the dropdown. However, the \"Fast Startup\" option may be available. When you run Powercfg \/AVAILABLESLEEPSTATES or Powercfg \/A to report the sleep states available on the system, the output\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"power options - hibernate missing - dropdown","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/01\/hibernation-missing-power_options.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/01\/hibernation-missing-power_options.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/01\/hibernation-missing-power_options.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/01\/hibernation-missing-power_options.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3794,"url":"https:\/\/www.winhelponline.com\/blog\/stordiag-file-system-diagnostic-windows-10\/","url_meta":{"origin":4041,"position":5},"title":"File System and Storage Diagnostic Tool StorDiag.exe in Windows 10","author":"Ramesh","date":"August 12, 2016","format":false,"excerpt":"The Windows 10 Redstone 1 update silently adds a new console tool (StorDiag.exe) which can be used to collect storage and file system diagnostic logs. This is a useful tool for identifying problems with your hard drive or the file system, and the collected data can be helpful for troubleshooting\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/4041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=4041"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/4041\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=4041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=4041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=4041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}