Skip to content

Instantly share code, notes, and snippets.

@bantya
Created November 6, 2017 09:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bantya/ce7990a781c91dca4f0349428b4fc0f3 to your computer and use it in GitHub Desktop.
Save bantya/ce7990a781c91dca4f0349428b4fc0f3 to your computer and use it in GitHub Desktop.
bat: clear windows apps icon cache
@echo off
:: ie4uinit.exe -show
ie4uinit.exe -ClearIconCache
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment