Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Default User and Control Panel - Colors

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
N2Rocks

N2Rocks
  • Member
  • 7 posts
  • Joined 11-January 04
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"

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



How to remove advertisement from MSFN

#2
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,244 posts
  • Joined 19-May 04
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 Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#3
N2Rocks

N2Rocks
  • Member
  • 7 posts
  • Joined 11-January 04

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

#4
Lozian

Lozian
  • Member
  • 3 posts
  • Joined 19-April 04

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.

#5
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,244 posts
  • Joined 19-May 04
what about this? this sounds more like what u want....
http://unattended.ms...cu_registry.htm

regards
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#6
N2Rocks

N2Rocks
  • Member
  • 7 posts
  • Joined 11-January 04
[quote name='Lozian' date='Jul 5 2004, 02:29 PM'] [/QUOTE]
Your code references
[HKEY_CURRENT_USER\Control Panel\Colors]

Maybe it should reference:
[HKEY_USERS\.DEFAULT\Control Panel\Colors]??

Just a thought...


Loz. [/quote]
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

#7
N2Rocks

N2Rocks
  • Member
  • 7 posts
  • Joined 11-January 04

what about this? this sounds more like what u want....
http://unattended.ms...cu_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