如何修复 Windows 10 中的图标缓存: (How to Repair Icon Cache in Windows 10: )图标(Icon)缓存是一个存储位置,用于存储Windows文档和程序使用的图标以便更快地访问,而不是每次需要时都加载它们。如果计算机上的图标出现问题,修复或重建图标缓存肯定会解决问题。
有时,当您更新应用程序并且更新后的应用程序具有新图标时,您会看到该应用程序的相同旧图标或者您看到已损坏的图标,这意味着 Windows 图标缓存已损坏,是时候修复图标缓存了.
图标缓存如何工作?
在学习如何修复Windows 10中的(Windows 10)图标缓存(Icon Cache)之前,您必须首先了解图标缓存的工作原理,因此图标在 Windows 中无处不在,并且每次需要时都必须从硬盘中检索所有图标图像可能会消耗大量Windows 资源是图标缓存介入的地方。Windows保留了所有易于访问的图标的副本,每当 Windows 需要图标时,它只是从图标缓存中获取图标,而不是从实际应用程序中获取它。
每当您关闭或重新启动计算机时,图标缓存都会将此缓存写入隐藏文件,以便以后不必重新加载所有这些图标。
图标缓存存储在哪里?(Where is the icon cache stored?)
所有上述信息都存储在名为 IconCache.db的数据库文件中,在Windows Vista和Windows 7中,图标缓存文件位于:
C:\Users\<your username>\AppData\Local\IconCache.db
NOTE: Replace <your username> with the actual username of your Windows account.
在 Windows 8 和 10 中,图标缓存文件也位于与上述相同的位置,但 Windows 不使用它们来存储图标缓存。在 Windows 8 和 10 中,图标缓存文件位于:
C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
NOTE: Replace <your username> with the actual username of your Windows account.
在此文件夹中,您将找到许多图标缓存文件,即:
- 图标缓存_16.db
- iconcache_32.db
- iconcache_48.db
- iconcache_96.db
- iconcache_256.db
- iconcache_768.db
- 图标缓存_1280.db
- 图标缓存_1920.db
- iconcache_2560.db
- iconcache_custom_stream.db
- iconcache_exif.db
- iconcache_idx.db
- iconcache_sr.db
- iconcache_wide.db
- iconcache_wide_alternate.db
要修复图标缓存,您必须删除所有图标缓存文件,但这并不像听起来那么简单,因为您通常无法通过按 delete 来删除它们,因为资源管理器(Explorer)仍在使用这些文件,因此您无法删除它们但是,总有办法的。
如何修复Windows 10中的图标缓存(Icon Cache)
1. 打开文件资源管理器(File Explorer)并转到以下文件夹:
C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
注意:(NOTE:)更换 使用您的Windows(Windows)帐户的实际用户名。如果你没有看到 AppData文件夹,然后您必须通过单击(AppData)“我的电脑或这台电脑”(“My Computer or This PC”)转到文件夹和搜索选项,然后单击“查看”(“View”),然后转到“选项”(“Options”),然后从那里单击“更改文件夹和搜索选项”(“Change folder and search options)。“
2. 在文件夹选项中选择“显示隐藏文件”(Show hidden files”)、文件夹和驱动器,并取消选中“隐藏受保护的操作系统文件”(“Hide protected operating system files)。“
3. 之后,您将能够看到AppData文件夹。
4. 按住“Shift” 键并右键单击资源管理器(Explorer)文件夹,然后选择“在此处打开命令窗口”(“Open command window here)。“
5. 命令提示符窗口将在该路径打开:
6. 在命令提示符中键入dir 命令(dir command)以确保您位于正确的文件夹中,并且您应该能够看到iconcache和thumbcache文件:
7. 右键单击 Windows任务栏并选择“任务管理器”。
8. 右键单击“ Windows Explorer ”并选择“结束任务(End task)”这将使桌面和资源管理器消失。退出任务管理器(Exit Task Manager),您应该只剩下一个命令提示符窗口,但请确保没有其他应用程序正在运行它。
9. 在命令提示符窗口中键入以下命令并按回车键删除所有图标缓存文件:
del iconcache*
10. 再次运行dir命令(dir command)查看剩余文件列表,如果还有一些图标缓存文件,说明有应用程序还在运行,需要通过任务栏(Taskbar)关闭应用程序,再重复上述过程。
11. 现在按Ctrl+Alt+Del从您的计算机上注销,然后选择“注销”(“Sign out)。“重新(“) 登录(Sign),任何损坏或丢失的图标都有望得到修复。
你可能也会喜欢:
就是这样,您已经成功学习了如何在 Windows 10 中修复图标缓存,(How to Repair Icon Cache in Windows 10)现在图标(Icon)缓存的问题可能已经解决。请记住,此方法不会解决缩略图的问题,因为请转到此处。如果您对任何事情仍有任何疑问或疑问,请随时发表评论并告诉我们。
How to Repair Icon Cache in Windows 10
How to Repair Icon Cache in Windows 10: Icon cache is a storage place where the icons that are used by your Windows documents and programs are stored for faster access rather than load them every time they are needed. If there is a problem with the icons on your computer repairing or rebuilding the icon cache will definitely fix the problem.
Sometimes when you update an application and the updated application has a new icon but instead, you are seeing the same old icon for that application or you are seeing a destructed icon it means Windows icon cache has corrupted, and it’s time to repair the icon cache.
How does the Icon Cache work?
Before learning How to Repair Icon Cache in Windows 10 you must first be aware of how the icon cache work, so icons are everywhere in windows, and having to retrieve all the icon images from hard disk every time they are needed can consume a lot of windows resources that is where icon cache steps in. Windows keeps a copy of all the icon there which are easily accessible, whenever windows need an icon, it simply fetches the icon from the icon cache instead of fetching it from the actual application.
Whenever you shut down or restart your computer, icon cache writes this cache to a hidden file, so that it doesn’t have to reload all those icons later.
Where is the icon cache stored?
All the above information is stored in a database file called IconCache.db and in Windows Vista and Windows 7, the icon cache file is located in:
C:\Users\<your username>\AppData\Local\IconCache.db
NOTE: Replace <your username> with the actual username of your Windows account.
In windows 8 and 10 the icon cache file is also located at the same location as above but windows do not use them to store the icon cache. In windows 8 and 10, the icon cache file is located in:
C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
NOTE: Replace <your username> with the actual username of your Windows account.
In this folder, you will find a number of icon cache files namely:
- iconcache_16.db
- iconcache_32.db
- iconcache_48.db
- iconcache_96.db
- iconcache_256.db
- iconcache_768.db
- iconcache_1280.db
- iconcache_1920.db
- iconcache_2560.db
- iconcache_custom_stream.db
- iconcache_exif.db
- iconcache_idx.db
- iconcache_sr.db
- iconcache_wide.db
- iconcache_wide_alternate.db
To repair icon cache, you have to delete all the icon cache files but it’s not simple as it may sound because you can’t normally delete them by just pressing delete as these files are still used by Explorer, so you can’t delete them but hey there is always a way.
How to Repair Icon Cache in Windows 10
1. Open File Explorer and go to the following folder:
C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer
NOTE: Replace <your username> with the actual username of your Windows account. If you don’t see the AppData folder then you have to go to the folder and search option by clicking “My Computer or This PC” then click on “View” and then go to “Options” and from there click on “Change folder and search options.“
2. In Folder Options select “Show hidden files”, folders, and drives, and uncheck “Hide protected operating system files.“
3. After this, you will be able to see the AppData folder.
4. Press and hold the “Shift” key and right-click on the Explorer folder then select “Open command window here.“
5. A command prompt window will open at that path:
6. Type dir command into the command prompt in order to make sure you are in a correct folder and you should be able to see iconcache and thumbcache files:
7. Right-click on the Windows taskbar and choose “Task Manager.”
8. Right-click on “Windows Explorer” and choose “End task” this will make desktop and explorer will disappear. Exit Task Manager and you should be only left with a command prompt window but make sure no other application is running with it.
9. In the command prompt window type the following command and hit enter to delete all the icon cache files:
del iconcache*
10. Again run the dir command to check the list of remaining files and if there are still some icon cache files, it means some application is still running so you need to close the application through the Taskbar and repeat the procedure again.
11. Now sign off from your computer by pressing Ctrl+Alt+Del and choose “Sign out.“ Sign back in and any corrupted or missing icons should hopefully get repaired.
You may also like:
That’s it you have successfully learned How to Repair Icon Cache in Windows 10 and by now issues with Icon cache may have been resolved. Remember this method will not fix the issues with the thumbnail, for that go here. If you still have any doubt or questions regarding anything feel free to comment and let us know.