Windows 10: Rebuild Icon Cache in Windows 10  

Page 1 of 10 123 ... LastLast
    Rebuild Icon Cache in Windows 10

    Rebuild Icon Cache in Windows 10

    How to Rebuild the Icon Cache in Windows 10
    Published by Category: Customization
    11 Mar 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 20,828

    Show Printable Version 


    How to Rebuild the Icon Cache in Windows 10

    information   Information
    The icons that display for files in Windows are saved in an icon cache so they can be displayed quickly instead of having to manually scan and slowly load them each time.

    The icon cache can sometimes become corrupted causing the icons of files to display incorrectly or distorted. When this happens, the icon cache needs to be deleted to reset and automatically recreate it.

    This tutorial will show you how to rebuild the icon cache to clear and reset it for your account in Windows 10.

    Note   Note
    Rebuilding the icon cache will not help with the following icon issues:
    • The icon of a shortcut not displaying properly due to the target source of the shortcut was moved or deleted. You may need to recreate a new shortcut directly from the source (ex: program's exe) file to replace it instead.
    • All icons for a specific file extension display the wrong icon. This may be due to setting the wrong association for what app to open the file type instead. If so, restoring the default association of the file extension will fix this issue.
    • Thumbnails of folders, pictures, videos, and documents.


    CONTENTS:
    • Option One: To Rebuild the Icon Cache using a BAT file
    • Option Two: To Rebuild the Icon Cache in the Command Prompt






    Rebuild Icon Cache in Windows 10 OPTION ONE Rebuild Icon Cache in Windows 10
    To Rebuild the Icon Cache using a BAT file

    1. Click/tap on the download button below to download the file below.

    Rebuild_Icon_Cache.bat

    download

    2. Save the .bat file to your desktop.

    3. Close and save anything that you are working on before proceeding. The next steps will involve killing explorer and restarting the PC.

    4. Run the .bat file.

    5. If prompted, click/tap on Run to approve. If you like, you can unblock the .bat file to no longer get the Run (Open File - Security Warning) prompt. (see screenshot below)

    Name:  Run_Open_File_Security_Warning.png
Views: 171218
Size:  23.6 KB

    6. Follow the instructions in the command prompt to rebuild the icon cache. If you do not restart the PC now, you will need to later to finish rebuilding the icon cache. (see screenshots below)

    Click image for larger version. 

Name:	Rebuild_icon_cache_command-1.png 
Views:	2377 
Size:	28.0 KB 
ID:	17857
    Click image for larger version. 

Name:	Rebuild_icon_cache_command-2.png 
Views:	1136 
Size:	22.9 KB 
ID:	17858

    7. If the icons are still not displaying properly after rebuilding the icon cache, then download and merge the .reg file for the .ico (ICO) option here to restore the default associations of .ico (icon) files in Windows 10.







    Rebuild Icon Cache in Windows 10 OPTION TWO Rebuild Icon Cache in Windows 10
    To Rebuild the Icon Cache in the Command Prompt

    1. Close and save anything that you are working on before proceeding. The next steps will involve killing explorer and restarting the PC.

    2. Open a command prompt.

    3. Copy and paste each command below one at a time into the command prompt, and press Enter after each command.
    warning   Warning
    The last command will instantly restart the PC.


    ie4uinit.exe -show

    taskkill /IM explorer.exe /F

    DEL /A /Q "%localappdata%\IconCache.db"

    DEL /A /F /Q "%localappdata%\Microsoft\Windows\Explorer\iconcache*"

    shutdown /r /f /t 00

    4. If the icons are still not displaying properly after rebuilding the icon cache, then download and merge the .reg file for the .ico (ICO) option here to restore the default associations of .ico (icon) files in Windows 10.


    That's it,
    Shawn



  1. Posts : 14,968
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       28 Apr 2015 #1

    You're tutorial makes it much easier Shawn. I've been doing/recommending the long way(copy & pasted from my tips & tricks folder):


    To Rebuild icon cache follow the below mentioned steps

    1. Open a File Explorer window.
    2. At the top left click the view tab and select(check)"Hidden Items.
    3. Go to C:\Users\(User Name)\AppData\Local
    4. Right click on IconCache.db and click on Delete.
    Name:  Screenshot (37).png
Views: 173302
Size:  130.4 KB
    5. Click on Yes to confirm the deletion.
    NOTE: This deletes the fileto the Recycle Bin. It is safe to empty the Recycle Bin when finished.

    6. Close the window.

    7. Empty the Recycle Bin.

    8. Restart the computer.

    9. When you go back, you will notice the Size of the IconCache.dbfile is smaller, and the Date Modified is now the current date. (See screenshotbelow)
    NOTE: If for some reasonIconCache.db is not there or the size has not changed much, then just restartthe computer again. You may need to restart a couple of times in some cases.

    10. The icon cache has been rebuilt.
      My ComputersSystem Spec

  2.    23 Sep 2015 #2

    Hi,

    Installed win10 desktop icon are build very slow when comparing with win 8.1.
    Did a manual delete of the icon cache file as described on the site. Did a cleaning with the latest tool recommended on this site.
    Even replaced my 'older (2Y)' hdd with a SSD (Samsung 850) the icons are build slow. What's happen??? The icons are first displayed as a white background.
    After that the icons are build with the real program icons one by one (very slow)
    Any help is appreciated (latest drivers from my graphic card are installed also the latest MS updates are installed)
    Kind regards

    Al
      My ComputerSystem Spec


  3. Posts : 20,828
    64-bit Windows 10 Pro build 16199
    Thread Starter
       23 Sep 2015 #3

    Hello Al, and welcome to Ten Forums.

    It sounds like something may be using up your system resources causing the slow down.

    It depends on your system specs, but you might see if troubleshooting with a clean boot may help to reveal a cause.

    Troubleshoot Problem with Clean Boot in Windows 8
      My ComputersSystem Spec


  4. Posts : 6
    Win 10 pro 64 bit
       27 Sep 2015 #4

    I think my problem started when I saw a reference (forget where) to the effect that "shutdown", followed by a new power-on, does not do a clean restart of machine/Windows. To get a clean start you can use the StartButton>Power>Restart function. So, I tried it :-( It does get a bit busier and takes longer. But when Restart finished, I was missing some (2-3 of ~30) of the icons on my desktop. Sort of missing anyway. The Desktop folder in File Explorer contains all that should be on my desktop. The icons were shortcuts to batch files, and to folders. When I tried to recreate the shortcuts, the label gets "(2)" added to it. My desktop shows a Thumbs.db icon, and two desktop.ini icons. all grayed out. (these have been there on W7 before I went to W10.

    The tutorials looked promising, I confirmed that the iconcache.db was deleted. But icons still missing.
      My ComputerSystem Spec


  5. Posts : 20,828
    64-bit Windows 10 Pro build 16199
    Thread Starter
       27 Sep 2015 #5

    Hello Periboob,

    It sounds like they may just be hidden since you got a "(2)" in the name when trying to add them back. As a test, right click on your desktop, click on View, and make sure that "Show desktop icons" is checked.

    https://www.tenforums.com/tutorials/6...dows-10-a.html
      My ComputersSystem Spec


  6. Posts : 6
    Win 10 pro 64 bit
       27 Sep 2015 #6

    Thanks Brink, but "Show desktop icons" already checked. Any other ideas welcome. Just on a whim, I opened a command window at the Desktop folder, and "type"d both the .lnk files for one that had disappeared. File contents appear identical to the human eye at least. This suggests to me that the problem is not in the contents of these files, but rather system instruction of some sort.
      My ComputerSystem Spec


  7. Posts : 14,968
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       27 Sep 2015 #7

    Did you moved those bat files and folders, maybe. Windows stores the path in the registry for shortcuts, but not the actual address. For example if, not thinking I move an icon or wallpaper to another folder, or put it in one even, the path changes and I get a blank(white sheet of paper as a place holder, but no shortcut/wallpaper.
      My ComputersSystem Spec

  8.    30 Sep 2015 #8

    Rebuild Bat link down.
      My ComputerSystem Spec


  9. Posts : 20,828
    64-bit Windows 10 Pro build 16199
    Thread Starter
       30 Sep 2015 #9

    Hello vbcrayon, and welcome to Ten Forums.

    The .bat download seems to be working fine for me.

    https://www.tenforums.com/attachments...icon_cache.bat

    What browser are you using? Any download managers?
      My ComputersSystem Spec


 
Page 1 of 10 123 ... LastLast

Related Threads
Title pretty much sums it up, is there a way to move the browsing cache from Microsoft Edge to a secondary drive? Thanks!
How to Clear and Reset the Thumbnail Cache in Windows 10 Windows keeps a copy of all your folder, picture, video, and document thumbnails in a cache so they can be displayed quickly when you open a folder instead of having to manually scan and...
Ghost icon in Windows 10 in Software and Apps
Hi After the latest win 10 preview update, I have a ghost icon left from a MUI app in the start menu. App isn't installed, clicking does nothing. It's just there with the @{xxxxxxx} crap, and it's actually annoying me. I looked in the...
My laptop Asus S400CA comes with 24GB SSD to work as express cache. What should be done while upgrading from windows 8.1 to windows 10 so that express cache is used. Will windows 10 installation take care and use this cache automatically or should...
ok so i just upgraded to windows 10 and i love it so far, but one small thing my mSSD cache drive dosent seem to be working well. its installed and the drivers and bios are setup, and the drive says it's accelerated but not having a effect on my...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:53.
Find Us