How to Rebuild the Icon Cache on Windows 10?

In Windows 10, some folders do not display properly as they exit because of corrupt icon caches. This problem fixes by rebuilding the icon cache. In Windows 10, all icon cache is stored in IconCache.db, It’s located in the profile folder.

This article will guide you on Rebuilding the Icon Cache on Windows 10.

There are at least two methods through which you can rebuild the icon cache on Windows 10; these are the following:

  1. Manually rebuild the icon cache on Windows 10
  2. Rebuild the icon cache via Command Prompt

Manually rebuild the icon cache on Windows 10

IconCache.db file is responsible for rebuilding the cache on Windows 10 PC. If we manually delete the icon cache file and restart the PC, Windows 10 will automatically create the new icon cache file. Do the following steps:-

Step 1. Open File Explorer (Windows Explorer) by pressing Windows Logo + E keys simultaneously.

Step 2. Click the View tab from the menu.

Step 3. Check Hidden items under the View tab to show hidden files and folders.

Step 4. Navigate to the following path:-

C:\Users\UserName\AppData\Local

Note: Replace UserName with your account user name on the PC. Here, “C” is the drive letter where Windows 10 is installed. If you have installed Windows 10 on another drive, change the “C” accordingly.

Step 5. Under the Local folder, locate the file IconCache (IconCache.db) and delete it by right-clicking and selecting the Delete option.

Step 6. Once you have deleted the IconCache file from the Local directory, empty the Recycle Bin.

Now, reboot your Windows 10 PC to automatically create a new IconCache file to rebuild the Icon Cache.

Rebuild the icon cache via Command Prompt

The above-mentioned is the best way to rebuild the icon cache on Windows 10; however, if you cannot delete the icon cache by the method mentioned above, you can use the Command Prompt to rebuild the icon cache. To do the same, do the following:-

Step 1Launch the Task Manager by right-clicking on the taskbar, selecting Task Manage,r, or pressing Ctrl + Shift + Esc keyboard shortcut.

Step 2. If you’re seeing the lighter version of Task Manager, click More detail,s as shown in the picture below. If you see the full version, skip to the next step.

Step 3. Under the Processes tab, select and right-click the Windows Explorer entry and click End task to kill the Windows Explorer process. Once you kill Windows Explorer, the Taskbar and Start will not be visible; however, you can still access the Task Manager.

Step 4. From the Task Manager, click on the File > Run new task.

Step 5. On the newly opened “Create new task” window, type cmd.exe and click the OK button or hit Enter from the keyboard to open Command Prompt.

 

Step 6. On the Command Prompt, type the following commands one by one and press the Enter key after typing each command to execute the same:-

CD /d %userprofile%\AppData\Local
Del IconCache.db /a
Exit


The above command will delete the IconCache.db file responsible for Icon Cache.

Step 7. Again, click on the File menu under Task Manager, click Run new task, enter Explorer.exe, and then click the OK button to restart the File Explorer.

That’s it.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: