Windows Vista Forums

Icon Cache - Rebuild

  1. #1
    <!-- google_ad_section_start -->Icon Cache - Rebuild<!-- google_ad_section_end -->

    Icon Cache - Rebuild
    How to Rebuild the Icon Cache in Vista
    Published by Brink is offline
    30 Dec 2007
    Icon Cache - Rebuild

    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


    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,294
    Array

    Tutorial Tools


    Applies to

    All Vista Versions
    64 Bit & 32 Bit


  2.   


  3. #1



    Junior Member
    Join Date : Mar 2008
    Posts : 10
    Vista Ultimate x64
    Local Time: 07:31 PM
    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

  4.   


  5. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,294
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 12:31 PM
    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

  6. #3
    GSi-R's Avatar

    Member
    Join Date : Jan 2008
    Finland
    Posts : 69
    Vista Business 32bit
    Local Time: 07:31 PM
    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

  7. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,294
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 12:31 PM
    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

  8. #5
    GSi-R's Avatar

    Member
    Join Date : Jan 2008
    Finland
    Posts : 69
    Vista Business 32bit
    Local Time: 07:31 PM
    finland

     

    Re: Icon Cache - Rebuild

    Cheers Shawn. Appreciated.

    Micky

      My System SpecsSystem Spec

  9. #6
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,294
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 12:31 PM
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Your welcome Micky.

      My System SpecsSystem Spec

  10. #7



    Newbie
    Join Date : Apr 2008
    Posts : 6
    Vista Business N x64
    Local Time: 07:31 PM


     

    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

  11. #8
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,294
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 12:31 PM
    usa us oklahoma

      Thread Starter

    Re: Icon Cache - Rebuild

    Your welcome Wracky, and welcome to Vista Forums.

    Shawn

      My System SpecsSystem Spec

  12. #9


    Join Date : May 2008
    Posts : 5
    Vista Home Premium 32bit
    Local Time: 01:31 PM


     

    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 08:56 PM.
      My System SpecsSystem Spec

Page 1 of 8 123 ... LastLast

Icon Cache - Rebuild
Similar Threads
Tutorial Category
Rebuild the message store of Windows Mail / Rebuild the Windows Mail folder Vista mail
Solved Cannot rebuild icon cache after VistaOSX General Discussion
Resetting icon cache Vista General
Resetting Icon Cache Vista General
how do I rebuild icon cache? Vista General