logo
search
OneDrive File Issues

How to Remove Undeletable Office Files in Windows 11

Muhammad TalhaMuhammad Talha Oct 10, 2026 869 views

Question details

The user needs to remove Office files from their Windows 11 system that appear in Microsoft 365 or File Explorer but cannot be deleted.

Remove Office Files That Cannot Be Deleted in Windows 11
Product
Windows 11, Microsoft 365, OneDrive
Device & OS
Windows 11
Scenario
Attempting to delete documents from the File Explorer or Microsoft 365 interface, but encountering errors or unresponsive context menus.
Observed behavior
Files appear in the recent documents view but cannot be deleted via the right-click menu. These are often ghost entries or shortcuts rather than actual local files.
Before you start

Verify whether the files you are trying to delete are stored locally, synced to OneDrive, or simply shortcut entries appearing in your 'Recent documents' list.

Solution 1Recommended

Clear Recent Document History in Windows File Explorer

Remove ghost files from your Recent list by clearing the File Explorer history, which resolves undeletable shortcut issues.

Often, files shown in Microsoft 365 or File Explorer are merely recent document entries rather than files stored locally. Because they are just history logs and do not occupy actual storage space, standard delete commands may fail.

1
Open the Run dialog

Press the Windows key + R simultaneously on your keyboard to open the Run window.

2
Access Folder Options

Type 'control.exe folders' into the Run dialog box and press Enter. This will open the File Explorer Options window.

3
Clear File Explorer history

Navigate to the General tab. Under the Privacy section at the bottom, click the 'Clear' button next to 'Clear File Explorer history', then click OK.

Clear Recent Document History in Windows File Explorer
No Storage Affected: Clearing the history safely removes invalid file shortcuts without deleting any of your actual saved documents.
Free Microsoft Office alternative

Manage Your Documents Seamlessly with WPS Office

Tired of confusing file syncing, undeletable ghost files, and cluttered recent document lists in Microsoft 365? Switch to WPS Office for a lightweight, straightforward, and highly compatible alternative.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
  2. 2. Install WPS Office: Run the installer and follow the on-screen instructions to complete the lightweight installation.
  3. 3. Open Your Documents: Launch WPS Office and easily open, edit, or manage any of your existing Microsoft Office files.
Clear and intuitive recent files management without ghost file errors.Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight installation that will not bloat your system storage.Familiar tabbed user interface for easy transition and navigation.
microsoft office alternative - wps office

Frequently Asked Questions

Why do deleted files keep reappearing in my Windows 11 Recent list?

This usually happens when the file is synced through a cloud service like OneDrive. If it is deleted locally but remains in the cloud (or vice versa), the system may sync the shortcut back. Ensure you delete the file directly from the source OneDrive folder.

Will clearing my File Explorer history delete my actual documents?

No. Clearing the File Explorer history only removes the shortcut logs displayed in the Recent or Quick Access views. Your original files remain completely safe in their respective storage locations.

How do I remove a single file from the Recent list without clearing everything?

In File Explorer or the Microsoft 365 interface, right-click the specific file within the Recent list and select 'Remove from Recent' or 'Unpin from Quick Access'. If this option fails or is grayed out, clearing the entire history is the most effective workaround.