New
#1
apply windows 10 theme with cmd or powershell / programming
Hi All,
I develop the company image and I'm trying to apply a theme with wallpaper and accent color. In the Windows 7 days this VBS line worked for me:
WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk @TheMes /Action:OpenTheme /file:""C:\Windows\Resources\Themes\HHMX.deskthemepack"""
However when I run this on Windows 10 it doesn't work. Running the following line opens the theme selection window:
rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk @TheMes
But the "/Action:OpenTheme" part doesn't work anymore. Does anyone have any suggestions to make this work? Or any other ways. I don't want to lock the theme down with GPO (users complain), and I've tried adding the theme name to my answer file during sysprep, but that also is not working. If anyone has any guidance on apply a theme via an answer file that would be great too. Thanks for any help!
Last edited by a1manarme; 24 May 2016 at 10:16.