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.

cd %homepath%\AppData\Local\Microsoft\Windows\Explorer

rebuild icon cache database on Windows 10

Now, run the following command to confirm whether the icon cache database files are available at their storage location or not.

dir iconcache*

You can see a list of icon cache files displayed as output of the command. See the screenshot.

delete icon cache database file on Windows 10

Also read: How To Create System Restore Point In Windows 10 With Simple Script

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.

recreate icon cache database on Windows 10

Now you can delete the icon cache files only after termination of File Explorer. Run the following command to delete icon cache files.

del iconcache*

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.

reset icon cache database on Windows 10

You should verify whether all the files are deleted successfully or not. Run the following command and confirm.

dir iconcache*

Also read: How To Share Favorite Registry Keys With Other Windows Users

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.

explorer.exe

rebuild icon cache database

That’s all, if you have followed the process carefully, it will rebuild icon cache database automatically.

LEAVE A REPLY

Please enter your comment!
Please enter your name here