Set Advanced Power Options in GPO

I was wondering if there’s a specific GPO setting or reg setting to keep the following settings intact.  As of now, they seem to be profile specific.

To configure power system button functionality
1.      In Control Panel, click Performance and Maintenance, and then click Power Options.
2.      Click the Advanced tab.
3.      Under When I close the lid of my portable computer, “Do Nothing”.
4.      Under When I press the power button on my computer, “Shutdown”.
Under When I press the sleep button on my computer, “Do Nothing”.

Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

tamaneriConnect With a Mentor Commented:
Check out this link my man:

It's long, but looks like it'll do what you want.
acurreyConnect With a Mentor Commented:
Here is the remainder of the options for powercfg that can be used in the batch file that is created in the link from tamaneri.
Shift-3Connect With a Mentor Commented:
Also, if you have at least one Vista, Windows 7, or Server 2008 machine and you have Client Side Extensions installed on your XP laptops then you can configure these settings under the group policy node User Configuration\Preferences\Control Panel Settings\Power Options.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

johnb6767Connect With a Mentor Commented:
I dont think those options are configurable via powercfg.exe.

Plus the above link was for Vista, which is quite different....

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\GlobalPowerPolicy
HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy

Once you configure a policy on your machine that you want, you can try exporting the above two keys. Then create the Login script...

I captured writes in both keys, but I would expiriment with HKCU first and foremost.

If it is Local Machine, then a Machine Startup script would be needed, unless they are all local admins....
telvis007Author Commented:
Hi John,

Thanks for the speedy input....I captured the HKCU key first saved it.  Logged in as a new user, executed it and the settings did not take affect.
johnb6767Connect With a Mentor Commented:
Did you try HKLM?
babbahotepConnect With a Mentor Commented:

try Auto Shutdown manager at

its a power saving solution for networked computers, you can control every setting under the sun from a central console, no more registry fiddling...
remote startup, shutdown, standby, logoff... time based, rules based, event name it.

it automates power saving across your network and saves up 60-80% of the electricity idle computers use...Thats up to $80 per computer per year...
telvis007Author Commented:
Not have had time to go back due to the time line of this project
All Courses

From novice to tech pro — start learning today.