How to Rebuild the Icon Cache in Windows

Sometimes, the icons on your Windows computer get messed up. For example, they may be blurry or broken. One of the causes can be that a file named IconCache got corrupted (glitched). Luckily, you can reset it so that you get all of your...

Method 1 of 2:

Manually Deleting the File

  1. images 1 of How to Rebuild the Icon Cache in Windows
    Images 1 of How to Rebuild the Icon Cache in Windows
    Press the Start button at the bottom-right corner of your screen.
  2. images 2 of How to Rebuild the Icon Cache in Windows
    Images 2 of How to Rebuild the Icon Cache in Windows
    Type folder options and select the result that matches your search. This will allow you to change file viewing settings so that you can see hidden files like IconCache.
  3. images 3 of How to Rebuild the Icon Cache in Windows
    Images 3 of How to Rebuild the Icon Cache in Windows
    Go to the View tab.
  4. images 4 of How to Rebuild the Icon Cache in Windows
    Images 4 of How to Rebuild the Icon Cache in Windows
    Scroll down under Advanced settings: and click the circle next to Show hidden files, folders, and drives.
  5. images 5 of How to Rebuild the Icon Cache in Windows
    Images 5 of How to Rebuild the Icon Cache in Windows
    Click or tap the OK box to save your changes and close folder options.
  6. images 6 of How to Rebuild the Icon Cache in Windows
    Images 6 of How to Rebuild the Icon Cache in Windows
    Open File Explorer. File Explorer lets you see all the files on your computer, including system files like IconCache.
    1. Note: In Windows 7 and earlier, it is called Windows Explorer.
  7. images 7 of How to Rebuild the Icon Cache in Windows
    Images 7 of How to Rebuild the Icon Cache in Windows
    In the address bar of File Explorer, type %userprofile%/AppDataLocal.
  8. images 8 of How to Rebuild the Icon Cache in Windows
    Images 8 of How to Rebuild the Icon Cache in Windows
    Scroll through all of the files until you find a file named IconCache or IconCache.db.
  9. images 9 of How to Rebuild the Icon Cache in Windows
    Images 9 of How to Rebuild the Icon Cache in Windows
    Right-click or hold (for touchscreen devices) and select Delete from the menu that appears.
  10. images 10 of How to Rebuild the Icon Cache in Windows
    Images 10 of How to Rebuild the Icon Cache in Windows
    Confirm deletion if prompted by pressing Yes.
  11. images 11 of How to Rebuild the Icon Cache in Windows
    Images 11 of How to Rebuild the Icon Cache in Windows
    Open the Recycle Bin and empty it. We have a guide on how to do that (just click on the green sentence before this). You can quickly open it by launching the Start menu/screen and searching for Recycle Bin.
  12. images 12 of How to Rebuild the Icon Cache in Windows
    Images 12 of How to Rebuild the Icon Cache in Windows
    If the Recycle Bin is already empty, there's nothing you need to do. Proceed to the next step.
  13. images 13 of How to Rebuild the Icon Cache in Windows
    Images 13 of How to Rebuild the Icon Cache in Windows
    Clear the thumbnail cache if you're seeing problems with thumbnails (previews of files).
  14. images 14 of How to Rebuild the Icon Cache in Windows
    Images 14 of How to Rebuild the Icon Cache in Windows
    Restart your PC. The icons should now be fixed.
Method 2 of 2:

Using Command Prompt

  1. images 15 of How to Rebuild the Icon Cache in Windows
    Images 15 of How to Rebuild the Icon Cache in Windows
    Open the Command Prompt. The quickest way to open the Command Prompt in any version of Windows is to:
    1. Press the Win+R at the same time.
    2. Type cmd.
    3. Click/tap OK or hit Enter.
  2. images 16 of How to Rebuild the Icon Cache in Windows
    Images 16 of How to Rebuild the Icon Cache in Windows
    Type the commands in. Type the commands below into the Command Prompt, hitting enter after each line of code is entered. You can also highlight and copy them (either by right-clicking and pressing Copy or by pressing Ctrl+C. Right-click in the Command Prompt and select Paste. Ctrl+V won't work.
    1. cd /d %userprofile%AppDataLocal
    2. attrib –h IconCache.db
    3. del IconCache.db
    4. start explorer
  3. images 17 of How to Rebuild the Icon Cache in Windows
    Images 17 of How to Rebuild the Icon Cache in Windows
    Restart your PC. The icons should now be fixed.
4.5 | 2 Vote
« PREV : How to Search for...
How to Handle an SHS... : NEXT »