Windows 10 stores all the icons of files and apps in icon cache database. This database helps to display the icons quickly and avoid time consuming process of accessing all the related icons from the source. When database of your Windows 10 PC get increased, the icon cache database may get corrupted. So you may like to know how you can reset icon cache database, whenever you feel the icons are showing damaged.
Windows 10 automatically rebuild icon cache files when you remove icon cache files using command line. You must close all the apps running on your PC before starting this method otherwise you will not be able to delete complete list of icon cache files from the database.
If you are running Windows 8.1 and having same issue, apply the same process which we are going to discuss in this blog.
To Reset Icon Cache Database on Windows 10
Launch Elevated (Administrator’s) Command Prompt on your Windows 10 PC. Then run the following command. It will navigate to the icon cache database location.
Now, run the following command to confirm whether the icon cache database files are available at their storage location or not.
You can see a list of icon cache files displayed as output of the command. See the screenshot.
To stop the File Explorer, run the following command.
taskkill /f /im explorer.exe
This command terminates File Explorer and disappear the desktop background & taskbar temporarily.
Now you can delete the icon cache files only after termination of File Explorer. Run the following command to delete icon cache files.
In case you see “Access is denied” message as an output of above command, you need to cross-check your running apps. All the apps should be closed.
You should verify whether all the files are deleted successfully or not. Run the following command and confirm.
If all the icon cache files are removed successfully, you can proceed further. You just need to start File Explorer by running the following command line.
That’s all, if you have followed the process carefully, it will rebuild icon cache database automatically.