djlax152 Posted January 5, 2005 Share Posted January 5, 2005 Does anyone know how i can apply a custom theme to all curent user profiles and future user profiles ?? I apply my theme in the winnt.sif file like this[shell]CustomDefaultThemeFile="%WinDir%\Resources\Themes\shenandoah.theme" This works great however it only works for the administrative account Link to comment Share on other sites More sharing options...
KNARZ Posted January 5, 2005 Share Posted January 5, 2005 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]take a look Link to comment Share on other sites More sharing options...
djlax152 Posted January 5, 2005 Author Share Posted January 5, 2005 Ok i am see 6 registry keys(default) REG_SZ (Value not set)Drop Shadow REG_SZ FALSEFlat Menues REG_SZ FALSEInstallTheme REG_SZ %resouceDir%\themes\Luna.themeInstallVisualStyle REG_SZ %systemroot\Resources\themes\Luna\Luna.msstylesSetupVersion REG_SV 7I am guessing that i will have to change the Installtheme key however i am a novice programmer and i do not know the exact syntax that would need to be used to do this in a reg file. Can anyone help me out ??? Link to comment Share on other sites More sharing options...
mattofak Posted January 5, 2005 Share Posted January 5, 2005 You need to change both the InstallTheme, and InstallVisualStyle keys. So waht you do is you right click on them, and then instert the definitive paths to those two files, thus most likely it will look like thusInstallTheme REG_SZ %WinDir%\Resources\Themes\shenandoah.themeInstallVisualStyle REG_SZ %WinDir%\Resources\Themes\shenandoah\shenandoah.msstylesif you cant find InstallVisualStyle REG_SZ %WinDir%\Resources\Themes\shenandoah\shenandoah.msstyles, dont worry about it then, the second one is important, but not critical, the first one is... Link to comment Share on other sites More sharing options...
djlax152 Posted January 5, 2005 Author Share Posted January 5, 2005 Yes but how could i write this in a REG file so that i may drop it into my unattended CD and have it run automaticly ? Link to comment Share on other sites More sharing options...
mattofak Posted January 5, 2005 Share Posted January 5, 2005 Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]"InstallTheme"="%WinDir%\Resources\Themes\shenandoah.theme""InstallVisualStyle"="%WinDir%\Resources\Themes\shenandoah\shenandoah.msstyles" Link to comment Share on other sites More sharing options...
djlax152 Posted January 5, 2005 Author Share Posted January 5, 2005 Okay i ran the registry script to test it out on my local machine. I noticed that the registry keys did get changed but the actual theme did not. I tried restarting the pc. putting the reg file in the startup folder and restarting again. I made sure that the shenandoah theme was under resources\themes\ with the rest of the themes. Still nothing. I have always had trouble getting .reg files to work after i double click on them. i always seem to have the same problem. the key changes but whatever the changes the key was supposed to make never happens am i doing something wrong with these .reg files Link to comment Share on other sites More sharing options...
mattofak Posted January 5, 2005 Share Posted January 5, 2005 hehe, of course they wont work... the reg file would need to be:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]"InstallTheme"="%WinDir%\Resources\Themes\shenandoah.theme""InstallVisualStyle"="%WinDir%\Resources\Themes\shenandoah\shenandoah.msstyles"the reason being is because your local settings are overiding the global computer settings, create a new user and see what its theme is! Link to comment Share on other sites More sharing options...
djlax152 Posted January 5, 2005 Author Share Posted January 5, 2005 Still did not work! I am about to throw my machine across the room.I am still having the same problem it changes the key but doesnt do anything. Link to comment Share on other sites More sharing options...
mattofak Posted January 5, 2005 Share Posted January 5, 2005 Dern, you have one very stubbern machine!, i dont blaim you for wanting to throw it out the window!(except that it might hurt someone, would that be a good thing, dont know!)kk, down to bussiness, a couple of questionsA)Are you running a dual-boot machineB)Are you attached to a domain / work networkC)Are you running a full install of windowsD)Are you using the uxtheme.dll directly, or having intermediate software mediate betwean you and the systemDa)If you are using intermediate software, what is it, ie: stylexpE)Why in the bloody heck is msoft win so annoying!? (rhetorical, dont answer)[EDIT]Could you post what is in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager] when you have your custom theme enabled, also do so with all the contents of [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes]it would help me understand this theme better, as well as anyone who tried to help Link to comment Share on other sites More sharing options...
djlax152 Posted January 5, 2005 Author Share Posted January 5, 2005 Ok you know what screw this registry stuff i thought of a way that almost works. what i did was drop the shenandoah.theme file into my startup folder for all users.what ends up happing the display properties window pops up after windows loads just as if you right-clicked your desktop and went to properties, now my only problem is that i need to somehow send the enter command. This will apply the theme and close the display properties dialog box.. PERFECT so even if some basterd figures out how to change the background. the next logon it will change it rigth back!! Wow im so excited !! come on guys think how do i automate the enter command ???? Link to comment Share on other sites More sharing options...
mattofak Posted January 5, 2005 Share Posted January 5, 2005 kk, hope this helps!http://www.microsoft.com/resources/documen...s_wsh_hilv.mspx Link to comment Share on other sites More sharing options...
Yzöwl Posted January 5, 2005 Share Posted January 5, 2005 I don't wanna sound like I'm teaching you to suck eggs, but you have got a hacked uxtheme.dll, haven't you? Link to comment Share on other sites More sharing options...
Incroyable HULK Posted January 5, 2005 Share Posted January 5, 2005 AutoIT would also be appropriate for this task...I don't know why your theme doesn't get applied to all your profile because mine does. Maybe because I am applying a microsoft theme (Media Center Royale Theme 2005)... Link to comment Share on other sites More sharing options...
djlax152 Posted January 6, 2005 Author Share Posted January 6, 2005 Not asking me to suck eggs at all, any help or info is always greatly appreciated. can you explain to me exactly what a Hacked.dll does because i never needed it before to apply custome windows XP themes. Could i need this because i am making the change through the windows registry ?? 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