D_baker
asked on
Make Monitor Turn off
Hello Experts,
I run a large network and have been asked to make all the monitors turn off after 5 minutes, The computers are all Windows XP SP2.
I thought i could do this by capturing the registry and importing it as a start up script but this failed to work.
Please can someone help.
Regards
DBaker
I run a large network and have been asked to make all the monitors turn off after 5 minutes, The computers are all Windows XP SP2.
I thought i could do this by capturing the registry and importing it as a start up script but this failed to work.
Please can someone help.
Regards
DBaker
ASKER
Here is the LOCAL MACHINE REGISTRY:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg]
"LastID"="6"
"DiskSpinDownMax"="3600"
"DiskSpinDownMin"="3"
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\GlobalPowe rPolicy]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,01,00,0 0,00,03,00 ,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\0]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,01,00,0 0,00,01,00 ,00,00,01, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,0 0,00,07,00 ,00,00,00, 00,04,00,\
00,c0,00,00,00,00,00,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\1]
"Policies"=hex:01,00,00,00 ,02,00,00, 00,03,00,0 0,00,03,00 ,00,00,03, 00,00,00,6 0,\
09,00,00,2c,01,00,00,80,25 ,00,00,f4, 1a,00,00,3 2,32,00,00 ,02,00,00, 00,04,00,\
00,c0,00,00,00,00,02,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\2]
"Policies"=hex:01,00,00,00 ,02,00,00, 00,03,00,0 0,00,02,00 ,00,00,02, 00,00,00,0 0,\
00,00,00,84,03,00,00,00,00 ,00,00,9c, 18,00,00,3 2,32,00,00 ,02,00,00, 00,04,00,\
00,c0,00,00,00,00,02,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\3]
"Policies"=hex:01,00,00,00 ,02,00,00, 00,04,00,0 0,00,02,00 ,00,00,02, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,5 a,5a,00,00 ,02,00,00, 00,04,00,\
00,c0,00,00,00,00,02,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\4]
"Policies"=hex:01,00,00,00 ,02,00,00, 00,04,00,0 0,00,02,00 ,00,00,02, 00,00,00,0 0,\
00,00,00,08,07,00,00,00,00 ,00,00,04, 29,00,00,5 a,5a,00,00 ,02,00,00, 00,04,00,\
00,c0,00,00,00,00,02,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\5]
"Policies"=hex:01,00,00,00 ,02,00,00, 00,04,00,0 0,00,03,00 ,00,00,03, 00,00,00,d c,\
05,00,00,b4,00,00,00,dc,05 ,00,00,98, 0d,00,00,3 2,0a,00,00 ,02,00,00, 00,04,00,\
00,c0,00,00,00,00,02,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\PowerPolic ies\6]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,01,00,0 0,00,01,00 ,00,00,01, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,0 0,00,07,00 ,00,00,00, 00,04,00,\
00,c0,00,00,00,00,00,00,00 ,00,04,00, 00,c0,00,0 0,00,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\0]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,00,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,03,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,03, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,46,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\1]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,03,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,03, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,46,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\2]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,03,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,02,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,03, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,46,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\3]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,00,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,03,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,00,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,03, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,50,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\4]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,03,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,03, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,46,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\5]
"Policies"=hex:01,00,00,00 ,01,00,00, 00,03,00,0 0,00,00,00 ,00,00,03, 00,00,00,a 0,\
86,01,00,a0,86,01,00,a0,86 ,01,00,28, 32,00,00,0 2,00,00,00 ,a0,86,01, 00,a0,86,\
01,00,a0,86,01,00,28,3c,00 ,00,02,00, 00,00,a0,8 6,01,00,a0 ,86,01,00, a0,86,01,\
00,28,50,00,00,01,00,00,00 ,01,00,00, 00,02,00,0 0,00,00,00 ,00,00,03, 00,00,00,\
a0,86,01,00,a0,86,01,00,a0 ,86,01,00, 0a,14,00,0 0,02,00,00 ,00,a0,86, 01,00,a0,\
86,01,00,a0,86,01,00,14,28 ,00,00,02, 00,00,00,a 0,86,01,00 ,a0,86,01, 00,a0,86,\
01,00,14,41,00,00,01,00,00 ,00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Cont rols Folder\PowerCfg\ProcessorP olicies\6]
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- --
Here is the CURRENT USER REGISTRY
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\PowerCfg]
"CurrentPowerPolicy"="6"
[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPower Policy]
"Policies"=hex:01,00,00,00 ,00,00,00, 00,03,00,0 0,00,10,00 ,00,00,00, 00,00,00,0 3,\
00,00,00,10,00,00,00,00,00 ,00,00,03, 00,00,00,0 0,00,00,00 ,00,00,00, 00,03,00,\
00,00,00,00,00,00,00,00,00 ,00,01,00, 00,00,00,0 0,00,00,00 ,00,00,00, 01,00,00,\
00,00,00,00,00,01,00,00,00 ,03,00,00, 00,00,00,0 0,00,04,00 ,00,c0,01, 00,00,00,\
01,00,00,00,01,00,00,00,0a ,00,00,00, 00,00,00,0 0,03,00,00 ,00,01,00, 01,00,01,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,0 0,00,00,00 ,00,00,02, 00,00,00,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,0 0,00,00,00 ,00,03,00, 00,00,00,\
00,16,00,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es]
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\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,0 0,00,00,00 ,00,00,00, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,3 2,32,00,03 ,01,00,00, 00,01,00,\
00,00,00,00,3d,77,2e,f2,07 ,00,2c,01, 00,00,2c,0 1,00,00,00 ,00,00,00, 58,02,00,\
00,01,01,64,64,64,64,91,7c
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\1]
"Name"="Portable/Laptop"
"Description"="This scheme is designed for extended battery life for portable computers on the road."
"Policies"=hex:01,00,00,00 ,02,00,00, 00,01,00,0 0,00,00,00 ,00,00,02, 00,00,00,0 1,\
00,00,00,00,00,00,00,b0,04 ,00,00,2c, 01,00,00,3 2,32,03,03 ,04,00,00, 00,04,00,\
00,00,00,00,00,00,00,00,00 ,00,84,03, 00,00,2c,0 1,00,00,08 ,07,00,00, 2c,01,00,\
00,01,01,64,50,64,64,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\2]
"Name"="Presentation"
"Description"="This scheme keeps the monitor on for doing presentations."
"Policies"=hex:01,00,00,00 ,02,00,00, 00,01,00,0 0,00,00,00 ,00,00,02, 00,00,00,0 1,\
00,00,00,00,00,00,00,00,00 ,00,00,84, 03,00,00,3 2,32,03,02 ,04,00,00, 00,04,00,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,0 0,00,00,00 ,00,00,00, 2c,01,00,\
00,01,01,50,50,64,64,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\3]
"Name"="Always On"
"Description"="This scheme keeps the computer running so that it can be accessed from the network. Use this scheme if you do not have network wakeup hardware."
"Policies"=hex:01,00,00,00 ,02,00,00, 00,01,00,0 0,00,00,00 ,00,00,02, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,3 2,32,00,00 ,04,00,00, 00,04,00,\
00,00,00,00,00,00,00,00,00 ,00,b0,04, 00,00,84,0 3,00,00,00 ,00,00,00, 08,07,00,\
00,00,01,64,64,64,64,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\4]
"Name"="Minimal Power Management"
"Description"="This scheme keeps the computer on and optimizes it for high performance."
"Policies"=hex:01,00,00,00 ,02,00,00, 00,01,00,0 0,00,00,00 ,00,00,02, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,2c, 01,00,00,3 2,32,03,03 ,04,00,00, 00,04,00,\
00,00,00,00,00,00,00,00,00 ,00,84,03, 00,00,2c,0 1,00,00,00 ,00,00,00, 84,03,00,\
00,00,01,64,64,64,64,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\5]
"Name"="Max Battery"
"Description"="This scheme is extremely aggressive for saving power."
"Policies"=hex:01,00,00,00 ,02,00,00, 00,01,00,0 0,00,00,00 ,00,00,02, 00,00,00,0 5,\
00,00,00,00,00,00,00,b0,04 ,00,00,78, 00,00,00,3 2,32,03,02 ,04,00,00, 00,04,00,\
00,00,00,00,00,00,00,00,00 ,00,84,03, 00,00,3c,0 0,00,00,00 ,00,00,00, b4,00,00,\
00,01,01,64,32,64,64,00,00
[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolici es\6]
"Policies"=hex:01,00,00,00 ,00,00,00, 00,01,00,0 0,00,00,00 ,00,00,00, 00,00,00,0 0,\
00,00,00,00,00,00,00,00,00 ,00,00,00, 00,00,00,3 2,32,00,03 ,01,00,00, 00,01,00,\
00,00,00,00,3d,77,2e,f2,07 ,00,2c,01, 00,00,2c,0 1,00,00,00 ,00,00,00, 58,02,00,\
00,01,01,64,64,64,64,91,7c
"Name"="5 Min Monitor"
"Description"=""
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA
"LastID"="6"
"DiskSpinDownMax"="3600"
"DiskSpinDownMin"="3"
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,c0,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
09,00,00,2c,01,00,00,80,25
00,c0,00,00,00,00,02,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
00,00,00,84,03,00,00,00,00
00,c0,00,00,00,00,02,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,c0,00,00,00,00,02,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
00,00,00,08,07,00,00,00,00
00,c0,00,00,00,00,02,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
05,00,00,b4,00,00,00,dc,05
00,c0,00,00,00,00,02,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,c0,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,46,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,46,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,46,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,50,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,46,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
"Policies"=hex:01,00,00,00
86,01,00,a0,86,01,00,a0,86
01,00,a0,86,01,00,28,3c,00
00,28,50,00,00,01,00,00,00
a0,86,01,00,a0,86,01,00,a0
86,01,00,a0,86,01,00,14,28
01,00,14,41,00,00,01,00,00
[HKEY_LOCAL_MACHINE\SOFTWA
--------------------------
Here is the CURRENT USER REGISTRY
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control
"CurrentPowerPolicy"="6"
[HKEY_CURRENT_USER\Control
"Policies"=hex:01,00,00,00
00,00,00,10,00,00,00,00,00
00,00,00,00,00,00,00,00,00
00,00,00,00,00,01,00,00,00
01,00,00,00,01,00,00,00,0a
00,00,00,00,00,00,00,00,00
00,00,00,00,00,00,00,00,00
00,16,00,00,00
[HKEY_CURRENT_USER\Control
[HKEY_CURRENT_USER\Control
"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,00,00,00,00,00
00,00,00,00,3d,77,2e,f2,07
00,01,01,64,64,64,64,91,7c
[HKEY_CURRENT_USER\Control
"Name"="Portable/Laptop"
"Description"="This scheme is designed for extended battery life for portable computers on the road."
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,b0,04
00,00,00,00,00,00,00,00,00
00,01,01,64,50,64,64,00,00
[HKEY_CURRENT_USER\Control
"Name"="Presentation"
"Description"="This scheme keeps the monitor on for doing presentations."
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,00,00,00,00,00,00,00,00
00,01,01,50,50,64,64,00,00
[HKEY_CURRENT_USER\Control
"Name"="Always On"
"Description"="This scheme keeps the computer running so that it can be accessed from the network. Use this scheme if you do not have network wakeup hardware."
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,00,00,00,00,00,00,00,00
00,00,01,64,64,64,64,00,00
[HKEY_CURRENT_USER\Control
"Name"="Minimal Power Management"
"Description"="This scheme keeps the computer on and optimizes it for high performance."
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,00,00,00,00,00,00,00,00
00,00,01,64,64,64,64,00,00
[HKEY_CURRENT_USER\Control
"Name"="Max Battery"
"Description"="This scheme is extremely aggressive for saving power."
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,b0,04
00,00,00,00,00,00,00,00,00
00,01,01,64,32,64,64,00,00
[HKEY_CURRENT_USER\Control
"Policies"=hex:01,00,00,00
00,00,00,00,00,00,00,00,00
00,00,00,00,3d,77,2e,f2,07
00,01,01,64,64,64,64,91,7c
"Name"="5 Min Monitor"
"Description"=""
>>and importing it as a start up script but this failed to work.
I was really looking for details of your current import method, and how is it failing.
When you say it fails, are you saying the registry fails to get imported, or are you saying the imported data fails to do what you want?
I was really looking for details of your current import method, and how is it failing.
When you say it fails, are you saying the registry fails to get imported, or are you saying the imported data fails to do what you want?
ASKER
The import is succesfull, however the screens do not turn off. I have also looked at writing something in VB6 but the program needs to stay resident and turn off the monitor after 15 mins of idle time.
EG Computer turns on>>>>MY PROGRAM LOADS AS SERVICES>>>>15mins Idle>>>>>Turn off monitor>>>>User presses a key to wake up>>>>>>15 mins idle>>>>Turn off Monitor
Is this possible?
EG Computer turns on>>>>MY PROGRAM LOADS AS SERVICES>>>>15mins Idle>>>>>Turn off monitor>>>>User presses a key to wake up>>>>>>15 mins idle>>>>Turn off Monitor
Is this possible?
You can try using SystemParametersInfo API function.
Example:
SystemParametersInfo(SPI_S ETSCREENSA VETIMEOUT, ssTimeout, NULL, 0);
Example:
SystemParametersInfo(SPI_S
FYI:
To shutdown imidiately, you can use the following method:
SendMessage(GetTopWindow(N ULL), WM_SYSCOMMAND, (WPARAM)SC_MONITORPOWER, (LPARAM) 2);
To shutdown imidiately, you can use the following method:
SendMessage(GetTopWindow(N
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Ok so if i want the following to happen how do i do it: -
1. A program to stay in memory and run all the time, whether logged in or logged out (i thought maybe a service)
2. As the program is always loaded, it should look for 15 Mins idle time then turn off monitor
3. Once the user has woken the screen up it should continue to start again.
4. It should not be visable to anyone.
Many Thanks
1. A program to stay in memory and run all the time, whether logged in or logged out (i thought maybe a service)
2. As the program is always loaded, it should look for 15 Mins idle time then turn off monitor
3. Once the user has woken the screen up it should continue to start again.
4. It should not be visable to anyone.
Many Thanks
What's wrong with using the standard XP power-saving control panel to set these parameters?
Also many computers have this built into the BIOS settings pages.
Also many computers have this built into the BIOS settings pages.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Can you please post your current code?
Cheers!