Win7 theme service can't automatically start solution

  

I have been using Win7 for some time. Personally, the interface of Win7 is quite satisfactory, but some friends around are often not satisfied, and they all hope to make their love machine more personalized. Recently, two tragedies have occurred around the author due to the Win7 theme.

The main character of the first time is my roommate. Due to a misoperation in the process of installing a third-party theme, the window cannot be displayed normally after entering Windows. In desperation, it can only be reinstalled. The second is a female classmate of mine. Due to the failure of cracking the theme, the system file has been tampered with. When booting, it prompts “dwm.exe cannot start”, saying that it cannot find the file “UxTheme.dll”. By comparing with my system, I found that there are no missing files. I took a lot of effort to compare the files one by one, and finally let me find that there is a file created differently than the other ones, then I copied the file from my computer and overwritten it (note: because the file is being used here) , so first rename the file, then paste the file for replacement into the directory), restart, and there is no error, but the theme still does not return to normal (only classic theme, can not use glass effects and Aero theme).

Right-click on the desktop, personalize, and find an option at the bottom, which seems to solve the problem. Click this option, follow the prompts step by step, the problem is solved, and finally the system also lists the problem:

1, Desktop Window Manager Session Manager is disabled;

2. The theme service (Themes) did not start.

Restart again and discover that the system has changed back to the classic theme. Check the system service and find that the desktop window manager has been started and is not disabled. The theme service has been set up automatically, but it does not start automatically with the system startup. Manually start the theme service and everything is back to normal.

In response to this problem, I haven't found a good way to find it online for a long time. The method of modifying the registry has also been tried, but the problem remains.

Finally, I thought of a way out of the way, is to write a batch file to the startup, and execute the batch file when it is turned on, let it open the theme service. Let me talk about the specific steps:

1. Open Notepad, type “net start themes” (without double quotes), and save this file as a bat file;

2 Put this file into the startup (that is, in the start menu, "All Programs" below the "Startup" folder;

Attach this file to the troublesome friend: Start the Themes service .bat

There is only one command in the file: net start themes, save it as bat, then you can

you're done! After restarting the computer, after the system enters Windows, it takes a second or two to start the theme service (expressed as a pop-up console window, and then disappears immediately, the system quickly changes from the classic theme to the previously set theme), and then it can be used normally.

Although it is a bit of a fly in the ointment, the total weight system is much stronger. I hope this article can help friends who have encountered the same problem! If you have other better methods, please leave a message.

Copyright © Windows knowledge All Rights Reserved