How to Repair Icon Cache in Windows 10

How to Repair Icon Cache in Windows 10

How to Repair Icon Cache in Windows 10

Icon cache is a storage place where the icons that are used by your Windows documents and programs are stored for faster access rather than load them every time they are needed. If there is a problem with the icons on your computer repairing or rebuilding the icon cache will definitely fix the problem.

repair icon cache

Sometimes when you update an application and the updated application has a new icon but instead you are seeing the same old icon for that application or you are seeing destructed icon it means Windows icon cache has corrupted and its time to repair icon cache.

How the Icon Cache Works

Icons are everywhere in windows and having to retrieve all the icon images from hard disk every time they are needed can consume a lot of windows resources that’s where icon cache steps in. Windows keeps a copy of all the icon there which are easily accessible, whenever windows need an icon, it simple fetches the icon from the icon cache instead of fetching it from the actual application.

Whenever you shut down or restart your computer, icon cache write this cache to a hidden file, so that it doesn’t have to reload all those icons later.

Where is the icon cache stored

All the above information is stored in a database file called IconCache.db and in Windows Vista and Windows 7, the icon cache file is located in:

C:\Users\<your username>\AppData\Local\IconCache.db
NOTE: Replace <your username> with the actual user name of your Windows account.

icon cache database

In windows 8 and 10 the icon cache file is also located at the same location as above but windows does not use them to store the icon cache. In windows 8 and 10, the icon cache file is located in:

C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
NOTE: Replace <your username> with the actual user name of your Windows account.

In this folder, you will find a number of icon cache files namely:

  • iconcache_16.db
  • iconcache_32.db
  • iconcache_48.db
  • iconcache_96.db
  • iconcache_256.db
  • iconcache_768.db
  • iconcache_1280.db
  • iconcache_1920.db
  • iconcache_2560.db
  • iconcache_custom_stream.db
  • iconcache_exif.db
  • iconcache_idx.db
  • iconcache_sr.db
  • iconcache_wide.db
  • iconcache_wide_alternate.db

To repair icon cache, you have to delete all the icon cache files but its not simple as it may sound because you can’t normally delete them by just pressing delete as these files are still used by Explorer, so you can’t delete them but hey there is always a way.

How to Repair Icon Cache

  1. Open File Explorer and go to the following folder:
    C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
    NOTE: Replace <your username> with the actual user name of your Windows account.If you don’t see the AppData folder then you have to go to folder and search option by clicking “My computer or This PC” then click on “View” and then go to “Options” and from there click on “Change folder and search options.
    change folder and search options
    In Folder Options select Show hidden files”, folders, and drives and uncheck “Hide protected operating system files.
    Folder options
    After this you will be able to see the AppData folder.
  2. Press and hold the “Shift” key and right-click on the Explorer folder then select “Open command window here.open explorer with command window
  3. A command prompt window will open at that path:
    command window
  4. Type dir command into the command prompt in order to make sure you are in correct folder and you should be able to see iconcache and thumbcache files:
    repair icon cache
  5. Right-click on the Windows taskbar and choose “Task Manager.”
    task manager
  6. Right click on “Windows Explorer” and choose “End task” this will make desktop and explorer will disappear. Exit Task Manager and you should be only left with command prompt window but make sure no other application is running with it.end task of windows explorer
  7. In the command prompt window type the following command:
    del iconcache*Press enter and that should delete all the icon cache file.del iconcache
  8. Run the dir command to check the list of remaining files and if there are still some icon cache files, it means some application is still running so you need to close the application though taskbar and repeat the procedure again.
    repair icon cache 100 percent fixed
  9. Now sign off from your computer by pressing Ctrl+Alt+Del and choose “Sign out. Sign back in and any corrupted or missing icons should hopefully get repaired.
    sign off

Hopefully after all this your icons will be repaired and you will not experience any problem with them. Remember this method will not fix the issues with thumbnail for that go here. If you still have any doubt or question regarding anything feel free to comment and let us know.

Follow me

adityafarrad

Aditya is a Windows Technical expert and being a passionate Windows Blogger, he loves to troubleshoot system issues and help others.
Follow me

Comments

comments

Leave a comment

Your email address will not be published. Required fields are marked *