WiseCleaner Think Tank

Encounter difficult computer problems?
All about maintenance and optimization of your Windows System.

Home > Think Tank > How to Clear and Rebuild Icon Cache on Windows 11

How to Clear and Rebuild Icon Cache on Windows 11

Dec 11, 2024

On the desktop of your Windows PC and within the File Explorer, icons play an important role in providing a visual representation of applications and files.

Over time, the icon cache can become corrupted and cause issues due to system updates, software installations or malware. When this happens, you may encounter incorrect, missing or blank icons.

Luckily, clearing and rebuilding the icon cache is a straightforward method to resolve these issues. This WiseCleaner guide explains how to clear and rebuild the icon cache using the built-in ways on Windows 11.

Method 1. Delete the cache file manually

Step 1. Open File Explorer

Press the Windows key + E on your keyboard to open File Explorer straightly.

Step 2. Navigate to the icon cache folder

With File Explorer, access to the folder below:

C:\Users\Your Username\AppData\Local

Step 3. Delete the icon cache

Scroll down to look for a file named IconCache.db. Press Shift + Delete to permanently delete it.

Step 4. Restart your PC

Finally, restart your computer and the cache will be rebuilt automatically after booting up.

Method 2. Use CMD commands

If you prefer a more advanced method, you can delete the icon cache in the Command Prompt. Before starting, save your work and close all open applications, as this process will end the Windows Explorer task.

Step 1. Run Command Prompt as Administrator

Enter cmd in the Search bar. Right-click on the matching result and choose Run as Administrator to open the Command Prompt.

Step 2. End Windows Explorer

In Command Prompt, enter the following command to close all Windows Explorer processes:

taskkill /f /im explorer.exe

After entering this command, your desktop and taskbar will temporarily disappear, which is normal. Please move to the next step.

Step 3. Delete the icon cache

Next, copy, paste and then Enter the following commands one by one into the interface of Command Prompt to delete all the files that begin with “iconcache”:

cd /d %userprofile%\AppData\Local

del iconcache.db /a

Step 4. Restart Windows Explorer

Now, restart Windows Explorer by typing the following command and pressing Enter in CMD:

start explorer.exe

Step 5. Restart your Computer

You may also want to restart your computer to ensure that the cache is fully rebuilt.

Wrapping up

Cleaning and rebuilding the icon cache on your Windows 11 can resolve various icon display issues. Follow the steps above to restore your icons to their correct state simply.

30