clivebuckwheat Posted September 17, 2008 Share Posted September 17, 2008 (edited) I need Monitor 2 hoursHard disk 2 Hoursstandby neverI import this into the registry, but it always says Never for all fields, even after a reboot.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]"AcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\ 01,00,a0,86,01,00,a0,86,01,00,28,32,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\ 00,a0,86,01,00,28,3c,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\ 28,50,00,00,01,00,00,00"DcProcessorPolicy"=hex:01,00,00,00,03,00,00,00,00,00,00,00,03,00,00,00,a0,86,\ 01,00,a0,86,01,00,a0,86,01,00,0a,14,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\ 00,a0,86,01,00,14,28,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\ 14,46,00,00,01,00,00,00"AcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,02,00,00,00,03,\ 00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,08,a8,\ 09,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,80,7c,02,00,00,\ 00,02,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,\ 01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,02,00,00,00,01,\ 00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,20,1c,00,00,\ 16,88,41,7e,00,e0,fd,7f,78,e8,07,00,5a,88,41,7e,20,1c,00,00,00,64,64,00,02,\ 00,00,00,04,00,00,c0,00,00,00,00"DcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,02,00,00,00,03,\ 00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,ec,8e,\ 42,7e,02,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,03,00,00,02,00,00,\ 00,02,00,00,00,02,00,00,00,01,00,00,00,53,e4,90,7c,00,00,00,00,03,00,00,00,\ 01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,02,00,00,00,01,\ 00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,00,\ 01,00,00,00,00,00,00,00,c0,60,0a,00,e4,e7,07,00,58,02,00,00,00,64,64,00,02,\ 00,00,00,04,00,00,c0,00,00,00,00"Heuristics"=hex:05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]"Name"="Home/Office Desk""Description"="This scheme is suited to most home or desktop computers that are left plugged in all the time.""Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,00,03,02,00,00,00,02,00,\ 00,00,00,00,3d,77,2e,f2,07,00,20,1c,00,00,00,00,00,00,20,1c,00,00,58,02,00,\ 00,00,00,64,64,64,64,91,7c Edited September 17, 2008 by clivebuckwheat Link to comment Share on other sites More sharing options...
strel Posted September 18, 2008 Share Posted September 18, 2008 I told you, you don't use search function enough.Configure power settings the way you wanted and the export:;Set Power Configuration[HKEY_CURRENT_USER\Control Panel\PowerCfg]"CurrentPowerPolicy"="0"[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]"Policies"=hex:##,##,##,##,##,##,##,..............and ready to include in your unattended. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 18, 2008 Author Share Posted September 18, 2008 Doesn't work, all options still say neverI need 2, 2 and neverWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Control Panel\PowerCfg]"CurrentPowerPolicy"="0"[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]"Name"="Home/Office Desk""Description"="This scheme is suited to most home or desktop computers that are left plugged in all the time.""Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,00,03,02,00,00,00,02,00,\ 00,00,00,00,3d,77,2e,f2,07,00,20,1c,00,00,2c,01,00,00,20,1c,00,00,58,02,00,\ 00,01,01,64,64,64,64,91,7c Link to comment Share on other sites More sharing options...
strel Posted September 18, 2008 Share Posted September 18, 2008 (edited) This "Policies"=hex:##,##... your show are the defaults windows installs for Home/Office Desk. You have to configure your desired settings with control panel\power options, for the default Home/Office Desk policy, and then export the keys (maybe after rebooting once done changing the power settings).You should be able to make it default for new users too with:[HKEY_USERS\.DEFAULT\Control Panel\PowerCfg]"CurrentPowerPolicy"="0"[HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\PowerPolicies\0]"Policies"=hex:##,##,##,##,##,##,##,.............. Edited September 18, 2008 by strel Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 18, 2008 Author Share Posted September 18, 2008 I changed the settings that I wanted in the Home/Office policy to 2,2 NEVERApplied them exported the appropriate regkeyschanged the settings back tonever, never, neverimported the regkeys with the settings I want.checked power optionsstill set to never, never, neverrebooted just to make sure, still the same. Link to comment Share on other sites More sharing options...
strel Posted September 19, 2008 Share Posted September 19, 2008 Change power options, reboot, check the keys have changed from keys in post #3, export the keys. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 20, 2008 Author Share Posted September 20, 2008 got it working withPOWERCFG.EXE /NUMERICAL /CHANGE 0 /monitor-timeout-ac 120POWERCFG.EXE /NUMERICAL /CHANGE 0 /disk-timeout-ac 120POWERCFG.EXE /NUMERICAL /CHANGE 0 /standby-timeout-ac 0POWERCFG.EXE /NUMERICAL /SETACTIVE 0 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now