How to apply Windows 7 themes from command prompt


Did you accidentally break your Windows 7 PC by applying an unsupported 3rd-party theme? If so, don’t worry you can easily change / apply Windows 7 themes from a command prompt.

How to apply Windows 7 themes from command prompt

1. The rundll32.exe in combination with desk.cpl can be used to apply Windows 7 themes via command line

2. Enter:
rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"C:\Windows\Resources\Themes\landscapes.theme"
3. If you want to apply a different Windows 7 theme, you obviously have to change the name landscapes.theme to the correct theme name. The Windows 7 themes are stored in C:\Windows\Resources\Themes

4. If you want to apply themepack themes, use the path C:\Users\sOliver\AppData\Local\Microsoft\Windows\Themes
Example:
rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"C:\Users\sOliver\AppData\Local\Microsoft\Windows\Themes\Dead Space 2.theme"

Can’t Open Windows 7 Themes Personalization Control Panel NOR Explorer?

It can actually happen that you can no longer access the Windows 7 theme control panel. Then you’re screwed!

.. No, of course you are not screwed.

1. Log into another user account, if you don’t have another make sure to activate the hidden admin account via cmd.exe

You can start the task manager, click on File, New Task, enter cmd.exe and then activate the admin account via the commands listed

2. After logging in to the account go to the Windows 7 themes folder either C:\Users\yourusername\AppData\Local\Microsoft\Windows\Themes\ or C:\Windows\Resources\Themes and change the name of the currently applied BROKEN theme to xxxx.bak

3. Rename another WORKING theme to the old BROKEN theme

4. Now log in and enjoy Windows 7 again

We’ll keep you updated with more Windows 7 tutorials and tricks how to make Windows 7 themes even better or how to fix them.


Or you might like these sexy wallpaper, tweaks and themes:

Written by oliversk Friday, July 29th, 2011

Was it helpful? Please bookmark it and spread the word

delicious   facebook   google   twitter  

You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific. If you have some awesome desktop themes, tips or want to write for us, then drop us a mail: win7themes at googlemail.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>