How to Remove Undeletable Office Files in Windows 11
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.

- 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.
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.
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.
Press the Windows key + R simultaneously on your keyboard to open the Run window.
Type 'control.exe folders' into the Run dialog box and press Enter. This will open the File Explorer Options window.
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.

Delete Files Directly from the Source OneDrive Folder
If the undeletable files are synced via OneDrive, bypass the Recent view and delete them directly from their source folder.
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. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the installer and follow the on-screen instructions to complete the lightweight installation.
- 3. Open Your Documents: Launch WPS Office and easily open, edit, or manage any of your existing Microsoft Office files.

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.




