Others

Fix Gray X Marks on Word, Excel, and PowerPoint Desktop Icons

Nimra MalikNimra Malik Nov 22, 2026 869 views

Question details

The user wants to remove gray X marks from Word, Excel, and PowerPoint icons on the Windows desktop.

Fix Gray X Marks on Word, Excel, and PowerPoint Desktop Icons
Product
Microsoft Office and Windows
Device & OS
Windows
Scenario
Office document icons on the desktop display gray X marks.
Observed behavior
The gray X marks appear on the icons, although the documents may still open and save normally.
Before you start

Open an affected document to check whether it still works, and note whether the icon is a document or a shortcut. Check whether your Desktop folder is synced with OneDrive, since an X overlay can also indicate a sync or availability issue.

Solution 1Recommended

Rebuild the Windows Icon Cache

Use this method if the gray X marks appear to be an icon display problem.

1
Open the Local folder

Press Windows+R, enter %localappdata%, and select OK. This opens the current user's AppData\Local folder in File Explorer.

2
Show hidden files

In File Explorer, use View to turn on Hidden items, then look for IconCache.db in the Local folder.

3
Delete the cache file

Right-click IconCache.db and select Delete. Delete only the cache file, not your Office documents.

4
Restart Windows

Select Start > Power > Restart, then check the desktop icons after Windows starts again.

Rebuild the Windows Icon Cache
If you cannot find the file: IconCache.db may not be present in that location on every Windows installation. If it is missing or the X marks remain after restarting, check sync status instead.
Free Microsoft Office alternative

Work With Office Documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility helps you move your existing files into WPS, although it does not repair Windows icon or sync issues.

Open and edit Word, Excel, and PowerPoint documents in one suiteCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar interface makes the switch easierFree and lightweight for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Will deleting IconCache.db delete my Office documents?

No. IconCache.db stores cached icon information, not the documents themselves. Delete only IconCache.db from %localappdata%, then restart Windows.

Why am I being asked to open or save the cache file?

You may have entered the location in a browser or selected the file instead of its folder. Press Windows+R, enter %localappdata%, and select OK to open the folder in File Explorer. Then right-click IconCache.db and select Delete.

What if IconCache.db is not in the Local folder?

In File Explorer, turn on Hidden items from View and check %localappdata% again. The file may not be present on every Windows installation; if it is missing, check OneDrive or another storage service for sync issues.

Does a gray X always mean the icon cache is corrupted?

No. An X overlay can also be associated with a sync or file availability issue. Select the OneDrive cloud icon in the taskbar to check for errors if your Desktop is synced.