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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Check out this link my man:

It's long, but looks like it'll do what you want.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
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.
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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.
Did you try HKLM?

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Laptops Notebooks

From novice to tech pro — start learning today.