Hi all,
I've created a set of simple themes which basically apply our corporate colours. Ideally I need to apply these as part of a script which will be run post sysprep.
I've tried changing the "HKEY_CURRENT_USER\Software\Microsoft\Plus!\Themes\Current" key but that doesn't seem to work. I can't find anything documented on the net other than a script using sendkeys to run the manual process which isn't silent... does anyone have any ideas how else this can be scripted?
Thanks,
T
Page 1 of 1
Applying themes using a script
#2
Posted 07 July 2004 - 07:57 AM
hi 
is what u are wanting 2 do is copy over all your themes? or just apply 1?
Note: the above must be put in $OEM$\$$\Resources\Themes
i find that the easiest , put that in winnt.sif , but if u are wanting 2 do it with a registry tweak, search the registry tweaks thread or the customizing threads, they will have that answer
hope u get it 2 work somehow
is what u are wanting 2 do is copy over all your themes? or just apply 1?
[Shell] CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Luna VX.theme"
Note: the above must be put in $OEM$\$$\Resources\Themes
i find that the easiest , put that in winnt.sif , but if u are wanting 2 do it with a registry tweak, search the registry tweaks thread or the customizing threads, they will have that answer
hope u get it 2 work somehow
#3
Posted 07 July 2004 - 08:12 AM
Note:
Before you can get (what MCT describes) it to work, you first need to have a patched (version as per your WXP servicepack) uxtheme.dll
Just notifying, maybe MCT forgot to mention this.
Before you can get (what MCT describes) it to work, you first need to have a patched (version as per your WXP servicepack) uxtheme.dll
Just notifying, maybe MCT forgot to mention this.
#4
Posted 07 July 2004 - 08:15 AM
ya, sorry , i indeed forgot 2 mention it , thanks prathapml
#5
Posted 07 July 2004 - 08:19 AM
Thanks for the reply MCT
I'm using the [shell] section to set the default user theme, so that works fine. However what I need to do is change the applied theme based on AD site. I could do this using group policy, but that would mean a new GPO for each theme and there are quite a few so I want to avoid that if I can.
At the moment on win2k I have a set of scripts which run post sysprep and effective determine the AD site then apply an Appearence Scheme based on that site. Unfortunatly Schemes don't seem to work the same way in XP so I'm using themes instead. There must be an API call that applies the scheme when you click 'Apply', but I don't think its documented anywhere.
When you look at the changes to the registry after you apply a theme, all Windows does is change the colour, screensave.exe etc reg keys with the values stored in the theme files. I've not really messed around with themes before but I was hoping they would be a bit more sophisicated than big .reg files!
Anyway, before I set about writing some code to parse the theme files and apply the setting I want, if anyone has any ideas I'd appreciate the help!
I'm using the [shell] section to set the default user theme, so that works fine. However what I need to do is change the applied theme based on AD site. I could do this using group policy, but that would mean a new GPO for each theme and there are quite a few so I want to avoid that if I can.
At the moment on win2k I have a set of scripts which run post sysprep and effective determine the AD site then apply an Appearence Scheme based on that site. Unfortunatly Schemes don't seem to work the same way in XP so I'm using themes instead. There must be an API call that applies the scheme when you click 'Apply', but I don't think its documented anywhere.
When you look at the changes to the registry after you apply a theme, all Windows does is change the colour, screensave.exe etc reg keys with the values stored in the theme files. I've not really messed around with themes before but I was hoping they would be a bit more sophisicated than big .reg files!
Anyway, before I set about writing some code to parse the theme files and apply the setting I want, if anyone has any ideas I'd appreciate the help!
- ← Autologin to Domain & Video Question?
- Unattended Windows 2000/XP/2003
- Alcohol120 - "...policies to prevent this install" →
Share this topic:
Page 1 of 1



Help
Back to top









