Monday, 12 August 2013

How to delete the Windows IconCache.db file

Recently, I have experienced a problem that my application shortcut icon is not displayed anymore after an upgrade. Later, we fixed the issue by deleting the Windows IconCache.db file and it involves in stoping and starting of the Windows Explorer. The steps to delete the IconCache.db file is listed below and all operations are done via Windows Command Line:

Step 1: open command line

type cmd in search programs and files at Start menu

Step 2: Command to kill the current Windows Explorer (i.e., the desktop will become empty and without task bar afterward)

taskkill /IM explorer.exe /F

Step 3: Go to location of IconCache.db file

cd C:\Users\Admin\AppData\Local

Step 4: Command to view the IconCache.db file (it is hidden)

dir /A:H

Step 5: Delete the IconCache.db file

del IconCache.db

Step 6: Restart Windows Explorer

explorer