Skip to content

Instantly share code, notes, and snippets.

@Ugrend
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ugrend/8f93918548feae1fd17e to your computer and use it in GitHub Desktop.
Save Ugrend/8f93918548feae1fd17e to your computer and use it in GitHub Desktop.
fix black/corrupt transparent icons
@echo off
REM i shouldnt have to do this but it has come to this
REM when i reboot transparent icons become black
REM googlefu has failed me and I see people with same problems but people keep giving same answers that DONT work
REM removing iconcahce works, but fucks up after reboot
REM so this script will remove iconcache at startup kill explorer.exe and start it up again so hopefully it fixes this shit
REM place this in startup folder
taskkill /f /IM explorer.exe
DEL /AH "C:\Users\%USERNAME%\AppData\Local\IconCache.db"
Start explorer.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment