win7系统要怎么重建图标缓存 bat帮你忙
时间:2023-10-03 08:26:16
不知道用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%AppDataLocalMicrosoftWindowsExplorerhumbcache_32.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_96.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_102.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_256.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_1024.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_idx.db"
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerhumbcache_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桌面图标缓存了
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win10 DX12到底带来了哪些变化?哪些显卡和平台支持DX12?
![](https://img.aspxhome.com/file/2023/28/a249245_0s.png)
Win10电脑开机蓝屏失败的操作nvlddmkm.sys的解决方法
![](https://img.aspxhome.com/file/2023/3/52543_0s.jpg)
Win10系统上使用事件查看器的详细教程
![](https://img.aspxhome.com/file/2023/26/a227112_0s.jpg)
excel利用自定义函数获取工作表名称
WPS表格办公—在数据前面批量添加字母
win10日历如何个性化设置_ win10日历个性化的设置教程
![](https://img.aspxhome.com/file/2023/5/a314497_0s.jpg)
Win7使用远程连接提示“要求的函数不受支持”怎么办?
![](https://img.aspxhome.com/file/2023/1/a278464_0s.jpg)
怎么查看exe文件源码
![](https://img.aspxhome.com/file/2023/9/a342410_0s.jpg)
如何链接WPS文字中的文本框,让内容分开显示
如何修改Excel文档属性
![](https://img.aspxhome.com/file/2023/3/36353_0s.jpg)
Win10系统提示DRIVER_IRQL怎么办?Win10系统提示DRIVER_IRQL解决方法
![](https://img.aspxhome.com/file/2023/5/48435_0s.png)
电脑时间不准如何解决?Win7系统时间设置方法
![](https://img.aspxhome.com/file/2023/27/a231816_0s.jpg)
魔盒怀旧服没有任务追踪_魔盒怀旧服任务追踪开启方法
![](https://img.aspxhome.com/file/2023/4/a311206_0s.jpg)
ppt如何制作雪花
![](https://img.aspxhome.com/file/2023/10/a352885_0s.png)
Excel中如何快速拆分姓名和号码
![](https://img.aspxhome.com/file/2023/0/39900_0s.jpg)
如何设置Windows Media Center中免费观看高清视频功能
![](https://img.aspxhome.com/file/2023/29/a258551_0s.jpg)
电脑版wps表格如何插入条形码
![](https://img.aspxhome.com/file/2023/9/a183789_0s.png)
WPS如何快速创建新表格的操作方法分享
![](https://img.aspxhome.com/file/2023/1/a182581_0s.jpg)
excel怎么增加下拉菜单的选项
Word怎么清除指定级别目录项的双删除线?
![](https://img.aspxhome.com/file/2023/5/22615_0s.jpg)