Windows 10: Rebuild Icon Cache in Windows 10

Discus and support Rebuild Icon Cache in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Rebuild Icon Cache in Windows 10 How to Rebuild the Icon Cache in Windows 10 The icons that display for files in Windows are saved in an... Discussion in 'Windows 10 Tutorials' started by Cliff S, Apr 27, 2015.

  1. Cliff S New Member

    Rebuild Icon Cache in Windows 10


    How to: Rebuild Icon Cache in Windows 10

    How to Rebuild the Icon Cache in Windows 10


    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.

    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.
    This tutorial will show you how to rebuild the icon cache to clear and reset it for your account in Windows 10.


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





    OPTION ONE [/i] 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

    Code:
    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 When 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)

    Rebuild Icon Cache in Windows 10 [​IMG]

    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)

    Rebuild Icon Cache in Windows 10 [​IMG]


    Rebuild Icon Cache in Windows 10 [​IMG]

    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.






    OPTION TWO [/i] 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.
    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

    This last command will instantly restart the computer.

    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


    Related Tutorials

    :)
     
    Cliff S, Apr 27, 2015
    #1
  2. Sumit Dhiman2, Apr 27, 2015
    #2
  3. Andre Da Costa, Apr 27, 2015
    #3
  4. Rebuild Icon Cache in Windows 10

    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
     
    already999, Sep 22, 2015
    #4
  5. Brink
    Brink New Member
    Hello Al, and welcome to Ten Forums. *Smile

    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
     
    Brink, Sep 22, 2015
    #5
  6. periboob Win User
    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.
     
    periboob, Sep 26, 2015
    #6
  7. Brink
    Brink New Member
    Hello Periboob, *Smile

    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
     
    Brink, Sep 26, 2015
    #7
  8. periboob Win User

    Rebuild Icon Cache in Windows 10

    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.
     
    periboob, Sep 26, 2015
    #8
  9. Cliff S New Member
    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.
     
    Cliff S, Sep 26, 2015
    #9
  10. vbcrayon Win User
    Rebuild Bat link down. *Sad
     
    vbcrayon, Sep 29, 2015
    #10
  11. Brink
    Brink New Member
    Hello vbcrayon, and welcome to Ten Forums. *Smile

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

    Windows 10 Help Forums

    What browser are you using? Any download managers?
     
    Brink, Sep 29, 2015
    #11
  12. vbcrayon Win User
    Anyone (I tried Chrome, Mozilla, Internet Explorer, etc). No.

    Can you put the bat's content here for me, please?
     
    vbcrayon, Sep 29, 2015
    #12
  13. Brink
    Brink New Member

    Rebuild Icon Cache in Windows 10

    Here's the content to create it with.

    I'll also include a download here to see if you may be able to download it in this post instead.

    Rebuild_Icon_Cache.bat

    OR

    Rebuild_Icon_Cache.zip

    Code: :: Created by: Shawn :: Rebuild Icon Cache in Windows 10 @echo off set iconcache=%localappdata%\IconCache.db echo. echo The explorer process must be temporarily killed before deleting the IconCache.db file. echo. echo Please SAVE ALL OPEN WORK before continuing. echo. pause echo. If exist "%iconcache%" goto delete echo. echo The IconCache.db file has already been deleted. goto restart :delete echo. echo Attempting to delete IconCache.db file... echo. ie4uinit.exe -ClearIconCache taskkill /IM explorer.exe /F del "%iconcache%" /A start explorer.exe echo. echo IconCache.db file has been successfully deleted. goto restart :restart echo. echo. echo You will need to restart the PC to finish rebuilding your icon cache. echo. CHOICE /C:YN /M "Do you want to restart the PC now?" IF ERRORLEVEL 2 goto no IF ERRORLEVEL 1 goto yes :yes shutdown /r /f /t 00 :no exit /B[/quote]
     
    Brink, Sep 29, 2015
    #13
  14. vbcrayon Win User
    Thanks!!! First link does not work. But second (Rebuild_Icon_Cache.zip), no problem!
     
    vbcrayon, Sep 29, 2015
    #14
  15. Brink
    Brink New Member
    Great news. It sounds like you may have something installed that blocks downloading .bat files then.
     
    Brink, Sep 29, 2015
    #15
Thema:

Rebuild Icon Cache in Windows 10

Loading...
  1. Rebuild Icon Cache in Windows 10 - Similar Threads - Rebuild Icon Cache

  2. Blurry Folder icons depsite multiple icon cache and thumbnail deletion and rebuild.

    in Windows 10 Gaming
    Blurry Folder icons depsite multiple icon cache and thumbnail deletion and rebuild.: I have done multiple times of these below and it still cannot fix them.- Delete Thumbnail and Icon Cache and Rebuild them = still blurry- DDU Nvidia Driver and install multiple version = no change- Used onboard Intel Graphic and dedicated ASUS RTX 2060 EVO = same too, also on...
  3. Blurry Folder icons depsite multiple icon cache and thumbnail deletion and rebuild.

    in Windows 10 Software and Apps
    Blurry Folder icons depsite multiple icon cache and thumbnail deletion and rebuild.: I have done multiple times of these below and it still cannot fix them.- Delete Thumbnail and Icon Cache and Rebuild them = still blurry- DDU Nvidia Driver and install multiple version = no change- Used onboard Intel Graphic and dedicated ASUS RTX 2060 EVO = same too, also on...
  4. Rebuild Icon Cache no longer effective

    in Windows 10 Support
    Rebuild Icon Cache no longer effective: I recently upgraded to Windows 10 20H2 Build 19042.610. Shortly after that a number of icons on my desktop went blank. Properties displays still show correct icons. Tried running Rebuild_Icon_Cache batch file supplied in the tutorials but no success. Any ideas? 167685
  5. Icons invisible on PC icon cache will not rebuild

    in Windows 10 Customization
    Icons invisible on PC icon cache will not rebuild: Hello, I have recently been experimenting with replacing the icons for the applications on my PC using a program called "Customizergod" and in this process seemed to have removed all the icons in my file explore, desktop, etc. I've tried many solutions such as rebuilding the...
  6. How to Rebuild Icon Cache, Clear Thumbnail cache in Windows 10

    in Windows 10 BSOD Crashes and Debugging
    How to Rebuild Icon Cache, Clear Thumbnail cache in Windows 10: Hi, I am facing problem as the Progress Bar keep running green after the optional windows update of KB455094 though I have deleted it but the problem remain same. Even Explorer can not be open unless I reboot computer whenever I have to access folders in Explorer....
  7. Thumbnail Cache Rebuilding Automatically?

    in Windows 10 Ask Insider
    Thumbnail Cache Rebuilding Automatically?: Hi. I have two SSDs in my laptop, one of which contains Windows and a few programs, and the other drive is Bitlocker encrypted and contains documents, pictures and games. I am noticing that just recently, my thumbnail cache has rebuilding itself quite frequently, often after...
  8. I tried to rebuild the icon cache

    in Windows 10 Support
    I tried to rebuild the icon cache: I tried to rebuild the icon cache. I had no success whatsoever. Here are my screenshots if anyone has an idea: [img] [img] [img] [img] 136373
  9. Thumbnail cache and icon cache rebuilding after a feature update?

    in Windows 10 Support
    Thumbnail cache and icon cache rebuilding after a feature update?: I was curious about the thumbnail cache and icon cache. Do these rebuild themselves after a feature update? I have a small issue with some icons. It so insignificant that I won’t bother manually rebuilding the icon cache but just wondered if a feature update forces something...
  10. Rebuild Font Cache in Windows 10

    in Windows 10 Tutorials
    Rebuild Font Cache in Windows 10: How to: Rebuild Font Cache in Windows 10 How to Rebuild Font Cache in Windows 10 The font cache is a file or set of files used by Windows to manage and display the fonts that are installed on your PC. Sometimes the font cache may become corrupted and cause fonts to be...