none
Corrupt icon in windows 7

    Question

  • I have windows 7 on my laptop. I just installed quick time and after installing the program, ALL of the desktop icon had a white page displayed on top of them. It looked as if it was a micro sized page of windows explorer. I don't know what happen. I ran a scan and it came up clean. This happened once before and I had to do a reinstall to fix the problem. How do I solve this problem?
    Monday, February 15, 2010 2:53 AM

Answers

  • Sounds like your icon cache got corrupted.

    Here's how to rebuild the icon cache:
    1. Delete the file %USERPROFILE%\AppData\Local\Iconcache.db
    2. Start Task Manager (Right click the taskbar, select Start Task Manager )
    3. From the Processes tab, select explorer.exe and click the End Process button
    4. Explorer (Taskbar, desktop etc) should now go away and come back.

    How do I delete the file?

    In the Start menu, type in del %USERPROFILE%\AppData\Local\Iconcache.db
    I recommend copy/paste so you don't mistype it.

    Why kill it rather than just logging off and on again?
    Windows Explorer will load the icon cache into memory when it starts, and then update it in-memory.
    When it shuts down, for example when you log out, it will write that cache to the file listed above, making it saved as corrupted.
    By forcibly killing it, you prevent it from writing the (corrupted) cache to disk, and force it to build a new cache when it starts back up.  Hopefully that cache will not be corrupted.


    Did that work OK?
    Do not meddle in the affairs of dragons, for you are crunchy and good with ketchup!
    • Marked as answer by Novak Wu Monday, February 22, 2010 1:32 AM
    Monday, February 15, 2010 7:41 AM

All replies

  • Sounds like your icon cache got corrupted.

    Here's how to rebuild the icon cache:
    1. Delete the file %USERPROFILE%\AppData\Local\Iconcache.db
    2. Start Task Manager (Right click the taskbar, select Start Task Manager )
    3. From the Processes tab, select explorer.exe and click the End Process button
    4. Explorer (Taskbar, desktop etc) should now go away and come back.

    How do I delete the file?

    In the Start menu, type in del %USERPROFILE%\AppData\Local\Iconcache.db
    I recommend copy/paste so you don't mistype it.

    Why kill it rather than just logging off and on again?
    Windows Explorer will load the icon cache into memory when it starts, and then update it in-memory.
    When it shuts down, for example when you log out, it will write that cache to the file listed above, making it saved as corrupted.
    By forcibly killing it, you prevent it from writing the (corrupted) cache to disk, and force it to build a new cache when it starts back up.  Hopefully that cache will not be corrupted.


    Did that work OK?
    Do not meddle in the affairs of dragons, for you are crunchy and good with ketchup!
    • Marked as answer by Novak Wu Monday, February 22, 2010 1:32 AM
    Monday, February 15, 2010 7:41 AM
  • I had this problem on my Windows 7 x64 machine. I tried rebuilding the icon cache (using the steps indicated), and it did not help. I noticed that if I logged in as another user on the machine, the icons appeared fine. Here is how I fixed the problem:

    1) Create temporary user account in Control Panel.

    2) Log in as the temporary user, and verify the icons look fine.

    3) Log out of temp user account, and back in to the corrupted account.

    4) Copy the "Iconcache.db" file from the temporary user's appdata\local directory, and paste it over the one in the corrupted users appdata\local directory.

    5) From the Processes tab, select explorer.exe and click End Process button.

    6) Reboot PC.

    Monday, February 21, 2011 3:15 AM
  • Sounds like your icon cache got corrupted.

    Here's how to rebuild the icon cache:
    1. Delete the file %USERPROFILE%\AppData\Local\Iconcache.db
    2. Start Task Manager (Right click the taskbar, select Start Task Manager )
    3. From the Processes tab, select explorer.exe and click the End Process button
    4. Explorer (Taskbar, desktop etc) should now go away and come back.

    How do I delete the file?

    In the Start menu, type in del %USERPROFILE%\AppData\Local\Iconcache.db
    I recommend copy/paste so you don't mistype it.

    Why kill it rather than just logging off and on again?
    Windows Explorer will load the icon cache into memory when it starts, and then update it in-memory.
    When it shuts down, for example when you log out, it will write that cache to the file listed above, making it saved as corrupted.
    By forcibly killing it, you prevent it from writing the (corrupted) cache to disk, and force it to build a new cache when it starts back up.  Hopefully that cache will not be corrupted.


    Did that work OK?
    Do not meddle in the affairs of dragons, for you are crunchy and good with ketchup!

    DemmyDemon you are a life saver!!! This works 100%

    Wednesday, March 02, 2011 10:21 AM
  • If the machine is networked and you can connect remotely to its system drive from a different machine, you could also delete (or, if you want to be safer, rename) the iconcache.db file while the user is not logged in. (Note: You will need to know the location of %Userprofile% in the target machine, typically C:\Users\username)
    Wednesday, December 21, 2011 4:54 PM