Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
N2Rocks

Default User and Control Panel - Colors

7 posts in this topic

I ran a command during cmdlines using regedit that sets the customzed desktop colors. I see the were changed in HKEY_USERS\.DEFAULT\Control Panel\Colors, but when I creat a new user the colors are not used.

This is for a 2003 Server build.

Any ideas?

;====================================================
;Control Panel - Colors
[HKEY_CURRENT_USER\Control Panel\Colors]
 "ActiveBorder"="192 192 192"
 "ActiveTitle"="0 0 255"
 "AppWorkSpace"="255 255 255"
 "Background"="128 128 128"
 "ButtonAlternateFace"="192 192 192"
 "ButtonDkShadow"="0 0 0"
 "ButtonFace"="192 192 192"
 "ButtonHilight"="255 255 255"
 "ButtonLight"="192 192 192"
 "ButtonShadow"="128 128 128"
 "ButtonText"="0 0 0"
 "GradientActiveTitle"="0 0 255"
 "GradientInactiveTitle"="128 128 128"
 "GrayText"="128 128 128"
 "Hilight"="128 0 0"
 "HilightText"="255 255 255"
 "HotTrackingColor"="128 0 0"
 "InactiveBorder"="192 192 192"
 "InactiveTitle"="128 128 128"
 "InactiveTitleText"="192 192 192"
 "InfoText"="0 0 128"
 "InfoWindow"="255 255 255"
 "Menu"="192 192 192"
 "MenuText"="0 0 0"
 "Scrollbar"="192 192 192"
 "TitleText"="255 255 255"
 "Window"="255 255 255"
 "WindowFrame"="0 0 0"
 "WindowText"="0 0 0"
 "MenuHilight"="128 0 0"
 "MenuBar"="192 192 192"

;====================================================

0

Share this post


Link to post
Share on other sites

u can make a batch file that will run on "default" users , so if u ever create a new account, it will be run always

[HKEY_USERS\.Default\Software\microsoft\windows\currentversion\runonce]

"autoconfig"="C:\\Windows\\autoconfig.cmd"

autoconfig being the name of your .cmd file

regards

0

Share this post


Link to post
Share on other sites
u can make a batch file that will run on "default" users , so if u ever create a new account, it will be run always

[HKEY_USERS\.Default\Software\microsoft\windows\currentversion\runonce]

"autoconfig"="C:\\Windows\\autoconfig.cmd"

autoconfig being the name of your .cmd file

regards

Thanks. I may try that as a last resort, but would prefer to get it working as it should. The rest of the reg file merges in security settings that I do not really want to leave around in a batch file on the server.

Thanks for your quick reply.

Jim

0

Share this post


Link to post
Share on other sites
I ran a command during cmdlines using regedit that sets the customzed desktop colors. I see the were changed in HKEY_USERS\.DEFAULT\Control Panel\Colors, but when I creat a new user the colors are not used.

This is for a 2003 Server build.

Any ideas?

;====================================================
;Control Panel - Colors
[HKEY_CURRENT_USER\Control Panel\Colors]
 "ActiveBorder"="192 192 192"
 "ActiveTitle"="0 0 255"
 "AppWorkSpace"="255 255 255"
 "Background"="128 128 128"
 "ButtonAlternateFace"="192 192 192"
 "ButtonDkShadow"="0 0 0"
 "ButtonFace"="192 192 192"
 "ButtonHilight"="255 255 255"
 "ButtonLight"="192 192 192"
 "ButtonShadow"="128 128 128"
 "ButtonText"="0 0 0"
 "GradientActiveTitle"="0 0 255"
 "GradientInactiveTitle"="128 128 128"
 "GrayText"="128 128 128"
 "Hilight"="128 0 0"
 "HilightText"="255 255 255"
 "HotTrackingColor"="128 0 0"
 "InactiveBorder"="192 192 192"
 "InactiveTitle"="128 128 128"
 "InactiveTitleText"="192 192 192"
 "InfoText"="0 0 128"
 "InfoWindow"="255 255 255"
 "Menu"="192 192 192"
 "MenuText"="0 0 0"
 "Scrollbar"="192 192 192"
 "TitleText"="255 255 255"
 "Window"="255 255 255"
 "WindowFrame"="0 0 0"
 "WindowText"="0 0 0"
 "MenuHilight"="128 0 0"
 "MenuBar"="192 192 192"

;====================================================

Your code references

[HKEY_CURRENT_USER\Control Panel\Colors]

Maybe it should reference:

[HKEY_USERS\.DEFAULT\Control Panel\Colors]??

Just a thought...

Loz.

0

Share this post


Link to post
Share on other sites

Your code references

[HKEY_CURRENT_USER\Control Panel\Colors]

Maybe it should reference:

[HKEY_USERS\.DEFAULT\Control Panel\Colors]??

Just a thought...

Loz.

Loz,

When doing an unattended setup it is running as the .DEFAULT user so HKCU settings are applied to the default profile. It is working for most settings, just not for the desktop colors.

Jim

0

Share this post


Link to post
Share on other sites
what about this? this sounds more like what u want....

http://unattended.msfn.org/xp/hkcu_registry.htm

regards

MCT,

THat is exactly what I'm doing. I call regedit /s c:\config.reg during cmdlines.txt phase. It is taking other settings. Hate to get so far and run into crap like this. <G>

Jim

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.