Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Icon Cache - Rebuild

27 Dec 2009   #149
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 
Icon Cache - Rebuild

How to Rebuild the Icon Cache in Windows



My System SpecsSystem Spec
.

20 Jan 2013   #150
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome tkrojam.

My System SpecsSystem Spec
.

04 Feb 2013   #151
ProactiveSvcs

 
 

Hi, first time poster here :-)
I've benefited from this site quite often, and have again today with this thread. I thought I'd give something back and suggest improvements for this handy guide.

I've amended the batch file and uploaded to: http://www.proactiveservices.co.uk/R...Icon_Cache.zip

Used the %localappdata% variable and a filename variable to provide greater accuracy and flexibility.
Enclosed references to the IconCache file with quotes to ensure paths with spaces are handled correctly.
Batch no longer does anything if the IconCache file does not exist - explorer kill / system shutdown not necessary in this case.
Removed shutdown code as a shell restart is all that's needed. Confirmed on Vista x64 SP2 and Win 7 x64 SP1.
Amended shell restart line so that the batch file is not "held up" after launching explorer.

The manual steps can be similarly amended to:
  • taskkill /IM explorer.exe /F
  • DEL "%localappdata%\IconCache.db" /A
  • start explorer.exe
Also you can mark this is working on Vista too - it works just fine on my Vista x64 SP2 system.
My System SpecsSystem Spec
04 Feb 2013   #152
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello ProactiveSvcs, and welcome to Seven Forums.

Thank you for the touchup.
My System SpecsSystem Spec
04 Feb 2013   #153
Parman

Windows 7 Ultimate x64
 
 

co-works icon's were all jacked up today. This fixed there issues with ease. Thanks.
My System SpecsSystem Spec
17 Feb 2013   #154
Suny Buffalo

Win7Pro 32-bit
 
 
Bunch of Thanks!

The command-line did it for me. My admin. acct. displayed well, but my stand. acct. did not. Reseting the iconcache did the job thanks a bunch!!

When it comes to icon shortcuts on desktop or start-menu or other folders, you must pay attention to the "Target' and "start" field. Even if you have to navigate manually (by opening my computer, select c:, etc...). This clue tells 2 things: the proper Path, and the Appl. name with a colorful icon (if it has one). Correct the path to both fields solves common pointer (shortcut), then click "change icons" and navigate to that folder (cllick Browse...) and select the Appl. name (*.exe) and that becomes your icon (or you can navigate the folders, seeking other icon images or an image folder may contain something to your liking).

thanks for the tips!
My System SpecsSystem Spec
17 Feb 2013   #155
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Glad it could help Suny, and welcome to Seven Forums.
My System SpecsSystem Spec
20 Mar 2013   #156
nilank

 

Oh Shawn, you made something awesome man, that BAT solved my problem instantly! I have been suffering with corrupt icons in Windows 7 for years, I usually waited for them to repair themselves, but you made it!!
My System SpecsSystem Spec
20 Mar 2013   #157
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Nilanko,

I'm happy to hear it was able to help.
My System SpecsSystem Spec
20 Mar 2013   #158
maxknox

Windows7 x64
 
 

Both Methods 1 and 2 solve this problem, albeit temporarily, for my system. However, every time I install a new application/program, the icon cache needs to be reset. Is this going to be the norm for as long as I have this system?
I just bought three identically spec'd laptops and this is the only one with this issue.
My System SpecsSystem Spec
20 Mar 2013   #159
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Max, and welcome to Seven Forums.

Sounds like you may have some corruption.

As a test, see if increasing the size of the icon cache may be able to help.

Icon Cache Size - Change in Windows

Hope this helps,
Shawn
My System SpecsSystem Spec
Comment

 Icon Cache - Rebuild





Tutorial Tools



Similar help and support threads for2: Icon Cache - Rebuild
Windows 7 Tutorial Category
how to rebuild the cache for iconcache.db and readthe error log Performance & Maintenance
Icon Cache Problems General Discussion
Solved Automatically rebuild icon cache problem? General Discussion
Solved Rebuilding Icon Cache? General Discussion
Foobar icon cache General Discussion
Icon Cache Issues General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:43 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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