The reason and solution of the win7 system desktop office icon turned into a white square icon

  

The cause and solution of the win7 system desktop office icon turned into a white square icon. Win7 system boot found that all office icons on the desktop become white square icons, other program icons are displayed normally, what is going on? This situation is generally caused by the file icon cache error or loss, after looking for the reason How to solve the problem? You can solve this problem through Notepad, and extinguish the solution of sharing the win7 system desktop office icon into a white square icon.

Solution:

1. Right click on the blank space of the desktop and select “New”—“Text Document";

2. Double-click to open “Create a new text document”, copy the following code into it:

————————this line does not have to copy ————— ———

rem Close the Windows shell explorer taskkill /f /im explorer.exe rem Clean up the system icon cache database attrib -h -s -r "%userprofile%AppDataLocalIconCache.db" del /f "%userprofile%AppDataLocalIconCache.db" attrib /s /d -h -s -r "%userprofile%AppDataLocalMicrosoftWindowsExplorer*" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_32.db" del /f "%userprofile% AppDataLocalMicrosoftWindowsExplorerthumbcache_96.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_102.db" del /f "%userprofile%AppDataLoc alMicrosoftWindowsExplorerthumbcache_256.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_1024.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idx.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_sr.db" rem Clean System tray memory icon echo y| Reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams echo y| Reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream rem Restart the Windows shell explorer explorer

————————this line does not have to copy ——— —————

3, click “file”—“save as", save the save type in the save interface to “all files”, file Change the name to “fix cache.bat”, click “Save">;

4. Right click on the “Repair Desktop Cache.bat” file and select “Run as administrator” &rdquo ;, waiting for the black frame to flash, the repair is complete.

The content of this tutorial is the reason and solution for the win7 system desktop office icon to become a white square icon. If you have a friend's win7 system computer, you can refer to the content of this tutorial.

Copyright © Windows knowledge All Rights Reserved