Rebuild Icon Cache in Windows 10  

Page 2 of 18 FirstFirst 123412 ... LastLast

  1. Posts : 9
    Windows 10
       #10

    Brink said:
    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?
    Anyone (I tried Chrome, Mozilla, Internet Explorer, etc). No.

    Can you put the bat's content here for me, please?
      My Computer


  2. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #11

    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 Brink
    :: https://www.tenforums.com
    :: Tutorial: https://www.tenforums.com/tutorials/5645-icon-cache-rebuild-windows-10-a.html
    
    @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
      My Computers


  3. Posts : 9
    Windows 10
       #12

    Thanks!!! First link does not work. But second (Rebuild_Icon_Cache.zip), no problem!
      My Computer


  4. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    Great news. It sounds like you may have something installed that blocks downloading .bat files then.
      My Computers


  5. Posts : 2
    Windows 10
       #14

    Having trouble with the BAT file option


    Need Help!
    I tried the BAT file option (which I've done successfully in the past with Windows 7 from sevenforums), now I'm having trouble with the entire Windows display. Here's what happened:


    1. I followed Shawn's instructions for Rebuild_Icon_Cache.bat (option 1). It showed the brief flash and then disappeared.
    2. Then, if I recall correctly, it was the Task Bar which also disappeared. So I tried rebooting.
    3. The system came back to the Windows login screen and I logged in as usual. Then, when Windows started loading, it gave me only a black screen and white window. No Task Bar. No Start Menu. I tried keyboard shortcuts to see if that would launch some application, but I nothing ed.
    4. I came back to it a couple hours later and this time tried to open the Task Manager with Ctrl-Alt-Del. It displayed the Task Manage fine and revealed there were three applications open- A JPG image--that turned out to be the "white window" I was seeing (but no JPG was visible---it was literally a 100% white, re-sizable window with the min-max-close buttons showing upper right).
    5. The two other applications that were open were MS Outlook and a screen capture program (Snag-It) I have. I'm thinking those might have been launched as I was trying "Quick Keys", because they actually work fine.
    6. Bottom line, O/S screens parts are showing--task bar, menu, clock, background image, etc., and I cannot get them to display. While Ctrl-Alt-Del opens its normal menu, the Task Manager does NOT show when clicked---nothing happens.


    At this point I'm thinking if we can reverse the effects of Shawn's BAT file, that might be the best place to start, but I need to how to do that and open to any other ideas. Thanks. --Bill
      My Computer


  6. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #15

    Hello Contego, and welcome to Ten Forums. :)

    It sounds like something interrupted the explorer process from starting.

    You can do this below to start it:
    • Open Task Manager (Ctrl+Shift+Esc)
    • Click on File (menu bar) in Task Manager.
    • Click on Run new task.
    • Type explorer, and click/tap on OK.
      My Computers


  7. Posts : 2
    Windows 10
       #16

    It worked--sort of.


    Brink said:
    Hello Contego, and welcome to Ten Forums. :)

    It sounds like something interrupted the explorer process from starting.

    You can do this below to start it:
    • Open Task Manager (Ctrl+Shift+Esc)
    • Click on File (menu bar) in Task Manager.
    • Click on Run new task.
    • Type explorer, and click/tap on OK.
    Thanks for the suggestion, Brink. As I was trying Ctrl-Shift-Esc, nothing was happening---so I was not even getting Task Manager. I tried multiple times and was then clicking around the black screen on the few windows that were visible. Something I did caused the system to reboot, and this time Windows came back (unlike the first two times)! So I don't know exactly the cause or the solution, but my screen is back up. Will re-post if that changes. Many thanks!
      My Computer


  8. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #17

    I'm glad to hear it. :)
      My Computers


  9. Posts : 27
    Microsoft Windows 10
       #18

    Brink said:
    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
    I have a very similar, but slightly different issue. The proper icons for certain applications (calculator, calender, camera, store, settings--the ones that I know about--which are applications (.exe), right?) do not display in the Windows search field; Instead, the default icon for images is displayed. Is this an issue of file association in the registry?
      My Computer


  10. Posts : 68,880
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #19

    Hello Anton, :)

    These would be Windows apps (aka: modern apps) instead.

    If the files open correctly, then it wouldn't be an association issue.
      My Computers


 

Tutorial Categories

Rebuild Icon Cache in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 18:57.
Find Us




Windows 10 Forums