On Windows 10, those icons you see on files and apps are stored in the icon cache database to allow the operating system to display them quickly on the screen. The process of caching icons, instead of retrieving them from the source, helps to prevent your system from getting bogged down by the mere task of "showing icons".
However, as the database grows, the odds of icon cache database getting corrupted also grows. When this happens, icons on your desktop and throughout the operating system may not render correctly or even appear broken.
Although Windows 10 doesn't include an option to reset the database, you can still fix the problem using a few commands in Command Prompt.
In this Windows 10 guide, we'll walk you through the steps to rebuild the icon cache database on your computer when they appear blank or broken.
How to rebuild the icon cache database
To rebuild the icon cache database on Windows 10, close any application that you may be running, and then do the following:
- Open Start and do a search for Command Prompt.
- Right-click the result and select Run as administrator.
Type the following command to navigate to the icon cache database location and press Enter:
Type the following command to verify the icon cache database files are at the location and press Enter:
The output of the dir command should list these database files:
Type the following command to stop File Explorer and press Enter:
taskkill /f /im explorer.exe
Important: Once you terminate File Explorer, your desktop background and taskbar will disappear, leaving a black screen — but it's OK, it's only temporarily. You need to close File Explorer to be able to delete the icon cache files. Otherwise, you won't be able to do it.
Type the following command to delete the iconcache files and press Enter:
Quick Tip: If you get access denied trying to remove the files, you're probably not running Command Prompt with as an administrator. Repeat these steps, but making sure Command Prompt starts with administrative privileges.
Type the following command to verify that you successfully deleted the icon cache files and press Enter:
If you still see some iconcache files, then it's likely that some apps are still running, which will prevent you from deleting the database files. Make sure to close them all, and repeat the steps.
Type the following command to start File Explorer and press Enter:
Close Command Prompt to complete the task.
Once you completed the steps, Windows 10 will automatically recreate the database files with fresh new icons.
Keep in mind that these steps won't delete and recreate the thumbnails. However, you can always follow our guide to rebuild the thumbnails cache on Windows 10, if they're not working correctly on your PC.
While we're focusing this guide on Windows 10, you can use the same exact steps on Windows 8.1.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
We may earn a commission for purchases using our links. Learn more.
The first two Snapdragon 7c PCs are here, and they start at $299 with LTE
Along with a slew of announcements for the education market this week, Microsoft debuted the first two PCs to be powered by Qualcomm's Snapdragon 7c platform. Both are targeted at the education market, and they bring LTE for as little as $299.
Need a laptop with a Thunderbolt 3 port? Every PC here deserves a look.
Looking for a new laptop that has Thunderbolt 3 ports? Well, you're in luck, as we've rounded up what we think are the best Thunderbolt 3 enabled laptops available to buy today.
Windows 10 build 19546 arrives for Fast ring with graphing calculator
Microsoft pushed out another new Windows 10 Preview build for Windows Insiders on the Fast ring today. This build brings the build number up to 19546, and it includes a new graphing mode for the Calculator app.
These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.