How to restore icon cache in Windows

by on

Learn how to fix broken icon cache in Windows

Problems with icons in Windows are common sight in Windows OS since the days of Windows 95 and persist even in the latest Windows 10. Typical problem is that your icons are loading slowly, or even not at all. Or you may see different version of icon or some sort of other errors.

These annoying problems are in most cases caused by corrupted Windows Icon Cache. This can happen after system crash, by file system errors, malware, application installation processes etc. 

We will show you two methods how you can repair and rebuild your Windows icon cache. Although this article was written during the times of Windows 7, but nothing changes and it works the same even in the latest editions of Windows.

Method No. 1

Make sure that you can see hidden and system files in Windows Explorer. You can recheck it in Windows settings if you open Windows Control PanelAppearance and PersonalizationFolder Options  → Show hidden files and foldersShow hidden files and folders option.

Windows Folder Options
Microsoft Windows folder options

Open Windows Explorer window and go to the Users\UserName\AppData\Local\ folder.  Here you can find IconCache.db, which is a database of icons currently used in the system. This file is hidden by default.

Windows Explorer iconcache.db file
Windows Explorer IconCache.db location

Open Windows Task Manager application with CTRL+Shift+Escape keys and click on Processes bookmark. With that window still opened, go back to Explorer window and delete the IconCache.db file.

After that go back to Windows Task Manager window, right click on explorer.exe process and select End Process option in pull down menu. This will kill off the process and result in all opened windows, desktop icons and Start menu being removed from the desktop (temporarily).

Windows Task Manager
Windows Task Manager

Now in Task Manager click on File menu → New Task (Run...) option and type explorer.exe. Windows will restart explorer process and rebuild IconCache.db file that will be once again in its default directory after the system will be restarted.

Windows Task Manager create new task
Windows Task Manager create new task

In Windows XP is IconCache.db file stored in Documents and Settings/Username/Local Settings/Application Data directory.

Method No. 2

You can also use Command Prompt to restore Windows Icon Cache. Close all applications and save all opened documents.

Open Start menu → type cmd to Search box, or go the Start menuAll ProgramsAccessories and open Command Prompt application and type command sequence:

  1. taskkill /IM explorer.exe /F
  2. CD /d %userprofile%\AppData\Local
  3. DEL IconCache.db /a
  4. shutdown /r /f /t 00

Windows Command Prompt
Windows Command Prompt

Wait until the Windows will be restarted. The old IconCache.db will be replaced by new one with actual icon data.

Related software and links:

Microsoft Windows icon

Microsoft Windows    Microsoft Windows platform
A series of operating systems produced by Microsoft


Did this entry help you?
If the information in this article helped you, please share it with your friends!

Subscribe to and get our news everywhere!


Add new comment about “Restore icon cache in Windows

Related file extensions

db - Windows thumbnail database

Go to:
Article related software
Add comments...

Follow us!

Enter any file extension without dot (e.g. pdf)
Search for file extension details and associated application(s)

RSS feed