Jump to content

[Question] - Power Options in WinXP


Chris.Casey

Recommended Posts

Morning All,

We have a problem that PC's that are on a slow network connection do not seem to pick up the domain policy on the power options that we have set.

This causes problems as some of these pc's have software on them that needs to be backed up and it isn't as the pc is in standby mode.

Is there a registry edit / batch command that can set the power options or does it have to be done manually?

The options I want to use are:

Turn off Monitor: 30 mins

Turn off hard disks: Never

System standby: Never

Also to disable the hibernation.

Any help greatly appreciated.

Thanks.

Title Edited - Please follow new forum rules from now on

-- Martin L

Link to comment
Share on other sites


Hi,

To disable hibernate, you can use these registry settings:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Power]
"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00

Good luck,

Andy

Edited by Fencer128
Link to comment
Share on other sites

For current user only, I have set my options and I have exported the key in Policie ..

;Mise en veille du moniteur au bout de 20 minutes
[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]
"Policies"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,
03,00,00,00,00,00,00,80,00,00,00,00,03,00,00,00,00,00,00,80,00,00,00,00,01,00,00,00,00,00,00,80,00,0
0,00,00,01,00,00,00,00,00,00,80,01,00,00,00,03,00,00,00,00,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,0
0,03,00,00,00,00,00,10,00,00,00

Same as what you want but with monitor to 20min

@Fencer128:

You can just use

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"Heuristics"=hex& #58;05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00

EDIT: You must force the value to ONE line because forum brokes lines ...

Edited by sonic
Link to comment
Share on other sites

Here's a .cmd which resets the values

@echo off
for /f "skip=2 tokens=1,2" %%a in ('powercfg /q') do if %%a equ Name set sch=%%b
powercfg /x %sch% /monitor-timeout-ac 30
powercfg /x %sch% /disk-timeout-ac 0
powercfg /x %sch% /standby-timeout-ac 0

Link to comment
Share on other sites

  • 4 weeks later...

Actually...I came across this freeware application the other day called BeyondExec.

http://www.beyondlogic.org/solutions/remot.../BeyondExec.htm

It allows you to spawn processes on a remote machine, provided you have Admin privs on that machine of course. You could take care of the hibernation issue by passing a simple command to each machine:

beyondexecv2.exe \\computername -s -r powercfg /hibernate off

The -s tells it to run under the SYSTEM account. The -r tells it to remove the BeyondExec service when the command completes.

Fortunately, hibernation is a workstation level setting so you only have to do it once per machine.

Link to comment
Share on other sites

To apply for all users you can run your command in cmdlines.txt .. but it's not machine dependant ...

@all:

Is it possible to disable the Sleep button (in french "Mise en veille") .. same effect as non-installed graphic drivers ?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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