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

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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

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

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 Windows 7 can't stomach?
My System SpecsSystem Spec
06 Feb 2014   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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: 5
Size:  54.7 KB


My System SpecsSystem Spec
06 Feb 2014   #8

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 Windows 7 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 Windows 7 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 for2: Icon cache always corrupts
Thread Forum
Icon Cache - Rebuild Tutorials
Icon Cache Problems 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 05:35 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