How to Remove Deleted OneDrive Files from File Explorer Favorites
Question details
The user needs to remove a ghost entry of a previously deleted cloud-linked file that remains visible in Windows File Explorer Favorites.
- Product
- Windows File Explorer / Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Managing recent or pinned files in File Explorer that are linked to OneDrive or Microsoft 365.
- Observed behavior
- A deleted file stays pinned or listed in Favorites. Clicking it triggers a Microsoft 365 sign-in prompt, followed by an error stating that the file no longer exists.
Ensure you have closed all active File Explorer windows and verified that the file is permanently deleted from your OneDrive cloud storage before clearing your local cache.
Clear File Explorer History and Cache
Clearing the File Explorer cache will refresh the Favorites list and remove stale or ghost entries of deleted OneDrive files.
This issue is typically caused by a synchronization lag or a caching conflict between Microsoft OneDrive and Windows File Explorer. Forcing File Explorer to clear its history resets the Quick Access and Favorites lists, effectively removing broken links.
Right-click the deleted file in your Favorites or Quick Access list and select 'Unpin from Quick Access' or 'Unpin from Favorites' if the option is available.
Click the three-dot menu icon (in Windows 11) or the 'View' tab (in Windows 10) at the top of the File Explorer window, and select 'Options'.
In the Folder Options window, stay on the 'General' tab. Locate the 'Privacy' section at the bottom and click the 'Clear' button next to 'Clear File Explorer history'. Click 'OK' to apply the changes.
Manage Your Documents Seamlessly with WPS Office
Avoid frustrating synchronization glitches and unexpected Microsoft 365 login prompts by switching to WPS Office. It provides a highly compatible workspace for all your document needs without locking you into mandatory cloud dependencies.
- 1. Download and Install: Get the latest version of WPS Office from the official website and quickly install it on your Windows PC.
- 2. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without needing any format conversion.
- 3. Save Locally or to Cloud: Easily choose between saving your files locally to your hard drive or securely backing them up to WPS Cloud based on your preference.

Frequently Asked Questions
Why do deleted OneDrive files still show up in File Explorer Favorites?
File Explorer locally caches recent files and pinned items to load them quickly. If a file is deleted from the cloud or on another synced device, the local File Explorer cache might not update immediately, leaving a 'ghost' shortcut behind.
Will clearing File Explorer history delete my actual files?
No, clearing File Explorer history only removes the shortcut records of recently opened files and folders from Quick Access and Favorites. Your actual documents, pictures, and folders remain perfectly safe on your hard drive.
How do I stop OneDrive files from appearing in my recent files list?
You can disable recent files from showing up by opening File Explorer Options, navigating to the General tab, and unchecking 'Show recently used files in Quick access' under the Privacy section.




