Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

Problems setting power scheme to Always on for all users

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
0
MarkBourn
Asked:
MarkBourn
  • 3
  • 2
1 Solution
 
olifaragoCommented:
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
0
 
MarkBournAuthor 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 .

0
 
olifaragoCommented:
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
0
 
MarkBournAuthor 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
0
 
olifaragoCommented:
OK, I will be interested to here the results.

Oli
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now