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

14 Sep 2013   #200
TBugReporter

Windows 7 Home Premium (64bit)
 
 
reset icons without restart?

I'm not sure if this belongs here, but this is the closest thread I've found.

I frequently create Internet Shortcuts (.lnk files) and move them to a server on my network to make them available from any of the computers on my network - but Firefox (which is what I use for most of my Internet browsing) insists on making the shortcut's icon specific to both the Web site it refers to (by saving a copy of each site's favicon) and to the computer that created the shortcut (by pointing the shortcut to a randomly-named file on the local computer). Obviously, this breaks when you're viewing the shortcut from a different computer than the one that created it, so I edit the shortcut files to remove this unnecessary information. The problem is, after editing, the file still looks the same on the Windows 7 desktop. If I move or rename the file, the icon changes to reflect my editing, but if I move it back, the old icon comes back. Windows 8 doesn't have this problem; apparently it knows to re-initialize the icon information when the file is edited, but Windows 7 doesn't. I don't have to do anything other than restart the computer to clear this up, but it's awfully inconvenient to restart the computer every time I create a shortcut. Is there any way (short of restarting) to force Windows 7 to reread the innards to the .lnk file?

Example:
Icon Cache - Rebuild-icons.png
Internal text of .lnk file:
Code:
[InternetShortcut]
URL=http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild-20.html
IDList=
HotKey=0
IconFile=C:\Users\{me}\AppData\Local\Mozilla\Firefox\Profiles\{my}\shortcutCache\{random}==.ico
IconIndex=0





My System SpecsSystem Spec
.
14 Sep 2013   #201
Brink

64-bit Windows 10 Pro
 
 

Hello TBugReporter,

You might see if using the command below to only clear the icon cache may be able to do this for you without having to restart the PC. If it works, then you could create a .bat file with it to make it easy to use as needed.

ie4uinit.exe -ClearIconCache
My System SpecsSystem Spec
26 Sep 2013   #202
TBugReporter

Windows 7 Home Premium (64bit)
 
 

Quote   Quote: Originally Posted by Brink View Post
You might see if using the command below to only clear the icon cache may be able to do this for you without having to restart the PC. If it works, then you could create a .bat file with it to make it easy to use as needed.

ie4uinit.exe -ClearIconCache
For the record, that works. Thanks.
My System SpecsSystem Spec
26 Sep 2013   #203
Brink

64-bit Windows 10 Pro
 
 

You're most welcome TBugReporter. Thank you for posting back with your results.
My System SpecsSystem Spec
.

27 Dec 2013   #204
kathy025

Windows 7 Professional SP1 x64 (OEM)
 
 

Reposting for results.

Quote   Quote: Originally Posted by kathy025 View Post
I just want to confirm the script (.bat) from Option One of the tutorial worked like a charm. Nice!

I came across undefined icons just moments back for two programs (i.e. LINE and Wise Registry Cleaner) and now they're back to normal after running the script.

My System SpecsSystem Spec
10 Feb 2014   #205
professorman

Windows 7 x64
 
 

I had to join to say THANKS! This works great! I have been struggling with missing icons for about a year now. Awesome!
My System SpecsSystem Spec
10 Feb 2014   #206
Brink

64-bit Windows 10 Pro
 
 

I'm happy to hear that it was able to help professorman, and welcome to Seven Forums.
My System SpecsSystem Spec
27 Feb 2014   #207
erick192

Windows 7 ultimate x64 on Boot Camp
 
 

Does anyone know if rebuilding the cache would fix excel/powerpoint icons?

Here is what mine look like Along with word, and access files for comparison.

My System SpecsSystem Spec
27 Feb 2014   #208
Brink

64-bit Windows 10 Pro
 
 

Hello Erick, and welcome to Seven Forums.

It could be an association issue instead. As a test, right click on the .pptx file, click on Open with, and select Power Point to be the default program.

Open With - Change Default Program

If the icon still doesn't show with Power Point set as it's default program, then see if rebuilding the icon cache may help.

Hope this helps,
Shawn
My System SpecsSystem Spec
26 Mar 2014   #209
teligence

Dual-Boot WinXPP (x32), Win 7 Ent (x64)
 
 
Much appreciated

I elected to perform the manual procedure - worked like a charm!

Thanks!
My System SpecsSystem Spec
Comment

 Icon Cache - Rebuild




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
How to rebuild system icon ?
Hello :) First sorry for my bad english :( I hope That will it be understandable. So, i got a problem with icon in my documents in Windows 7 Home Premium It looks like normal directory, not like windows desktop. Any chance for recovering this icon or something? Thanks for help
Customization
how to rebuild the cache for iconcache.db and readthe error log
Recently firefox icon is not being displayed with the .htm files and as per the instruction i tried to rebuild the cache but the iconcache.db is not present so how to rebuild or get back the same and there are several errors in the windows also and in the registry please some one send the name of...
Performance & Maintenance
Icon Cache Problems
I tried to rebuild my icon cache with one of your tutorials. Now my icons just have the name underneath(no blank page thing). My task bar doesn't show icons and my start button does nothing when pressed. Please helpppp!!!!!
General Discussion
Automatically rebuild icon cache problem?
Originally had this problem a while back (http://www.sevenforums.com/general-discussion/119880-spywareblasters-icon-generic-taskbar.html)-generic icon for Spywareblaster file application and for taskbar pinned shortcut, but it was solved. Now for some strange reason, Spywareblaster's icon has...
General Discussion
Icon Cache Issues
On my previous installation of Windows 7, I frequently got a corrupt icon cache. The shortcut icon which I had removed from the icons would get replaced by a black box. Clearing the cache would fix it but eventually it'd happen again. Now, on b7600, I'm having a similar issue. For some...
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 13:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App