We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Problems setting power scheme to Always on for all users

MarkBourn
MarkBourn asked
on
Medium Priority
379 Views
Last Modified: 2012-06-22
I am having problems applying the "Always On" power scheme to all users on my new build.  I can change this in the hkey users to value 3 which is "Always on" but this does not save across to new users logging on.  

Usually I would make my changes and apply the profile ontop of the default user but on this build I would like to avoid this by correctly tweaking the registry etc to achive my settings.

Thanks
Comment
Watch Question

Hi MarkBourn,

I would download the following energy saving group policy plugins and then you can control all the power settings for all users via group policy.
http://www.energystar.gov/index.cfm?c=power_mgt.pr_pm_ez_gpo

Hope this Helps,
Oli

Author

Commented:
I weould like to do this at OS level without having to rely on 3rd party snapins that might compromise my stadard build - There must be a way to do this on the operating system itself - I can do this by setting my preferences as a admin user then copying this profile over the default user but this is not the way I want to do this as it might cause issues .

OK, I would add that this is a GPO addon used by thousands of companies worldwide including some of the biggest tech firms in the world, all it does is tell the Group Policy editor what registry keys need to be changed for the required defaults and then applies it for you on all machines, so is really no security risk.  However if you want to do it manually I believe the reg key you need is:

Key: [HKEY_USERS\.DEFAULT\Control Panel\PowerCfg]
String name: CurrentPowerPolicy
Data Type: REG_SZ (String Value)

Values:
0 - Home/Office desktop
1 - Portable/Laptop computer
2 - Monitor on for presentations
3 - Network computer (no Wake-on-LAN)
4 - Optimized for high performance
5 - Optimized for power saving

More info can be found here: http://www.winguides.com/registry/display.php/1106/

Is this what you are looking for?

Oli

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I have seen the above mentioned in a previous article but it has a flaw... This does not work

I log on as user 1 and config the above registry key and then log on as a new user - this new user gets power scheme 1

I have since reading your last comment found the reason and fix for this ....

1. I loaded the default user hive into KHLM and checked the \control panel\powercfg setting and this was set to 1 .
2. changed this to 3 and unloaded the hive -
3. loggeds on as new user - this now carries the setting across.

I then changed this setting in the default user hive back to 1 and logged back on as a new user - sure enough the power scheme changed back to the original

Summary HKEY_USERS\.DEFAULT\Control Panel\PowerCfg makes no difference to ALL USERS logging on whereas
Default User Hive\control panel\powercfg Does make a difference to all users loggin in.

Thsi has been tested under a Windows 2000 environment and I will test under XP to clarify this was carried across
OK, I will be interested to here the results.

Oli
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.