A problem that appears over time in Windows is that after renaming a file, creating a folder or moving desktop icons, changes do not show until you press F5. The file has been renamed, but File Explorer does not update the view. The most common cause is a corrupt icon cache, and the fix is to delete it so Windows rebuilds it. Here are the steps for Windows 10 and Windows 11, from quickest to most thorough.

Before you start
- You will close Windows Explorer for a moment: the taskbar and desktop disappear until you reopen it. Save your open work.
- You need a console with administrator rights.
- If it only happens on a network drive or NAS, read “Common problems” first: the cause there is usually different.
- Windows 10 support ended on October 14, 2025. The steps are the same on both systems.
1. Restart Explorer (quick fix)
Before changing anything, try restarting the process:
- Press
Ctrl + Shift + Escto open Task Manager. - On the Processes tab, find Windows Explorer.
- Select it and click Restart task (or right-click › Restart).
If changes then show instantly, it was a one-off glitch. If it returns soon, go to step 2.
2. Open a console as administrator
Search for cmd in Start, right-click Command Prompt and choose Run as administrator. In Windows 11 you can also right-click Start › Terminal (Admin) and open a Command Prompt tab.

3. Delete the icon cache
Run these commands one at a time. The first closes Explorer; the rest delete the cache files:

taskkill /f /im explorer.exe
cd /d %LocalAppData%
del /a IconCache.db
del /a /q "%LocalAppData%\Microsoft\Windows\Explorer\iconcache_*.db"
IconCache.dbis the classic cache file, the one the original version of this guide deleted.- Current Windows versions also keep several
iconcache_*.dbcaches in theExplorerfolder. Deleting them all ensures a rebuild from scratch.
If a file errors because it is “being used by another process”, no problem: continue and it will be cleaned at restart.
4. Reopen Explorer or restart
start explorer.exe
It is best to restart Windows so everything loads clean. On first start icons may take a few seconds to appear while the cache rebuilds.
5. If nothing changes, repair system files
If the problem persists, system files may be damaged. In the same administrator console run:
dism /online /cleanup-image /restorehealth
sfc /scannow
Each command takes a few minutes. Restart when done.
Check it works
Create a new folder on the desktop, rename it and move it. Changes should show instantly without F5. Do the same in any File Explorer folder.
Common problems
It only happens on network drives or a NAS. Some SMB servers, NAS and network drives do not send change notifications to Windows properly, so Explorer does not know to refresh. It is not your PC’s fault: update the NAS firmware or press F5 when working there.
It only happens in OneDrive or other cloud folders. The sync client integrates with Explorer. Restart or update the sync app; if the problem vanishes when paused, that is the cause.
Desktop icons jump back when moved. Not the cache: Auto arrange icons is on. Right-click the desktop › View and untick it (and Align icons to grid if you want free placement).
Icons appear blank or wrong. The typical symptom of a corrupt cache; steps 3 and 4 fix it.
The problem returns after a few days. Check whether a program that integrates into the context menu or Explorer (archivers, sync clients, customization tools) coincides with the fault. Temporarily uninstalling it helps confirm.
Frequently asked questions
Is deleting the icon cache dangerous? No. They are temporary files Windows recreates; they do not affect documents or programs.
Why did the original say cd %appdata%/../Local? It leads to the same folder as %LocalAppData%. The direct variable is clearer and works the same on Windows 10 and 11.



