{"id":729,"date":"2011-07-18T14:40:28","date_gmt":"2011-07-18T13:40:28","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=729"},"modified":"2011-07-18T15:56:33","modified_gmt":"2011-07-18T14:56:33","slug":"create-a-custompowersave-using-powercfg-cmd","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2011\/07\/create-a-custompowersave-using-powercfg-cmd\/","title":{"rendered":"Create a CustomPowerSave using PowerCFG (*.BAT)"},"content":{"rendered":"<p>This set of commands will create a new powersaving mode in XP with the name &#8220;CustomPowerSave&#8221; and set it as default. This has not been tested in Windows 7. You can drop this code below into a &#8220;CustomPowerSave.bat&#8221; file and run. This will also need some tweaking and testing to get working correctly.<\/p>\n<p><code><br \/>\nPOWERCFG \/CREATE CustomPowerSave<br \/>\nPOWERCFG \/CHANGE CustomPowerSave \/monitor-timeout-ac 5<br \/>\nPOWERCFG \/CHANGE CustomPowerSave \/disk-timeout-ac 10<br \/>\nPOWERCFG \/CHANGE CustomPowerSave \/standby-timeout-ac 20<br \/>\nPOWERCFG \/CHANGE CustomPowerSave \/hibernate-timeout-ac 0<\/p>\n<p>POWERCFG \/GLOBALPOWERFLAG off \/OPTION RESUMEPASSWORD<br \/>\nPOWERCFG \/SETACTIVE CustomPowerSave<br \/>\n<\/code><\/p>\n<p>Get switch options using:<br \/>\n<code>cmd -> powercfg \/? <\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This set of commands will create a new powersaving mode in XP with the name &#8220;CustomPowerSave&#8221; and set it as default. This has not been tested in Windows 7. You can drop this code below into a &#8220;CustomPowerSave.bat&#8221; file and run. This will also need some tweaking and testing to get working correctly. POWERCFG \/CREATE [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,16],"tags":[],"class_list":["post-729","post","type-post","status-publish","format-standard","hentry","category-bat","category-windows-xp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-bL","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=729"}],"version-history":[{"count":0,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/729\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}