Suspending Screensaver and Power Scheme

D

David Wilkinson

Hi group,

Sorry for posting right away without lurking for a while. When I watch DVDs
on my computer, or download large files (56k modem) the screensaver or power
save scheme cuts in and spoils my plans.
I realise that I could go into screensaver manually every time and disable
it, but that is tedious. I thought there might be a utility to do it for me,
or a switch.
If there is a FAQ for this group which covers this question, please direct
me.
Thanks a bunch.

Dave W.
 
A

Austin M. Horst

Use two .reg files; one to turn off the power settings, the other to turn on the settings.
To execute a .reg file; double-click it and click [Yes] when prompted to write the data to the registry.

Code to turn off the screensaver and leave monitor & hard disks on:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="0"

[HKEY_CURRENT_USER\Control Panel\PowerCfg]
"CurrentPowerPolicy"="0"

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]
"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,00,02,00,00,00,02,00,\
00,00,60,00,00,00,43,00,3a,00,00,00,00,00,2c,01,00,00,00,00,00,00,58,02,00,\
00,00,00,64,64,64,64,65,00
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Copy the 13 lines within the hyphens - - - above (I'm counting the 3 blank lines, do not copy the hyphens - - -)
Paste it into Notepad
Save the file with a .reg extension (i.e. Off.reg) It does not matter where you save the file.

The power setting are in hexadecimal. Just tell me how many hours or minutes you want each of these:
Turn off monitor ?
Turn off hard disks ?
System standby ?

I'll convert it and plug it into the string of numbers in the "Policies" value.

The "off" setting was easy. All three are set to "Never".
That's why I could provide the "Off.reg" code already.

I'll send you the code for "On.reg" when you tell me the three settings that you want:
Turn off monitor: Must be between 1min - 5hrs or Never
Turn off hard disks: Must be between 3min - 5hrs or Never
System standby: Must be between 1min - 5hrs or Never

I can send both files by e-mail if you wish. Let me know.
I'll also reply to the group.


Austin M. Horst
 
D

David W

Thanks a bunch for that Austin. I'm familiar with hex, so I'm going to
search for these keys and save the existing ones before I script the "=0"
settings.
Thanks again.

Dave W.
 
A

Austin M. Horst

The "On.reg" file should look like this:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="1"

[HKEY_CURRENT_USER\Control Panel\PowerCfg]
"CurrentPowerPolicy"="0"

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The only difference is lines 4 and 10-13 ("ScreenSaveActive"="1" and the "Policies"=hex:)
You will have to add the hexadecimal code.
"CurrentPowerPolicy"="0" does not change, but it's important to include in both.
"On.reg" will contain 13 total lines just like "Off.reg".


Austin M. Horst
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top