Jump to content

Recommended Posts

Posted

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"

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


Posted

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

Posted
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

Posted
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.

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...