I had a batch file which rebuilt the icon cache. That seemed to work, but on a Restart the corruption remained.
I then found a batch file specifically for Windows 10 which differed to the one I had.
That seemed to work, but on a Restart the corruption remained again.
That's it. I'm going to restore a system backup and go back two days.
That did not work either. The question then is: When did the corruption occur? Unless I have to, I only Restart my machine once a week – going to Sleep in between. I do a total of 10 system backups; once per day.
I then found a method using the command prompt.
Code: Select all
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.
So if you are on Windows 10 and your icon cache gets corrupted, then the command prompt method is your best bet.