N2Rocks Posted July 5, 2004 Share Posted July 5, 2004 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";==================================================== Link to comment Share on other sites More sharing options...
MCT Posted July 5, 2004 Share Posted July 5, 2004 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 Link to comment Share on other sites More sharing options...
N2Rocks Posted July 5, 2004 Author Share Posted July 5, 2004 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 regardsThanks. 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 Link to comment Share on other sites More sharing options...
Lozian Posted July 5, 2004 Share Posted July 5, 2004 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. Link to comment Share on other sites More sharing options...
MCT Posted July 5, 2004 Share Posted July 5, 2004 what about this? this sounds more like what u want.... http://unattended.msfn.org/xp/hkcu_registry.htmregards Link to comment Share on other sites More sharing options...
N2Rocks Posted July 5, 2004 Author Share Posted July 5, 2004 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 Link to comment Share on other sites More sharing options...
N2Rocks Posted July 5, 2004 Author Share Posted July 5, 2004 what about this? this sounds more like what u want.... http://unattended.msfn.org/xp/hkcu_registry.htmregardsMCT,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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now