The behavior described is typically caused by a corrupted or constantly rebuilding icon cache. Repair focuses on clearing and rebuilding the icon cache and, if needed, adjusting the cache size.
Follow these steps in order:
- Clear and rebuild the icon cache in Windows 11
- Save any open work.
- Open Task Manager (Ctrl + Shift + Esc or right-click the taskbar → Task Manager).
- On the Processes tab, find Windows Explorer.
- Right-click Windows Explorer → End task.
- In Task Manager, select File → Run new task.
- Type
cmd.exe, check Create this task with administrative privileges, and select OK. - In the Command Prompt window, run:
CD /d %userprofile%\AppData\Local DEL IconCache.db /a - Back in Task Manager, select File → Run new task again.
- Type
explorer.exeand press Enter to restart Windows Explorer.
- (If the problem persists) Increase the icon cache size
This step is based on the same icon-cache issue seen in earlier Windows versions and can help if the cache is too small and keeps rebuilding.
- Sign in with an account that has administrator rights.
- Press Start, type
regedit, and open Registry Editor. - Navigate to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer - On the Edit menu, select New → String Value.
- Name it
MaxCachedIcons. - Double-click
MaxCachedIcons, set Value data to2048, and select OK. - Close Registry Editor.
- Delete
IconCache.dbagain from:%userprofile%\AppData\Local(orC:\Users\<User Name>\AppData\Local), then restart the PC.
- (If still not fixed) Re-register Shell Experience Host
- Open Windows PowerShell as administrator.
- Run:
Get-AppXPackage -AllUsers | Where-Object {$_.InstallLocation -like "*ShellExperienceHost*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} - Restart the PC.
These steps address corrupted icon cache data and shell registration issues that cause icons to keep changing and refreshing.
References: