When using Windows, the program icon is often displayed abnormally, and the restart cannot be solved; in fact, this is an error in the icon cache, due to some unexpected errors. This icon may display an exception due to a cache process error, cache file corruption, and so on. In fact, it is very simple to solve, clean up the icon cache, a script can solve the problem, and it is very easy to use.
This script is also found on the Internet. Who is the author who can't test it? Let's share it:
Copy the code
The code is as follows: rem Close the Windows shell explorer</p> ;<p>taskkill /f /im explorer.exe</p><p>rem Clean System Icon Cache Database</p><p>attrib -h -s -r "%userprofile%\\AppData\\ Local\\IconCache.db"</p><p>del /f "%userprofile%\\AppData\\Local\\IconCache.db"</p><p>attrib /s /d -h -s - r "%userprofile%\\AppData\\Local\\Microsoft\\Windows\\Explorer\\*"</p><p>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"</p><p>rem Restart Windows shell explorer</p><p> ;start explorer
Create a clean_icon_cache.bat batch file, right click and click Edit, then copy the above into the file and save it, then double-click to execute.
Supplied with a script to clean up the history of the tray icon in the lower right corner:
Copy the code
The code is as follows: rem Close the Windows shell explorer</p><p>taskkill /f /Im explorer.exe</p><p>rem Clean up the system tray memory icon</p><p>echo y|
Reg delete "HKEY_CLASSES_ROOT\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\TrayNotify" /v IconStreamsecho y|
Reg delete "HKEY_CLASSES_ROOT\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\TrayNotify" /v PastIconsStream</p><p>rem Restart the Windows shell explorer</p><p>start explorer
Some WinXP users store many wireless network records and their passwords on their own computers, but
A lot of friends who use windows10 system have reflected that after running their computer for a per
In recent days, many users have installed the official version of Win10 system. Some users have fail
The firewall function is rarely enabled in WindowsXP, in order to enhance the Windows firewall funct
Win10 system cpu usage rate is too high to reach 70% solution
Upgrade Win10 system error 0xC1900101-0x3000d solution
Microsoft said that four patches pushed to Win7/Win8.1 will not illegally collect user information
Qq computer housekeeper free upgrade win10 common problem summary
What should I do if the new install win10 card is starting up?
Win10 system start menu can not work how to solve?
Win10 "There is a problem with your computer, need to restart" How to solve?
Win10 uses the file history function to restore the method of accidentally deleting files
What should I do if the exe file icon on the Win10 desktop is lost?
Alipay and digital certificate settings under Windows 7
How to disable Win key in Win7 system? Win7 system disables the Win key method
SEO's era has already bid farewell!
Win10 cancels the right sidebar, and the large screen device does not support the start screen
Banana chat app Are you still young? Game Raiders
Microsoft MVP revealed partial improvements in Windows 8 Beta
Application of mkdir command in Linux
Win10 boot failure prompts "Your computer has a problem, need to restart" how to do
Linux displays the Chinese character file name on the FAT partition