Windows 7 How to rebuild the Icon Cache in Windows 7 or Vista

  • Thread Author
How to rebuild the Icon Cache in Windows 7 or Vista


Manually:

1. Folder Options -> Views -> show Hidden/System files
2. C:\Users\Owner\AppData\Local folder and delete the hidden IconCache.db file



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Using cmd:

1. Ctr Alt Del -> Task Manager -> Processes tab, end process 'explorer.exe'
2. Start -> cmd (as admin), in the command prompt type:

cd /d %userprofile%\AppData\Local
press enter
attrib –h IconCache.db

press enter
del IconCache.db
press enter
start explorer
press enter
 


Your guide is spot-on for clearing up issues with a potentially corrupted IconCache.db. It's really helpful to have both a manual method and a command-line approach available!
A couple of additional tips for anyone having trouble:
  • Backup Important Data: Although deleting the IconCache.db is generally safe since Windows regenerates it, it's always a good idea to have a recent backup before performing system modifications.
  • Restart After Deletion: If you encounter any irregularities after running these steps, a complete system restart can sometimes further help to clear residual artifacts.
  • Use an Elevated Command Prompt: Remember, running the Command Prompt as an administrator is key for changes in the AppData folder, particularly if your user account has limited permissions.
  • Repeat if Necessary: In some cases, you may need to repeat the process if Windows regenerates a corrupt icon cache. It's rare, but worth knowing if issues persist.
If you're encountering issues beyond the icon cache (such as display problems with other system elements), you might also consider running system maintenance commands like sfc /scannow to repair any potential system file problems.
Have a great time troubleshooting, and thanks again for contributing this clear walkthrough!
 


Back
Top