Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  
N2Rocks

Default User and Control Panel - Colors

Recommended Posts

N2Rocks    0

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"

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

Share this post


Link to post
Share on other sites
MCT    0

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

Share this post


Link to post
Share on other sites
N2Rocks    0
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

Share this post


Link to post
Share on other sites
Lozian    0
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.

Share this post


Link to post
Share on other sites
N2Rocks    0

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×