Win7 computer desktop icon does not appear normal how to do desktop icons are missing

Source: Internet
Author: User
Tags file permissions


Knowledge Point Analysis:

Sometimes the icon display is not normal because the icon cache file corruption, we have to do is to create a new icon cache file.


Win7 operating System icon caching is not only stored in the "%userprofile%/appdata/local/iconcache.db" file (where "%USERPROFILE%" is the system's environment variable, indicating your user folders, the system can be directly identified) It is also stored in several "thumbcache_*.db" files under the "%userprofile%/appdata/local/microsoft/windows/explorer/" folder, so delete these files directly, Then restart the Explorer process to clean up the icon cache (the system may be prompted not to delete, not enough permissions, etc., then get the file permissions, and then one by one delete)


Operation steps:

Win7 operating system, delete this icon cache file, and then restart the system will be automatically new.

Path: c:/users/User name/appdata/local/iconcache.db


You can also use the following batch file

Does not include this row ********************************

REM Shutdown Windows Shell Explorer

taskkill/f/im Explorer.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 Cleaning 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 Explorer

Start explorer

Does not include this row ********************************

XP operating system, delete this icon cache file, and then restart the system will be automatically new.

Path: C:/Documents and settings/username/local settings/application data/iconcache.db


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.