Operations 3 min read

Fix White Shortcut Icons in Windows by Clearing the Icon Cache

When Windows shortcut icons turn white, the issue is usually a corrupted icon cache; deleting the iconCache.db file or running a simple batch script restores the correct icons, and additional steps are provided for hidden files and other possible causes.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Fix White Shortcut Icons in Windows by Clearing the Icon Cache

Windows creates a local cache file ( iconCache.db) to store shortcut icons. If the cache becomes corrupted or the source files move, Windows shows a default white icon for those shortcuts.

Manual fix:

Open File Explorer and enter %localappdata% in the address bar.

Locate the file iconCache.db and delete it.

Restart the computer; Windows will automatically rebuild the cache and restore the proper icons.

If the file is not visible, enable hidden files in the Explorer View settings.

Batch script alternative:

@echo off

taskkill /f /im explorer.exe

CD /d %userprofile%\AppData\Local

DEL IconCache.db /a

start explorer.exe

Save the above text as a .bat file and double‑click to run. The script terminates Explorer, deletes the cache file, and restarts Explorer, achieving the same result.

If the white icons persist after clearing the cache, consider other causes:

Reinstall the affected software.

Manually change the shortcut icon via the shortcut’s properties, selecting the executable in the installation folder.

Check for Windows display issues such as incompatible screen resolution and adjust settings accordingly.

When these steps fail, deeper system issues may be present, potentially requiring a more thorough troubleshooting or even a system reinstall.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

batch-scripticon-cacheshortcut-icons
Liangxu Linux
Written by

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.