Imagine Windows 10 without app or image icons. Yes, you are right; it would look quite dead. Icons give life to the User Interface of every operating system, whether it is Windows, iOS, or Android.
Windows 10 saves the icons for the files in icon cache and uses this icon cache to display them. This way, the icons can be displayed quickly as Windows does not have to scan for each icon file and load them every time the file icon has to be shown.
To fix various Windows 10/11 problems, we recommend Outbyte PC Repair:
This software will repair common computer errors, protect you from file loss, malware damage, hardware failure, and optimise your computer for peak performance. In three simple steps, you can resolve PC issues and remove virus damage:
- Download Outbyte PC Repair Software
- Click Start Scan to detect Windows 10/11 issues that may be causing PC issues.
- Click Repair All to fix issues with your computer's security and performance.
This month, Outbyte has been downloaded by 23,167 readers.
However, there may be times when you have a problem with icons or thumbnails not displaying correctly. This usually happens when you have updated an application. Instead of showing the updated icon which came with the upgrade, Windows show you the old icon or a blank or damaged icon appears.
When this happens, you have to remove the icon cache so that a fresh one is created with the updated icons. Though, keep in mind that usually, Windows do this work automatically, every time a new icon is recognized.
In this guide, we will discuss how to refresh icon cache in Windows 10 that would fix every issue you are facing with the icons.
Where are Icons Stored in Windows 10?
In Windows 10 icons are stored in cache files located at the following path:
Put your desktop’s name in place of <your username>
If you find some folders in the path, enable Hidden items from the view so that hidden folders can be accessed. You would find the following cached files of the icons:
Now, to reset the icon cache, you have to delete all these files first. Remember, not even a single cache file can be ignored because we don’t know which among them is causing the icons problem. However, deleting these files is not straightforward, like removing any other file on the computer. Try yourself deleting any file, some of them would get deleted, the others would display this error:
The reason for this error is because some applications are using those icon cache files in the background.
Rebuild Icon Cache in Windows 10
As already mentioned to rebuild the Icon Cache, first, we have to delete the old cache files. For that, we can use three methods. You can perform any method that works for you.
Method 1: Using Windows PowerShell
Before proceeding any further, close all the work and applications that are currently running.
Navigate to the folder where old Icon Cache files are present: C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
Now you have to open the PowerShell window here. For that press and hold the Shift key and perform a right-click.
From the Context menu, choose the “Open PowerShell window here.”
A PowerShell window would be launch for that path.
To ensure you are on the right folder, enter dir command on PowerShell console. If you see the icon cache files and other files of the folder, you are on the right path.
Minimize the PowerShell window, right-click on the taskbar and open Task Manager.
Look for Windows Explorer, right-click on it and select End Task. File Explorer and Desktop would be invisible.
Exit the Task Manager and again switch to the PowerShell window. Close all the running applications except PowerShell before moving forward.
Enter the following command on the console: “del iconcache*” and press the Enter key. It would perform the deletion operation on all the files starting with “iconcache”.
Again run dir command to check whether all icon cache files are deleted or not. If all applications were closed, you would have faced no problem, and icon cache files must have been removed.
Restart the system. The icon cache should have been rebuild.
Method 2: Using Command Prompt
Note: The last command in this method will instantly restart the PC, make sure you have backed up all your important data.
- Press Windows + R keys, type cmd, and press Enter.
- In the command prompt, enter and execute following commands one by one.
- ie4uinit.exe -ClearIconCache
- taskkill /IM explorer.exe /F
- DEL “%localappdata%\IconCache.db” /A
- shutdown /r /f /t 00
Method 3: Using File Explorer
You can also try deleting the IconCache.db file using File Explorer:
- Open a File Explorer.
- To show hidden files, click on View tab and then click on Hidden Items.
- Go to C:\Users\(Your User Name)\AppData\Local and delete IconCache.db file.
- Empty Recycle Bin and restart your computer.
Note: These steps will not work if the icon file for the application has been deleted or moved.
Rebuild Icon Cache FAQs
The reason icon pictures of your application or documents disappear because the icon cache might have corrupted or new icons are not updated on the icon cache.
To restore the shortcut icons, go to “Desktop icon settings” by searching on the Windows search and click on Restore Default.
YES, it is safe to delete the iconcache.db file. It does not cause any system failure. Moreover, it automatically generates itself again, and eliminating it can solve the icon errors in Windows 10.