Skip to content

Instantly share code, notes, and snippets.

@gwang
Created August 26, 2015 04:54
Show Gist options
  • Select an option

  • Save gwang/e651c7eac2208e20e030 to your computer and use it in GitHub Desktop.

Select an option

Save gwang/e651c7eac2208e20e030 to your computer and use it in GitHub Desktop.
Why are icons missing for certain programs in Win7?
rem Try the following.
rem Open Notepad and paste the below code.
taskkill /F /IM explorer.exe
cd /d %UserProfile%\AppData\Local
attrib –h IconCache.db
del IconCache.db
start explorer
rem save the file as a .bat file on your desktop. Then open explorer and navigate
rem to C:\users\<UserName>\appdata\local\ (make sure you've select to view hidden folders) and delete IconCache.db.
rem Lastly, double click on the .bat file that you saved on your desktop and all icons should be restored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment