There are a lot of dumb bugs and problems on Windows 11, some of which pop up randomly and dont' make any sense. Seeing a red X icon overlay on files, folders, or desktop shortcuts on Windows 11 for example... This symbol usually means that Windows cannot currently access the item. The underlying cause is often simple, but it depends on where the file is stored and how it is being accessed. Since this is a problem, this guide will explain why the red X appears and how to get rid of them.
Takeaways:
- Why is there a red X next to icon on Windows 11?
- Learn how to remove all the red Xs next to icons on Windows 11.
Table of Contents
Why the Red X Appears in Windows 11?
A red X overlay usually means Windows cannot reach the file or folder at the moment. The most common causes are:
- The shortcut target is broken because the original file or application was moved, renamed, or deleted.
- A cloud synced file, most often through OneDrive, is offline or failing to sync.
- A network location such as a mapped drive, NAS, or server is disconnected or requires a VPN.
- The icon or overlay cache is outdated after a system crash or Windows update.
Note: Before fixing the issue, confirm what type of item shows the red X.
Figure Out if It Is a Shortcut or a Real File
This is an important step in figuring out and fixing this problem.
- Right click the item and choose Properties.
- If you see a Shortcut tab, the item is a shortcut.
- If there is no Shortcut tab, it is a real file or folder.

If the item is not a shortcut, remember where it is stored.
- Files inside a OneDrive folder are managed by cloud sync.
- Files on mapped drives or network paths depend on connectivity.
- Local files outside these locations rarely show a red X unless the icon cache is corrupted.
How to Fix the Red X on Files and Folders on Windows 11
Since there are a few possible scenarios here are the steps for each one.
Fix Broken Shortcut Targets
If the red X appears on a shortcut, the target location is usually missing or unreachable.
- Right click the shortcut and select Properties.
- Open the Shortcut tab.
- Review the Target field to see the path Windows is trying to open.
- Click Open File Location to test whether the target exists.
If the target cannot be opened, find the correct file or application manually.
- Copy its new path from the File Explorer address bar.
- Return to the shortcut Properties, paste the correct path into the Target field, then click Apply.
If updating the target does not work, delete the shortcut.
- Then right click the correct file or application and choose Send to, followed by Desktop to create a new shortcut.
Fix OneDrive Sync Issues
If the red X is related to OneDrive, it usually means a sync problem, offline status, or account issue.
- Open File Explorer and select OneDrive from the left pane.
- Check whether the affected file or folder is inside this directory.
Note: If the item is not inside OneDrive, do not move it unless you want it synced. A red X outside OneDrive often points back to a shortcut or network issue.
Fix Common OneDrive Problems That Cause this Problem
Check the OneDrive cloud icon in the system tray.
- A red X indicates a sync error.
- A paused state requires resuming sync.
- A signed out state requires signing in again.
- A full storage warning requires freeing space or upgrading storage.
You can also restart OneDrive by right clicking its tray icon, choosing Quit OneDrive, then reopening it from the Start menu.
If a single file is stuck, right click it and try selecting Always keep on this device to force a download, or Free up space and then open it again to trigger re sync.
Note: That if your Desktop is backed up by OneDrive, desktop icons may show a red X even though they appear local.
Rebuild the Windows Icon Cache
If you have resolved shortcut, OneDrive, or network issues but the red X remains, the icon cache may be outdated.
- Open Start, search for CMD, then choose Run as administrator.
- Run the following commands one at a time:
taskkill /IM explorer.exe /F
DEL /A /F /Q "%localappdata%\IconCache.db"
DEL /A /F /Q "%localappdata%\Microsoft\Windows\Explorer\iconcache*"
- Restart your PC.
If Explorer does not restart automatically, press Ctrl + Shift + Esc, select File, then Run new task, type explorer.exe, and click OK.
This process refreshes icon data without deleting personal files and often clears persistent red X overlays.