How to Remove an Old SharePoint Sync Folder in Windows 11
Question details
The user needs to remove an obsolete SharePoint or OneDrive folder shortcut from the File Explorer navigation pane after the associated account or tenant has been deleted.

- Product
- Microsoft OneDrive and SharePoint
- Device & OS
- Windows 11
- Scenario
- A Microsoft 365 tenant was deleted, but its synchronized folder shortcut remains stuck in the File Explorer navigation pane as a stale entry.
- Observed behavior
- The old tenant folder appears on the left side of File Explorer with a white icon instead of a blue one, contains no subfolders, and lacks an associated taskbar icon.
Verify that your active OneDrive account is working correctly and ensure you are only modifying the settings for the disconnected, old Microsoft 365 tenant.
Remove the Stale Sync Folder via File Explorer and Registry
Use this solution to clear leftover local folders and remove the stuck navigation pane shortcut using the Windows Registry Editor.
When a Microsoft 365 tenant is deleted or an account is unlinked, Windows may fail to remove the cloud storage shortcut from the File Explorer navigation pane. You will need to manually delete the local folder remnant and remove the specific Registry key holding the shortcut.
Open File Explorer and navigate to C:\Users\[YourUsername]. Locate the old SharePoint or OneDrive folder corresponding to the deleted tenant and delete it if it still exists.
If the stale folder is pinned in your Quick Access menu, right-click the folder and select 'Unpin from Quick access' to clear it from the frequent list.
Press the Windows Key + R to open the Run dialog box. Type 'regedit' and press Enter to launch the Registry Editor. If prompted by User Account Control, click Yes.
In the Registry Editor, navigate to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace. You will see several folders with long alphanumeric names.
Click on each alphanumeric folder and look at the 'Data' column on the right pane. Find the one that matches the name of your old SharePoint or OneDrive tenant. Right-click that specific alphanumeric folder in the left pane and select 'Delete'. Restart File Explorer or your computer to see the changes.

Looking for a Hassle-Free Office Experience?
Avoid complex cloud syncing issues and cluttered File Explorers with WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, offering seamless local and cloud document management without forcing intrusive system shortcuts.
- 1. Download and Install: Get the free WPS Office installer from the official website and complete the quick installation process.
- 2. Open Your Documents: Easily open your existing .docx, .xlsx, and .pptx files natively in WPS Office without worrying about complex cloud synchronization.
- 3. Save and Manage Locally: Work securely on your local drive, keeping your Windows 11 File Explorer clean and fully under your control.

Frequently Asked Questions
Why does a deleted SharePoint folder still show in File Explorer?
Windows caches cloud storage navigation links in the system Registry. If synchronization stops abruptly or a Microsoft 365 tenant is deleted before the account is properly unlinked, the registry key remains behind, causing the stale folder shortcut to persist.
Will removing this old registry key affect my active OneDrive account?
No. Removing the specific alphanumeric key associated with the deleted tenant only hides the old entry from File Explorer. Your separate, active OneDrive account relies on a different registry key and will remain connected and unaffected.
What does a white folder icon mean in the File Explorer navigation pane?
A white folder icon instead of the standard blue OneDrive or SharePoint icon indicates that the shortcut is broken, unsynchronized, or no longer connected to an active Microsoft account.




