Fix Corrupted Desktop Icons in Windows 10 – Simple Steps
In this article
Yes – you can fix corrupted desktop icons in Windows 10 by rebuilding the icon cache and, if needed, correcting the registry entries.
What You'll Need
- Nothing you need to purchase – all tools are built into Windows.
- A basic understanding of how to open File Explorer, run Command Prompt as administrator, and edit the registry.
- A restore point or backup of the registry (optional but recommended for safety).
Step-by-Step
- Show hidden files and system protected files. Open File Explorer, click the View tab, then check Hidden items. Click Options → Change folder and search options, go to the View tab, and uncheck Hide protected operating system files (Recommended). Click Apply and OK. This step is essential because the icon cache files are hidden and protected.
- Terminate Explorer. Press Ctrl+Shift+Esc to open Task Manager. Under the Processes tab, locate Windows Explorer, right‑click it, and choose Restart. Alternatively, you can select End task, then later start it again via File > Run new task > explorer.exe. Stopping Explorer ensures the cache files are not in use when you delete them.
- Delete the icon cache files. In File Explorer, navigate to
%localappdata%\Microsoft\Windows\Explorer. Select all files that start withiconcache_(for example,iconcache_256.db,iconcache_48.db) and press Delete. Also delete the file namedthumbcache_*.dbif present – these are related thumbnail caches that can affect icons. Confirm any prompts that appear. - Re‑start Explorer. Open Task Manager again, click File > Run new task, type
explorer.exe, and press Enter. Windows will rebuild the icon cache automatically the next time it needs an icon. - Refresh the desktop. Right‑click an empty area of the desktop and choose Refresh. If the icons are still broken, log out of your account (Start > your profile picture > Sign out) and sign back in, or simply restart the computer.
- If the cache rebuild didn’t help, reset the default icon registry values. Press Win+R, type
regedit, and press Enter. Navigate toHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons. If theShell Iconskey exists and contains custom values, right‑click the key and choose Delete. If the key does not exist, you can skip this step. Closing Registry Editor and repeating steps 2‑5 will force Windows to use the default system icons. - Run System File Checker (SFC) as a safety net. Open Command Prompt as administrator (right‑click Start button → Windows Terminal (Admin) or Command Prompt (Admin)). Type
sfc /scannowand press Enter. Let the scan finish; it will replace any corrupted system files that could be causing icon problems.
Common Mistakes
- Deleting the wrong folder (e.g.,
C:\Windows\System32) instead of the hidden Explorer cache folder. - Forgetting to enable "Show hidden items" – the cache files remain invisible and are never removed.
- Attempting to delete the cache while Explorer is still running, which results in a "file in use" error and leaves the corrupted icons untouched.
- Editing the wrong registry hive (e.g., modifying
HKEY_LOCAL_MACHINEinstead ofHKEY_CURRENT_USER), which can affect all users or cause system instability. - Skipping the creation of a restore point before changing the registry – if a mistake is made, you lose an easy rollback option.
Tips
- Create a restore point first. Right‑click This PC → Properties → System protection → Create. This gives you a safety net before you touch the registry.
- Use Safe Mode for stubborn caches. Boot into Safe Mode (Settings > Update & Security > Recovery > Advanced startup > Restart now, then choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4). Safe Mode loads a minimal set of drivers, ensuring no third‑party program locks the cache files.
- Run DISM before SFC. In an elevated Command Prompt, execute
DISM /Online /Cleanup-Image /RestoreHealth. This repairs the underlying Windows image, making the subsequentsfc /scannowmore effective. - Check for third‑party icon packs. Software such as Stardock IconPackager or custom themes can rewrite the icon cache on every login. Disable or uninstall these utilities if the problem reappears after a reboot.
- Back up the registry key you plan to edit. In Registry Editor, right‑click
Shell Icons(or the parent key) and choose Export. Save the .reg file to a safe location.
Troubleshooting
If the icons are still corrupted after following the steps above, try the following escalation path.
- Verify that the issue is not user‑profile specific. Create a new local user account (Settings > Accounts > Family & other users > Add someone else to this PC) and sign in. If the new profile shows correct icons, the problem is isolated to your original profile’s registry or cache.
- Run a full DISM + SFC scan again. Occasionally the first scan misses issues that a second pass catches.
- Check the Event Viewer for icon‑related errors. Open Event Viewer (Win+X > Event Viewer), navigate to Windows Logs > Application, and look for entries from
Explorer.exeorShellExperienceHostthat mention "icon" or "cache". - Reset the icon association for specific file types. Right‑click a file of the affected type, choose Open with > Choose another app, select the correct program, and tick Always use this app to open .xxx files. This can restore missing file‑type icons.
- Perform an in‑place upgrade repair. Download the latest Windows 10 ISO from Microsoft, run
setup.exefrom within Windows, choose Keep personal files and apps, and follow the prompts. This refreshes system components without a full clean install. - Consider a clean install as a last resort. Back up all personal data, create a bootable USB with the Windows Media Creation Tool, and install Windows anew. This guarantees a pristine icon cache but should only be done after all other methods fail.
Frequently Asked Questions
Why do my desktop icons look like blank squares?
Blank squares usually mean the icon cache is corrupted or the specific icon file is missing. Rebuilding the cache and ensuring the correct registry entries restores the proper images.
Do I need third‑party software to fix icon problems?
No. All required actions can be performed with built‑in Windows tools such as File Explorer, Task Manager, Command Prompt, and Registry Editor.
Can a virus cause corrupted icons?
Malware can modify system files or registry keys, which may lead to icon issues. Run a full Windows Defender scan (or another reputable antivirus) to rule out infection before troubleshooting.
Will resetting the icon cache delete my custom shortcuts?
No. Deleting the cache only affects the visual representation of icons. Your shortcuts, files, and folders remain untouched.
Is it safe to edit the registry for icon fixes?
Yes, as long as you modify only the Shell Icons key under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer. Always back up the key first.
My icons are fixed after a reboot but revert after I log back in. What’s happening?
Some third‑party customization tools rewrite the cache at login. Disable or uninstall those utilities, or configure them to stop overriding the default icon cache.