How to Rebuild the Icon Cache in Windows

Method 1 of 2:

Manually Deleting the File

  1. How to Rebuild the Icon Cache in Windows Picture 1
    Press the Start button at the bottom-right corner of your screen.
  2. How to Rebuild the Icon Cache in Windows Picture 2
    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. How to Rebuild the Icon Cache in Windows Picture 3
    Go to the View tab.
  4. How to Rebuild the Icon Cache in Windows Picture 4
    Scroll down under Advanced settings: and click the circle next to Show hidden files, folders, and drives.
  5. How to Rebuild the Icon Cache in Windows Picture 5
    Click or tap the OK box to save your changes and close folder options.
  6. How to Rebuild the Icon Cache in Windows Picture 6
    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. How to Rebuild the Icon Cache in Windows Picture 7
    In the address bar of File Explorer, type %userprofile%/AppDataLocal.
  8. How to Rebuild the Icon Cache in Windows Picture 8
    Scroll through all of the files until you find a file named IconCache or IconCache.db.
  9. How to Rebuild the Icon Cache in Windows Picture 9
    Right-click or hold (for touchscreen devices) and select Delete from the menu that appears.
  10. How to Rebuild the Icon Cache in Windows Picture 10
    Confirm deletion if prompted by pressing Yes.
  11. How to Rebuild the Icon Cache in Windows Picture 11
    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. How to Rebuild the Icon Cache in Windows Picture 12
    If the Recycle Bin is already empty, there's nothing you need to do. Proceed to the next step.
  13. How to Rebuild the Icon Cache in Windows Picture 13
    Clear the thumbnail cache if you're seeing problems with thumbnails (previews of files).
  14. How to Rebuild the Icon Cache in Windows Picture 14
    Restart your PC. The icons should now be fixed.
Method 2 of 2:

Using Command Prompt

  1. How to Rebuild the Icon Cache in Windows Picture 15
    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. How to Rebuild the Icon Cache in Windows Picture 16
    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. How to Rebuild the Icon Cache in Windows Picture 17
    Restart your PC. The icons should now be fixed.
4.5 ★ | 2 Vote

May be interested

  • How to Search for Text in Files on WindowsPhoto of How to Search for Text in Files on Windows
    this wikihow teaches you how to search for specific text inside any document on your windows pc. press . this opens the windows search box.
  • How to Repair Defective or Missing System Files in WindowsPhoto of How to Repair Defective or Missing System Files in Windows
    many windows problems are caused by damaged or missing system files. damaged or missing system files may stem from malware, failed updates, botched installations, and more. system file checker is a component of windows which can...
  • How to Open MSG Files on MacPhoto of How to Open MSG Files on Mac
    this wikihow teaches you how to open and view all the message contents in an msg file, using a mac. msg files can contain an email, contact, appointment or task created in microsoft outlook on windows. you can use the mail client in the...
  • How to Play WebM FilesPhoto of How to Play WebM Files
    this wikihow will show you how to play files with the webm file extension. a webm file is most likely a compressed video file found online. since webm is such a popular video format online, many programs will open it, like google chrome,...
  • How to Hide a File or Folder from Search Results in Microsoft WindowsPhoto of How to Hide a File or Folder from Search Results in Microsoft Windows
    this wikihow article will teach you the steps to hiding a file or folder (de-indexing it) from your pc's search results in microsoft windows. open file explorer. click the file explorer taskbar icon which resembles a file folder.
  • How to Delete Undeletable Files in WindowsPhoto of How to Delete Undeletable Files in Windows
    sometimes you are faced with an error when you try to delete a file permanently. it may be spyware, malware, ad-ware or any trojan. in some situations, the file is being used by the essential windows programs such as windows explorer,...