Windows Vista Forums

Icon Cache - Rebuild

  1. #1
    Icon Cache - Rebuild

    Icon Cache - Rebuild
    How to Rebuild the Icon Cache in Vista
    Icon Cache - Rebuild

    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,562

    How to Rebuild the Icon Cache in Vista


    information   Information
    If you have any icons that are not displaying correctly in Vista, then rebuilding the icon cache will reset them. This will show you how to delete the icon cache, to clear it, so Vista will rebuild it after a restart.

    The icon cache is located at the hidden system folder location below:

    C:\Users\User-Name\AppData\Local\IconCache.db

    Note   Note

    • This does not change the icons. It only clears the icon cache to get rid of any corruption and rebuilds the icon cache with the correct icons again.
    • If this is for a internet URL icons (favicons), in IE7 Favorites for example, then you will need to delete the Temporary Internet Files to reset these icons instead. For how, see: How to Delete the Internet Explorer Browsing History in Vista

    Tip   Tip
    If you only have problems with a particular file (file extension type) icon, then it may be a default association problem instead. The file extension will show the icon for the program that it is associated to. This happens when a program and file extenstion has lost their default associations with each other, or associated to a wrong program instead. To resolve this, either make sure that you have all of the default associations set for the program that the file extension is for, or make sure that you have the correct default program associated with the file extension type. For how to do this, see: How to Set Default Associations For a Program in Vista or How to Associate a Individual File Extension Type With a Program in Vista






    OPTION ONE

    Automatically Rebuild the Icon Cache

    1.
    Click on the download button below to download the file below.

    Rebuild_Icon_Cache.bat
    download
    2. Save the file to your desktop, and run it.

    3. Click/tap on Run when prompted.

    4. Follow the instructions in the command prompt to rebuild the Icon Cache.

    5. Restart your computer to generate a new IconCache.db file.

    6. If the icons are still not displaying properly, then download and merge the ICO option in this tutorial to restore the default associations of .ico (icon) files.



    OPTION TWO

    To Manually Rebuild the Icon Cache using the Command Prompt

    1.
    Close and save anything that you are working on. This command will kill explorer and restart the computer when completed.

    2. Open the Start Menu, and type cmd in the search box and press enter.

    3. In the command prompt, Copy and Paste each command line below and press enter after each command.
    WARNING: The last command will restart the computer, so be sure to close and save anything that you are working on first.

    • taskkill /IM explorer.exe /F
    • DEL "%localappdata%\IconCache.db" /A
    • shutdown /r /f /t 00


    4. The IconCache.db file has now been rebuilt.

    5. If the icons are still not displaying properly, then download and merge the ICO option in this tutorial to restore the default associations of .ico (icon) files.
    That's it,
    Shawn


  2. #1


    Join Date : Mar 2008
    Posts : 10
    Vista Ultimate x64
    Local Time: 21:04
    netherlands

    Re: Icon Cache - Rebuild

    Just wanted to let you know that this one worked for me.
    Lost the icon of one of my harddrives, it was replaced by a generic one.
    Rebuiding the cache brought it back
    Thanx,

    Benergy

      My System SpecsSystem Spec

  3. #2
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,562
    64-bit Windows 10 build 10122
    Local Time: 14:04
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Hi Benergy, and welcome to Vista x64 Forums.

    I'm glad to hear that it helped you. Thank you for the feedback.

    Shawn

      My System SpecsSystem Spec

  4. #3
    GSi-R's Avatar
    Join Date : Jan 2008
    Finland
    Posts : 69
    Vista Business 32bit
    Local Time: 21:04
    finland

     

    Re: Icon Cache - Rebuild

    Thanks for this thread, however, I tried both options, but afraid to say, neither of them sorted out my particular issue. All my icons are fine except .sis and .exe files

      My System SpecsSystem Spec

  5. #4
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,562
    64-bit Windows 10 build 10122
    Local Time: 14:04
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Hi GSI-R,

    For the .exe files, try clicking on the .exe in the box here to download and use the reg file to see if it can help.

    File association fixes for Windows Vista


    For the .sis files, see the added Still Not Working section at the top of the tutorial and check to make sure that it has it's default program associated to it.

    Shawn

      My System SpecsSystem Spec

  6. #5
    GSi-R's Avatar
    Join Date : Jan 2008
    Finland
    Posts : 69
    Vista Business 32bit
    Local Time: 21:04
    finland

     

    Re: Icon Cache - Rebuild

    Cheers Shawn. Appreciated.

    Micky

      My System SpecsSystem Spec

  7. #6
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,562
    64-bit Windows 10 build 10122
    Local Time: 14:04
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Your welcome Micky.

      My System SpecsSystem Spec

  8. #7


    Join Date : Apr 2008
    Posts : 6
    Vista Business N x64
    Local Time: 21:04


     

    Re: Icon Cache - Rebuild

    For some reason, all desktop icons pointing to my F: drive were dead after I installed some different SATA drivers. They still worked.

    I tried the bitdepth option and it worked for me sure is faster than a reboot!

    Thanks

      My System SpecsSystem Spec

  9. #8
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,562
    64-bit Windows 10 build 10122
    Local Time: 14:04
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Your welcome Wracky, and welcome to Vista Forums.

    Shawn

      My System SpecsSystem Spec

  10. #9


    Join Date : May 2008
    Posts : 5
    Vista Home Premium 32bit
    Local Time: 15:04


     

    Re: Icon Cache - Rebuild

    hi, when you say you can empty the recycle bin when finished do you mean i can dempty it after restart or before? thanks

    Last edited by mlbplayer456; 30 May 2008 at 20:56.
      My System SpecsSystem Spec

Page 1 of 9 123 ... LastLast
Icon Cache - Rebuild

Similar Threads
Tutorial Category
Rebuild PDC
Hello, I have an SBS2008 Server that is the PDC and has all my user information. I have problems with this server and i would liek to wipe it and...
Vista Forums
16MB Cache and 32MB Cache??
I guess the question I have is pretty simple but if someone could go into detail about it I would greatly appreciate it. When it comes to hard...
General Discussion
Rebuild the message store of Windows Mail / Rebuild the Windows Mail folder
In researching a problem that I had with Windows Mail on Vista(pre-sp1), I ran into a couple of terms These terms were in the 'workarounds' for...
Vista mail
Cannot rebuild icon cache after VistaOSX
Hello, I've just tried to uninstall Vista OSX 4 via its uninstaller, but nothing seems to have worked. All the icons are that of MacOS, same goes...
General Discussion
Resetting icon cache
I inadvertantly set a dll file to open with system mechanic and now all of my dll files have a red cross through them, how do I change them back to...
Vista General
Resetting Icon Cache
I inadvertantly set a dll file to open with system mechanic and now all of my dll files have a red cross through them, how do I change them back to...
Vista General
how do I rebuild icon cache?
I keep losing icons, I dont know what is causing this but I would appreciate it if someone told me how to rebuild the icons
Vista General