If the desktop icon on your computer is incorrect, it may be a problem with the icon display, or the cache file may be broken. In Windows 7, you just need to modify it.
Knowledge Point Analysis:
Sometimes the icon is not displayed normally because the Icon cache file is damaged. We need to create a new one.
The Icon cache in Windows 7 is not only stored in "% USERPROFILE %/AppData/Local/IconCache. db "file (" % USERPROFILE % "indicates your user folder, which can be directly identified by the System) in addition, several thumbcache _ * files under the "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/" folder are displayed _*. db "files are stored, so you can delete these files directly, and then restart the explorer process to clear the Icon cache perfectly (the system may prompt that the file cannot be deleted, the permission is insufficient, and so on, then obtain the permissions of the file and then delete it one by one)
Procedure:
In Windows 7, delete the Icon cache file and restart the system to automatically create a new one.
Path:C:/Users/user name/AppData/Local/IconCache. db
You can also use the following batch processing files
* ************************** This line is not included ********** **********************
Rem closes Windows shell program explorer
Taskkill/f/im assumer.exe
Rem cleanup System Icon cache Database
Attrib-h-s-r "% USERPROFILE %/AppData/Local/IconCache. db"
Del/f "% USERPROFILE %/AppData/Local/IconCache. db"
Attrib/s/d-h-s-r "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer /*"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_32.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_96.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_102.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_256.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_1024.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_idx.db"
Del/f "% USERPROFILE %/AppData/Local/Microsoft/Windows/Explorer/thumbcache_sr.db"
Rem clear system tray memory icon
Echo y | reg delete "HKEY_CLASSES_ROOT/Local Settings/Software/Microsoft/Windows/CurrentVersion/TrayNotify"/v IconStreams
Echo y | reg delete "HKEY_CLASSES_ROOT/Local Settings/Software/Microsoft/Windows/CurrentVersion/TrayNotify"/v PastIconsStream
Rem restart Windows shell program explorer
Start explorer
* ************************** This line is not included ********** **********************
In the XP operating system, delete the Icon cache file and restart the system to automatically create a new one.
Path:C:/Documents and Settings/user name/Local Settings/Application Data/IconCache. db