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 always corrupts

06 Feb 2014   #1
Timsup2nothin

Windows 7 Home Premium 64bit
 
 
Icon cache always corrupts

Following recommendations I found with Google, which came from this forum, I set up a bat file that deletes the icon cache db and reboots. That works. I also resized the icon cache to 8192, which is supposedly the max size and certainly seems like it should be big enough. But every morning when I turn my machine on I get the black icons and have to run the icon cache deleter. That's every morning.

So, two avenues to consider...

If someone has a suggestion about how to solve the basic problem I'd really like to do that.

If someone can explain how to splice the icon cache db deletion into the regular shutdown routines I can at least get rid of the double start in the morning. The final line in the deletion bat is:

shutdown /r /f /t 00

I think the /r is the restart switch, so if I just remove that I can restart in the morning, but I don't know if the other switches there would have unwanted effects for regular use. I also would rather just use the regular shutdown button since sometimes whoever is closest to the computer shuts it down and if it isn't me they would just use the regular button.

Anyone?


My System SpecsSystem Spec
.
06 Feb 2014   #2
Brink

64-bit Windows 10 Pro
 
 

Hello Tim, and welcome to Seven Forums.

I'm not sure what may be causing the corruption since that could be anything, but you might see if using the tutorial below to reset and rebuild the icon cache may help instead.

Icon Cache - Rebuild

Hope this helps for now,
Shawn
My System SpecsSystem Spec
06 Feb 2014   #3
UsernameIssues

W7 Pro SP1 64bit
 
 

Welcome to the Seven Forums.

I've asked Brink to stop by this thread since he wrote this tutorial and batch file:
Icon Cache - Rebuild

In the mean time, it would be nice to know why the corruption is happening. Do you have shortcuts to network drives on your desktop?

edit: I type too slow :-)
My System SpecsSystem Spec
.

06 Feb 2014   #4
Timsup2nothin

Windows 7 Home Premium 64bit
 
 

Thanks guys. That's the batch file I'm using (great help!) but what I'm trying to avoid is having to use it every startup.

I agree it would be nice to know why the corruption is happening. By shortcuts to network drives do you mean shortcuts to files on those drives, or shortcuts to the drive itself?

I mostly have shortcuts to folders full of shortcuts on my desktop...a personal organizing system I got comfortable with in XP. Those folders of shortcuts are all in a folder called 'desktop navigation' on one of my drives.

EXAMPLE: 'Functions' on desktop is a shortcut to folder "D:\Desktop Navigation\Functions". That folder has what would be the desktop shortcuts to Firefox, Wordpad, Notepad, 7-zip, etc...all the applications I tend to use.

Is that something Win7 can't stomach?
My System SpecsSystem Spec
06 Feb 2014   #5
Brink

64-bit Windows 10 Pro
 
 

You might see if troubleshooting with a clean startup may be able to ID a cause for this.

Troubleshoot Application Conflicts by Performing a Clean Startup
My System SpecsSystem Spec
06 Feb 2014   #6
Timsup2nothin

Windows 7 Home Premium 64bit
 
 

Turns out I had failed to identify the problem.

I had used this guide to remove the shortcut arrows...option 2. For some reason on a startup it was rendering the transparent arrow as black. I installed the program from option one and it solved the problem. Why the icon cache rebuild was fixing this problem is a mystery to me, as is why the option 2 method in the guide didn't work for me. In any event the problem is now solved and I am happy to have registered here. I'll be back if I have any more problems.
My System SpecsSystem Spec
06 Feb 2014   #7
Brink

64-bit Windows 10 Pro
 
 

Ah, ok. Thank you for letting us know the specifics.

Using one of the other available numbered transparent icons below instead may be able work if you should need to.

Name:  shell32dll.jpg
Views: 11
Size:  54.7 KB


My System SpecsSystem Spec
06 Feb 2014   #8
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Timsup2nothin View Post
~~~
By shortcuts to network drives do you mean shortcuts to files on those drives, or shortcuts to the drive itself?

I mostly have shortcuts to folders full of shortcuts on my desktop...
~~~
Is that something Win7 can't stomach?
I see that you have made some progress since I last was on the forum... but I'll go ahead and answer some questions anyway.

By network drives, I mean drives on other computers or drives that are not a part of the computer that you are working with. The reason why I asked about that is: I see the same issue where I work. the icon database is corrupted with each reboot. We can stop that corruption if we remove desktop shortcuts to items that reside on a server that is in another town.

As far as W7 handling desktop folders that have shortcuts - it should handle it just fine. In fact, that is another work around for the problematic desktop shortcuts that I mentioned above (e.g. get the "networked shortcuts" off of the desktop).


Hopefully you do not need your original question answered. The difficulty in adding a shutdown line to the batch file in question is knowing how best to handle the timing. The batch file kills Explorer, then restarts Explorer. We would be adding a line that immediately shuts down Explorer again. If I were to add a shutdown line to that batch file in question, I would remove the part of the original batch file that kills/restarts Explorer... but that's just me :-)
My System SpecsSystem Spec
Reply

 Icon cache always corrupts




Thread Tools




Similar help and support threads
Thread Forum
Icon Cache - Rebuild
How to Rebuild the Icon Cache in Windows If one or more of your icons are not displaying correctly, or that your icon cache is corrupted, then you might consider rebuilding the icon cache to reset and reload the icon images into the icon cache in Vista, Windows 7, and Windows 8. This will...
Tutorials
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
Rebuilding Icon Cache?
I've tried at least 5 or 6 different ways to re-build my icon cache, with no luck. I've opened cmd and tried to delete the icon cache, but a note comes up that says 'Access is denied' whenever I try to do so (it comes up after I've typed in the whole \AppData\Local part). I've had to re-build my...
General Discussion
Foobar icon cache
My right click menu for foobar is missing icons in the tasks section. I've tried uninstalling/reinstalling foobar and rebuilding icon cache, neither have worked. http://img34.imageshack.us/img34/8499/29637221.png
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 22:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App