How to clear Windows 10 Theme Cache?

How Can We Help?

How to clear Windows 10 Theme Cache?

So this happens because the cached wallpaper is not able to regenerate the image once I change the path of the wallpaper image. So, the only possible way to prevent this from happening is to delete the cached image that is causing this issue and set your new wallpaper.

If you simply go to the following location on your system, you will find the file called TranscodedWallpaper.

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\

This TransCodedWallpaper saves the image that you set as background image in the cache and every time the image is read from the cache to set your desktop wallpaper. Due to this issue the new wallpaper was not being set.

So, the most basic and the manual way to do this is, just go to the location that is specified above and SHIFT+DELETE the file. DO NOT WORRY as this is not going to do anything to your Operating System or crash the OS or cause any problem. This fill will be regenerated once you set up your new wallpaper. You could actually go back and check for the same once you get the new wallpaper set up.

So, this is the most basic and the manual way to do so. But, if you are lazy like me and do not want to go to the location and delete this all the time you face the issue, you can simply create a batch file, and run it whenever you face the problem.

Just open a notepad, and type this:

Capture

OR copy paste this:

del %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper

and save it at your preferred location on your system with .bat as the extension.

Once done, just go to the .bat file and double click on it. It will open a black command prompt window and close down automatically. Now you are all set to set up your new wallpaper and enjoy your background!