Joseph wrote:
> I have been looking for a good reference on how to deploy power settings
> during an unattended install or any tips you can provide. I use network
> based unattended installs and make every effort not to have to hit a machine
> to change anything manually once built. One of my main struggles are
> laptops. Out of the box they are set to the Portable/Laptop Scheme which
> will set the machine to standby after so long on a fresh build. I'd like to
> modify this scheme upon deployment and ensure it is the default even if a
> user has never logged on.
>
> Has anyone had any luck with something like this?
>
> I currently use powercfg.exe in a post install script to set some power
> options, but it does not affect the default user or power scheme set by
> default when the pc is first built.
>
>
Try setting the Default User PowerCfg registry keys. This will set the
power scheme for the Default User that will apply to any new accounts
created after you modify the Default User profile.
HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\CurrentPowerPolicy string value.
The power policy number refers to the PowerPolicies keys below
\PowerCfg, so you can look there to see the names that apply to the
number you want to set in the string above.
You can apply this same key to HKCU to change the current user power
profile. I know this key works and I assume the Default User key works
the same way. (This will also change the power options for the Welcome
Screen, which uses the default profile.)
--
Kent W. England, Microsoft MVP for Windows Security
|