Power settings for Default User

  • Thread starter Thread starter William Oliveri
  • Start date Start date
W

William Oliveri

Hi all,

I've created a base image of Win2K for deployment with sysprep and ghost. I
would like to further customize that image by setting the default user power
settings to all be off (monitor, hard drive, etc) when a new profile is
created. These new images will be under Active Directory.

I've tried to set these settings by creating a test user, setting all the
power settings, screen saver, etc for that user. I then Logged off and
copied that user profile to the default user profile and I set the
permissions of that
profile to Everyone.

Everything works with this method but the darn Power settings. It worked
when I tested it
under the test user but when I copy that profile to the default user and
when I create
a new profile, it doesn't work :-(

Has anyone gotten this to work properly? We plan to be rolling out a load
of workstations and would like the default power settings to be set for
these machines.


Thanks for any help, suggestions, or comments.

Bill
 
William Oliveri said:
Everything works with this method but the darn Power settings. It worked
when I tested it
under the test user but when I copy that profile to the default user and
when I create
a new profile, it doesn't work :-(

Hi,

Try editing the defaultuser ntuser.dat setting this key the same as in HKCU
when your settings are those you want.
HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0\Policies

Of course, it assumes that the HKEY_CURRENT_USER\Control
Panel\PowerCfg\CurrentPowerPolicy is set to 0.

--
________________________________
Nicolas

"This behavior is by design" (Microsoft)
________________________________
 
Yes, I've tried this too by opening up defaultuser ntuser.dat with Regedt32,
editing the key and removing the hive from regedt32. When I bring up a new
user the settings are correct visually but it still does not work. There is
something else going on I can't see which is causing the power off to still
be in effect.

Anyone else have any suggestions on how to make this work?

Thanks in advance,

Bill
 
William Oliveri said:
Yes, I've tried this too by opening up defaultuser ntuser.dat with Regedt32,
editing the key and removing the hive from regedt32. When I bring up a new
user the settings are correct visually but it still does not work. There is
something else going on I can't see which is causing the power off to still
be in effect.

Anyone else have any suggestions on how to make this work?

Using regmon from sysinternals to trap writes in registry, I can see that
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Power\ACPolicy and DCPolicy are modified too.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls
Folder\PowerCfg\GlobalPowerPolicy\Policies seems to be modified too.

Have a look at regmon and try theses keys

--
________________________________
Nicolas

"This behavior is by design" (Microsoft)
________________________________
 
Back
Top