Jump to content

Recommended Posts

Posted (edited)

I need

Monitor 2 hours

Hard disk 2 Hours

standby never

I 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 by clivebuckwheat

Posted

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.

Posted

Doesn't work, all options still say never

I need 2, 2 and never

Windows 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

Posted (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 by strel
Posted

I changed the settings that I wanted in the Home/Office policy

to 2,2 NEVER

Applied them

exported the appropriate regkeys

changed the settings back to

never, never, never

imported the regkeys with the settings I want.

checked power options

still set to never, never, never

rebooted just to make sure, still the same.

Posted

got it working with

POWERCFG.EXE /NUMERICAL /CHANGE 0 /monitor-timeout-ac 120
POWERCFG.EXE /NUMERICAL /CHANGE 0 /disk-timeout-ac 120
POWERCFG.EXE /NUMERICAL /CHANGE 0 /standby-timeout-ac 0
POWERCFG.EXE /NUMERICAL /SETACTIVE 0

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...