Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Icon Cache - Rebuild

Comment
 

Icon Cache - Rebuild

How to Rebuild the Icon Cache in Vista
Published by Brink
12-30-2007

How to Rebuild the Icon Cache in Vista

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.
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
  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
RELATED LINKS:


METHOD ONE:
Rebuild the Icon Cache
NOTE
  This will delete the icon cache so Vista will wipe out all icons in the cache and reload the icons into the cache for the files as you run across them again.
1. Open Folder Options to select (dot) Show hidden files and folders.

2. Open a Windows Explorer window.

3. Go to C:\Users\(User Name)\AppData\Local (See screenhot below)

4. Right click on IconCache.db and click on Delete.
explorer.jpg
5. Click on Yes to confirm the deletion. (See screenshot below)
NOTE: This deletes the file to the Recycle Bin. It is safe to empty the Recycle Bin when finished.
confirm.jpg
6. Close the window.

7. Empty the Recycle Bin.

8. Restart the computer.

9. When you go back, you will notice the Size of the IconCache.db file is smaller, and the Date Modified is now the current date. (See screenshot below)
NOTE: If for some reason IconCache.db is not there or the size has not changed much, then just restart the computer again. You may need to restart a couple of times in some cases.

10. The icon cache has been rebuilt.
rebuilt.jpg
11. Open Folder Options to select (dot) Do not show hidden files and folders.



METHOD TWO:
Reset the Icon Cache
NOTE
  This method is not as thorough as METHOD ONE and is good for minor quirks with the icons only. It will only reset the icon cache instead of deleting it and having Vista completely rebuild it.
1. Right click on a empty area of the desktop and click on Personalize.

2. Click on the Display Properties link. (See screenshot below)
personalization.jpg
3. Under Colors, select Medium (16-bit) and click on Apply. (See screenshot below)
NOTE: If you already have Medium (16-bit) selected, then select Highest (32-bit) instead. Sometimes you will need to do a restart first, then proceed to step 4. Try both ways.
A) Click Yes to confirm the new settings.
4. Now, select Highest (32-bit) and click on OK.
NOTE: If you already have Highest (32-bit)selected, then select Medium (16-bit) instead.
A) Click on Yes to confirm the new settings.
display_settings.jpg
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,801
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 03-13-2008  
Benergy
Member


Join Date: Mar 2008
Vista Ultimate x64
 
 

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
Old 03-13-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

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
Old 04-04-2008  
GSi-R
Member


Join Date: Jan 2008
Vista Business 32bit
 
 

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
Old 04-04-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

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
Old 04-04-2008  
GSi-R
Member


Join Date: Jan 2008
Vista Business 32bit
 
 

Re: Icon Cache - Rebuild

Cheers Shawn. Appreciated.

Micky
My System SpecsSystem Spec
Old 04-04-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Icon Cache - Rebuild

Your welcome Micky.
My System SpecsSystem Spec
Old 04-04-2008  
Wracky
Member


Join Date: Apr 2008
Vista Business N x64
 
 

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
Old 04-04-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Icon Cache - Rebuild

Your welcome Wracky, and welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Old 05-30-2008  
mlbplayer456
Banned


Join Date: May 2008
Vista Home Premium 32bit
 
 

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; 05-30-2008 at 09:56 PM..
My System SpecsSystem Spec
Comment

Tutorial Tools


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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46