My earlier post Incorrect icon shown for a file type in Vista (March 31, 2008) tells you how to refresh the shell icons in Vista. In case the solution posted in that link does not help, you may want to clear the icon cache database. The icon cache can be cleared by deleting the hidden file named IconCache.db in the following location:


Note: %userprofile% represents the path to user profile folder.

Rebuilding the Icon Cache Database

1. Close all folder windows that are currently open.

2. Launch Task Manager using the CTRL+SHIFT+ESC key sequence, or by running taskmgr.exe.

3. In the Process tab, right-click on the Explorer.exe process and select End Process.

4. Click the End process button when asked for confirmation.

5. From the File menu of Task Manager, select New Task (Run…)

6. Type CMD.EXE, and click OK

7. In the Command Prompt window, type the commands one by one and press ENTER after each command:

CD /d %userprofile%\AppData\Local
DEL IconCache.db /a

8. In Task Manager, click File, select New Task (Run…)

9. Type EXPLORER.EXE, and click OK.

Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner


  1. said this on Thursday, September 11th 2014 3:12 am

    My its saying dat it could not find c:\User\Lameck\AppData\Local\IconCache.dba just after passing des command DEL IconCache.dba /a

  2. sujeet
    said this on Monday, September 8th 2014 3:17 pm

    THANK’S DEAR :-)

  3. Piseth-Cambodia
    said this on Wednesday, July 23rd 2014 3:12 pm

    Thanks Master.
    You have me once situation.


  4. Maria
    said this on Thursday, June 19th 2014 11:20 pm

    Thanks that worked and I feel like a computer genius now! lol

  5. chris gabriele
    said this on Saturday, May 24th 2014 7:47 am

    i have a database its folder is cwcheat then the database is CHEAT and i accidentally opened it with Microsoft words work processor now when i open it it then automatically opens in Microsoft words work processor even if it is a database file please help me how to change its old icon or program back

  6. said this on Wednesday, April 9th 2014 1:07 am

    Awesome! Worked like a charm.

  7. Aucun
    said this on Tuesday, April 8th 2014 1:20 pm

    Thanks, worked perfectly.

  8. Iranna
    said this on Monday, April 7th 2014 12:04 pm

    It worked, Thanks.

  9. said this on Monday, March 3rd 2014 3:52 pm

    Worked great! Thanks a lot

Leave a Reply