Fix Broken or Corrupt icons on Windows


Annoyed with broken, corrupt icons on your windows PC?  Here’s a short tutorial on how to solve the problem.

Step 1. Close and save anything that you are working on. This will close explorer.
Step 2. Open the Start Menu, then open Notepad.
Step 3. In Notepad, Copy and Paste code below exactly as is and then save as anyname.bat & Make sure Save As Type is All Files(*.*)

taskkill /f /im explorer.exe
set iconcache=%localappdata%\IconCache.db
del “%iconcache%” /A
set thumbcache=C:\Users\%username%\AppData\Local\Microsoft\Windows\Explorer\*.db*
del “%thumbcache%” /A
start C:\Windows\explorer.exe

Step 4. Now Run the .bat file you saved.Make sure you run as Administrator.

Step 5. The Icon Cache & Thumb Cache have been deleted now and icons have been fixed!