Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Rebuild (Reset) Icon Cache in Windows 11 or 10

February 10, 2026

How to Rebuild (Reset) Icon Cache in Windows 11 or 10

When displaying icons, shortcuts, and various file types in File Explorer, Windows attempts to retrieve their thumbnails from icon cache files. Thanks to this, Windows Explorer draws objects faster because the system does not need to access, load, and render the original app icon files each time. However, icons may display incorrectly in some locations, such as the Desktop, Start menu, or taskbar. For example, blank white icons or default Windows icons may be displayed instead of app icons.

Contents:
  • Fix Blank White Shortcut Icons in Windows
  • How to Refresh the Icon Cache in Windows
  • Script to Rebuild the Icon Cache in Windows
  • Restore the Default Shortcut IconHandler Value in Registry

Fix Blank White Shortcut Icons in Windows

After an unexpected power outage, some application shortcut icons on my Windows 11 desktop started displaying as blank white icons.

This can be resolved by opening the shortcut’s properties and specifying the path to the file containing the application icon manually. This updates the app shortcut icon in the cache, causing it to start displaying correctly. However, changing the icon for each shortcut manually is a time-consuming task.

Repair blank white shortcut icon bug on Windows 11 desktop / taskbar

How to Refresh the Icon Cache in Windows

Windows includes a built-in tool, ie4uinit.exe (IE Per-User Initialization Utility), that can softly refresh and reset the icon cache database.

  • On Windows 11 or 10: ie4uinit.exe -show
  • On Windows 7: ie4uinit.exe -ClearIconCache

Run this command via the Win + R -> command -> Enter.

ie4uinit command used to refresh iconcache on windows 10

The command is absolutely safe. It simply forces Windows to redraw the icons in Explorer and on the desktop. This method proves effective in cases of icon cache corruption, such as when files or devices containing the source images for these icons are inaccessible. However, it doesn’t help in all cases.

Script to Rebuild the Icon Cache in Windows

In Windows 11 and Windows 10, the icon cache consists of a set of hidden files that are stored within the user profile directory. To open the icon cache directory, navigate to %userprofile%\AppData\Local\Microsoft\Windows\Explorer using File Explorer.

This directory contains several files whose names begin with iconcache_ (iconcache_16.db, iconcache_32.db, iconcache_48.db, etc, according to the size of the icons in pixels.)

iconcache_48.db

Do not confuse icon cache files with the thumbs.db file. The thumbs.db file contains a cache of thumbnail images and videos in a folder.

To clear the current icon cache, delete all *.DB files in this folder whose names begin with “iconcache“.  But first, you need to stop the File Explorer process so it does not lock access to the iconcache files.

Let’s look at how to reset the icon cache without restarting Windows.

  1. Close all running apps.
  2. Open a command prompt window (cmd.exe) as an administrator;
  3. Open the Task Manager: taskmgr.exe
  4. In Task Manager, go to the Details tab. Find the explorer.exe process and kill it by selecting End Task. windows 10 kill explorer.exe with task manager
  5. You can also stop the process from the command prompt: taskkill /f /im explorer.exe
  6. To delete the icon cache files in the user profile, run the following commands one by one.

On Windows 11 or 10, just copy and paste this code into the command prompt or save it as a text file reset_icon_windows.bat.

taskkill /f /im explorer.exe
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
attrib -h iconcache_*.db
del /f IconCache*
del /f thumbcache*
cd /d  %userprofile%\AppData\Local\
attrib -h IconCache.db
del /f IconCache.db
start C:\Windows\explorer.exe

The last command restarts the File Explorer process (explorer.exe) which rebuilds the icon cache files  (according to the configured file associations).

windows10 iconcache reset batch script

In my case, the script failed to delete the iconcache_idx.db file (access denied error), but this didn’t affect the final result. The icon cache was successfully flushed!

Restore the Default Shortcut IconHandler Value in Registry

Incorrect shortcut icons displayed in File Explorer may be the result of a corrupt registry association for .LNK file types. The IconHandler registry value under HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler sets the Windows Explorer shell extension responsible for displaying the shortcut icon based on the target file.

If the IconHandler value is not set or is incorrect, blank white icons will be shown instead of application shortcuts. To restore the default IconHandler configuration:

  1. Open the Registry Editor (regedit.exe)
  2. Go to the registry key HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler
  3. Check the value of the Default property. This should be specified here: {00021401-0000-0000-C000-000000000046}Repair the LNK file icon handler association in the registry.
  4. If a different value is specified here or if the parameter or registry key is missing, restore its default value manually.
  5. Restart the explorer.exe process. restart explorer process
8 comments
9
Facebook Twitter Google + Pinterest
Windows 10Windows 11Windows Server 2025
previous post
Configure an iSCSI Target and Initiator on Windows Server
next post
Throttling Network File Transfer Speed on Windows

Related Reading

PowerShell: Get Folder Size on Windows

April 2, 2024

Fix: The Computer Restarted Unexpectedly or Encountered an...

May 16, 2024

How to Download Offline Installer (APPX/MSIX) for Microsoft...

February 11, 2026

Windows Doesn’t Automatically Assign Drive Letters

March 15, 2024

How to Clean Up System Volume Information Folder...

March 17, 2024

Managing Administrative Shares (Admin$, IPC$, C$) on Windows

March 15, 2024

Using DISM to Check and Repair Windows Image

March 15, 2024

Enable Group Policy Editor (gpedit.msc) on Windows 10/11...

February 8, 2026

8 comments

Shlomi February 7, 2021 - 10:05 pm

Amazing! Thank you so much

Reply
Jo Smith July 24, 2021 - 8:04 pm

I have an issue when only icons for .url shortcuts on my desktop are missing (steam games etc.).

Following the script process didn’t solve the issue but I did have the iconcache_16.db (along with the iconcache_idx.db) fail to be deleted due to an access denied error.

Reply
blxkvypr August 8, 2021 - 8:29 pm

Your tips and tricks always saved my life, thank you!

Reply
Adam Novakov January 9, 2022 - 1:43 pm

Champion.

Reply
cimerians November 22, 2022 - 2:31 am

This worked! You rock!

Reply
techspecX March 10, 2023 - 12:42 am

Perfect man – incredibly beautiful. Thank you.

Reply
Thornax October 4, 2023 - 3:01 pm

Hey, somehow i can’t delete the icon and thumb caches even tho i am local admin and started my command prompt as administrator.
Also took full ownership of the folder already.
CMD is saying acces is denied

Reply
John Espen Rossen December 8, 2024 - 3:50 am

Worked on Windows 11 24H2. Thank you so much!

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Managing Per-User Services in Windows

    February 11, 2026
  • Change Default OU for New Computers and Users in AD

    February 2, 2026
  • Where Windows Stores Certificates and Private Keys

    January 22, 2026
  • How to Remove Old (Unused) PowerShell Modules

    January 12, 2026
  • How to Move (Migrate) Existing Windows Shares to a New File Server

    December 24, 2025
  • Using KDC (Kerberos) Proxy in AD for Remote Access

    December 23, 2025
  • Windows: Create (Install) a Service Manually

    December 16, 2025
  • Windows: Auto Switch to Strongest Wi-Fi Network

    December 10, 2025
  • How to Enable or Disable VBScript in Windows after Deprecation

    December 10, 2025
  • Start Menu Not Working (Unresponsive) on Windows Server RDS

    November 27, 2025

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
  • How to Download Offline Installer (APPX/MSIX) for Microsoft Store App
  • Updating List of Trusted Root Certificates in Windows
  • Fix: Windows Cannot Connect to a Shared Printer
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top