win7重建图标缓存bat、win7图标不显示的解决办法
时间:2023-05-17 08:51:46
不知道用WIN7的朋友有没有遇到和我一样的情况。一些程序的图标或是快捷方式无法正常显示。本人被这个情况困扰很久,网上也找了很多方法,把一个最简单有效的方法推荐给大家
不知道用WIN7的朋友有没有遇到和我一样的情况。一些程序的图标或是快捷方式无法正常显示。本人被这个情况困扰很久,网上也找了很多方法,把一个最简单有效的方法推荐给大家。
使用方法:复制下面cmd代码到“记事本”程序,点“另存为”,在“文件名”处输入 重建win7图标缓存.bat,“保存类型”选择“所有文件”即可。
代码:
rem 关闭Windows外壳程序explorer
taskkill /f /im explorer.exe
rem 清理系统图标缓存数据库
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 清理 系统托盘记忆的图标
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 重启Windows外壳程序explorer
start explorer
复制粘贴到TXT,然后更改扩展名为BAT 运行就OK了。
win7桌面图标缓存重建方法,重建又称为“覆盖”“清理”“删除”,原理都是一样的,方法如下:
以下是引用片段:
打开任何一个文件夹,然后在地址栏输入%USERPROFILE%\AppData\Local后按回车键即可跳转到local目录,找到IconCache.db文件并删除,重启启动后即可重建图标缓存,此文适用于Windows 7,Windows Vista,Windows 2008。
如果出现黑块,请通过以下方法解决
将以下内容复制到记事本,然后保存为“桌面图标黑块修复器.bat”,然后运行之!
@echo off
title win7桌面图标黑块修复工具
reg delete “hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons” /f
reg delete “hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons” /f
taskkill /f /im explorer.exe & start explorer.exe
通过上述两个方法,您可以完美的解决win7桌面图标缓存了
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word里写字如何在PPT里用
![](https://img.aspxhome.com/file/2023/4/33734_0s.png)
Win7旗舰版将”磁盘整理“增加到右键的方法
![](https://img.aspxhome.com/file/2023/27/a233020_0s.jpg)
有道云笔记怎么设置链接?有道云笔记链接设置方法
![](https://img.aspxhome.com/file/2023/8/a336962_0s.png)
excel表格如何加行
如何在PPT 2013中插入SmarArt图形的方法
![](https://img.aspxhome.com/file/2023/10/a352085_0s.jpg)
外星人M15 R7笔记本一键安装win10系统教程
![](https://img.aspxhome.com/file/2023/4/53144_0s.png)
wps怎么取消文本框保留文字? wps删除文本框留文字的技巧
![](https://img.aspxhome.com/file/2023/1/a165451_0s.jpg)
Win10 20H2怎么缩短开机时间?
![](https://img.aspxhome.com/file/2023/3/49283_0s.png)
QQ音乐播放器如何使用电台?使用电台的几个步骤
![](https://img.aspxhome.com/file/2023/7/a331798_0s.jpg)
Win8.1更新VirtuaBox虚拟机错误及网络设置方法
![](https://img.aspxhome.com/file/2023/3/a294427_0s.jpg)
微星主板如何开启TPM2.0升级Win11系统?
![](https://img.aspxhome.com/file/2023/1/a283794_0s.png)
Win10精简版有微软商店吗?Win10精简版微软商店安装方法教学
![](https://img.aspxhome.com/file/2023/25/a216896_0s.jpg)
Win10电脑系统重装后没有声音怎么办?
![](https://img.aspxhome.com/file/2023/26/a220141_0s.jpg)
epicgta5能和steam联机吗_epicgta5能否和steam联机详情
![](https://img.aspxhome.com/file/2023/3/a297994_0s.jpg)
excel用VBA删除空行和空列
教你如何制作艺术字
Win10如何更改文本、应用等项目在显示器上的大小
![](https://img.aspxhome.com/file/2023/26/a226965_0s.jpg)
win7连不上win10共享打印机_win7连不上win10打印机
![](https://img.aspxhome.com/file/2023/30/a262577_0s.jpg)
Win10电脑无法正常重启怎么处理?
![](https://img.aspxhome.com/file/2023/26/a222175_0s.png)
Note 7全球停售:三星股价瞬间崩盘
![](https://img.aspxhome.com/file/2023/3/a301862_0s.jpg)