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.
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
Great news. It sounds like you may have something installed that blocks downloading .bat files then.
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:
- I followed Shawn's instructions for Rebuild_Icon_Cache.bat (option 1). It showed the brief flash and then disappeared.
- Then, if I recall correctly, it was the Task Bar which also disappeared. So I tried rebooting.
- 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.
- 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).
- 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.
- 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
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.
I'm glad to hear it.
These would be Windows apps (aka: modern apps) instead.
If the files open correctly, then it wouldn't be an association issue.