Win10 system how to delete the icon cache

  
Windows10 official version of the system uses a cache method to speed up the display. However, users find that occasional icon caching can also cause problems. For example, the icon display is not normal, and the thumbnail cannot be displayed, misplaced or not refreshed. At this point, we can fix it by rebuilding the cache. Let's take a look at Win10's manual deletion of the icon cache to rebuild the cache.
Manually rebuilding the Win10 icon cache
Windows10 is similar to the previous version of Windows. The icon cache is stored in the special database file IconCache.db. The following steps are required if you want to rebuild the Windows 10 icon cache.
The icon cache files for Windows 7 and Windows 8 are stored in the C:Users username AppDataLocal folder, and the icon cache files for Windows 10 and Windows 8.1 have been changed to the following path:
%userprofile%AppDataLocalMicrosoftWindowsExplorer (Copy Quickly open to the run)

In the above folder you will see iconsicon_32.db, iconcache_48.db, iconcache_96.db, iconcache_256.db, iconcache_1024.db, iconcache_1280.db, iconcache_1600.db Files such as iconcache_1920.db, iconcache_2560.db, iconcache_exif.db, iconcache_idx.db, iconcache_sr.db, iconcache_wide.dd, iconcache_wide_alternate.db.
Remove all of these files to rebuild the Windows 10 icon cache. Of course, if Windows Explorer is using the current file, it may cause some files to be deleted. At this point, we can save the following code as a xxx.bat file and execute it with administrator privileges.
cd /d %userprofile%AppDataLocalMicrosoftWindowsExplorer taskkill /f /im explorer.exe attrib -h iconcache_*.db del iconcache_*.db /a start explorer pause
Executing the above batch will restart Windows Explorer, so the desktop will Disappear. After the execution, the Windows 10 icon cache database is deleted, and Windows 10 automatically rebuilds the icon cache for us.
Manually rebuild Win10 thumbnail cache
Windows 10 generally generates thumbnails of pictures, videos, music and documents. The path is the same as the Windows 10 icon cache file, and the file name is similar to thumbcache_*.db. If your thumbnails don't show or don't refresh, try cleaning them up with the following batch, the steps are the same as clearing the icon cache.
cd /d %userprofile%AppDataLocalMicrosoftWindowsExplorer taskkill /f /im explorer.exe attrib -h thumbcache_*.db del thumbcache_*.db /a start explorer pause
The above is the system city Xiaobian introduced to everyone under Win10 Delete and rebuild methods for thumbnails and icon caches

Copyright © Windows knowledge All Rights Reserved