This sample batch file mentioned below will get you started on your power management configuration on how to manage power management profiles in Windows Vista and Windows 7.

Note: You can now use the new Group policies as well which is natively available in Windows to manage such settings centrally the choice is yours.

before makaing any changes to you can always run the following command

POWERCFG -getactivescheme ( before and after the configuration changes )


POWERCFG -DUPLICATESCHEME 381b4222-f694-41f0-9685-ff5bb260df2e 381b4222-f694-41f0-9685-ff5bb260fafa
POWERCFG -CHANGENAME 381b4222-f694-41f0-9685-ff5bb260fafa "Head Office"
POWERCFG -SETACTIVE 381b4222-f694-41f0-9685-ff5bb260fafa
POWERCFG -Change -monitor-timeout-ac 25
POWERCFG -CHANGE -standby-timeout-ac 0
POWERCFG -CHANGE -hibernate-timeout-ac 0
powercfg.exe -hibernate off




http://technet.microsoft.com/en-us/library/cc748940(WS.10).aspx

Good Luck :)