Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Windows 7系統教程 >> 關於Windows7系統教程 >> win7圖標不顯示的解決辦法

win7圖標不顯示的解決辦法

日期:2017/1/23 17:46:39      編輯:關於Windows7系統教程

不知道用WIN7的朋友有沒有遇到和我一樣的情況。一些程序的圖標或是快捷方式無法正常顯示。本人被這個情況困擾很久,網上也找了很多方法,把一個最簡單有效的方法推薦給大家。

使用方法:復制下面cmd代碼到“記事本”程序,點“另存為”,在“文件名”處輸入 重建win7圖標緩存.bat,“保存類型”選擇“所有文件”即可。

代碼:

rem 關閉Windows外殼程序explorer

taskkill /f /im explorer.exe

rem 清理系統圖標緩存數據庫

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%AppDataLocalMicrosoftWindowsExplorerthumbcache_256.db"

del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_1024.db"

del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idx.db"

del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_sr.db"

rem 清理 系統托盤記憶的圖標

echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams

echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream

rem 重啟Windows外殼程序explorer

start explorer

復制粘貼到TXT,然後更改擴展名為BAT 運行就OK了。

win7桌面圖標緩存重建方法,重建又稱為“覆蓋”“清理”“刪除”,原理都是一樣的,方法如下:

以下是引用片段:

打開任何一個文件夾,然後在地址欄輸入%USERPROFILE%AppDataLocal後按回車鍵即可跳轉到local目錄,找到IconCache.db文件並刪除,重啟啟動後即可重建圖標緩存,此文適用於Windows 7,Windows Vista,Windows 2008。

如果出現黑塊,請通過以下方法解決

將以下內容復制到記事本,然後保存為“桌面圖標黑塊修復器.bat”,然後運行之!

@echo off

title win7桌面圖標黑塊修復工具

reg delete “hkcuSoftwareMicrosoftWindowsCurrentVersionExplorerShell Icons” /f

reg delete “hklmSOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons” /f

taskkill /f /im explorer.exe & start explorer.exe

通過上述兩個方法,您可以完美的解決win7桌面圖標緩存了

Copyright © Windows教程網 All Rights Reserved