logo
search
OneDrive File Issues

How to Remove Deleted OneDrive Files from File Explorer Favorites

Maira MehtabMaira Mehtab Sep 22, 2026 870 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Unpin the stale item

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.

2
Open File Explorer Options

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'.

3
Clear File Explorer history

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.

Cache Cleared: Once the history is cleared, the ghost file should disappear. If it persists, you may need to restart the Windows Explorer process via the Task Manager.
Free Microsoft Office alternative

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. 1. Download and Install: Get the latest version of WPS Office from the official website and quickly install it on your Windows PC.
  2. 2. Open Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without needing any format conversion.
  3. 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.
Free and lightweight office suite with fast startup timesFully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Built-in reliable local and cloud document managementFamiliar user interface requiring no learning curve
microsoft office alternative - wps office

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.