{"id":2450,"date":"2020-02-18T19:32:13","date_gmt":"2020-02-19T03:32:13","guid":{"rendered":"https:\/\/systemsolver.com\/StatlerBlog\/?p=2450"},"modified":"2020-02-18T19:32:13","modified_gmt":"2020-02-19T03:32:13","slug":"win10-command-line-sleep-and-hibernate","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2020\/02\/18\/win10-command-line-sleep-and-hibernate\/","title":{"rendered":"Win10 command line sleep and hibernate"},"content":{"rendered":"<pre><code class=\"x-hidden-focus\">powercfg \/change standby-timeout-ac 0\npowercfg \/change standby-timeout-dc 0\npowercfg \/change monitor-timeout-ac 0\npowercfg \/change monitor-timeout-dc 0\npowercfg \/change hibernate-timeout-ac 0\npowercfg \/change hibernate-timeout-dc 0<\/code><\/pre>\n<p>AC and DC determine &#8216;on battery&#8217; and &#8216;plugged in&#8217;, while 0 disables these options.<\/p>\n<pre><strong>powercfg \/list<\/strong><\/pre>\n<p>i.e.<\/p>\n<pre>C:\\Windows\\System32&gt;powercfg \/list\n\nExisting Power Schemes (* Active)\n-----------------------------------\nPower Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)\nPower Scheme GUID: 49ef8fc0-bb7f-488e-b6a0-f1fc77ec649b (Dell) *\n\n<strong>Export powercfg settings<\/strong><\/pre>\n<p>C:\\Windows\\System32&gt;powercfg \/export \/?<\/p>\n<p>POWERCFG \/EXPORT &lt;FILENAME&gt; &lt;GUID&gt;<\/p>\n<p>Description:<br \/>\nExports a power scheme, represented by the specified GUID, to the specified<br \/>\nfile.<\/p>\n<p>Parameter List:<br \/>\n&lt;FILENAME&gt; Specifies a fully-qualified path to a destination file.<\/p>\n<p>&lt;GUID&gt; Specifies a power scheme GUID. A power scheme GUID is returned<br \/>\nfrom the &#8220;POWERCFG \/LIST&#8221; command.<\/p>\n<p>Examples:<br \/>\nPOWERCFG \/EXPORT c:\\scheme.pow 381b4222-f694-41f0-9685-ff5bb260df2e<\/p>\n<p><strong>Import powercfg<\/strong><\/p>\n<pre>C:\\Windows\\System32&gt;powercfg \/import \/?\n\nPOWERCFG \/IMPORT &lt;FILENAME&gt; [&lt;GUID&gt;]\n\nDescription:\n  Imports a power scheme from the specified file.\n\nParameter List:\n  &lt;FILENAME&gt;    Specifies a fully-qualified path to a file generated by the\n                \"POWERCFG \/EXPORT\" command.\n\n  &lt;GUID&gt;        Specifies the GUID for the imported scheme. If no GUID is\n                specified, a new GUID will be created.\n\nExamples:\n  POWERCFG \/IMPORT c:\\scheme.pow<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>powercfg \/change standby-timeout-ac 0 powercfg \/change standby-timeout-dc 0 powercfg \/change monitor-timeout-ac 0 powercfg \/change monitor-timeout-dc 0 powercfg \/change hibernate-timeout-ac 0 powercfg \/change hibernate-timeout-dc 0 AC and DC determine &#8216;on battery&#8217; and &#8216;plugged in&#8217;, while 0 disables these options. powercfg \/list i.e. C:\\Windows\\System32&gt;powercfg \/list Existing Power Schemes (* Active) &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced) Power [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2450","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/2450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=2450"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/2450\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=2450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=2450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=2450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}