Icon cache always corrupts


  1. Posts : 6
    Windows 7 Home Premium 64bit
       #1

    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 Computer


  2. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
       #2

    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 Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #3

    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 Computer


  4. Posts : 6
    Windows 7 Home Premium 64bit
    Thread Starter
       #4

    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 Computer


  5. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
       #5

    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 Computer


  6. Posts : 6
    Windows 7 Home Premium 64bit
    Thread Starter
       #6

    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 Computer


  7. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
       #7

    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.

    Icon cache always corrupts-shell32dll.jpg
      My Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    Timsup2nothin said:
    ~~~
    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 04:29.
Find Us