OneDrive File Issues

How to Remove an Old SharePoint Sync Folder in Windows 11

Huda QurayshiHuda Qurayshi Oct 10, 2026 872 views

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.

How to Remove an Old SharePoint Sync Folder from Windows 11 File Explorer
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.
Before you start

Verify that your active OneDrive account is working correctly and ensure you are only modifying the settings for the disconnected, old Microsoft 365 tenant.

Solution 1Recommended

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.

1
Delete the local user folder

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.

2
Unpin from Quick Access

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.

3
Open Registry Editor

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.

4
Locate the Explorer NameSpace key

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.

5
Identify and delete the old tenant key

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.

Remove the Stale Sync Folder via File Explorer and Registry
Registry Backup Recommended: Before modifying the Registry, it is highly recommended to back it up. Right-click the 'NameSpace' folder, select 'Export', and save the backup file to your desktop.
Free Microsoft Office alternative

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. 1. Download and Install: Get the free WPS Office installer from the official website and complete the quick installation process.
  2. 2. Open Your Documents: Easily open your existing .docx, .xlsx, and .pptx files natively in WPS Office without worrying about complex cloud synchronization.
  3. 3. Save and Manage Locally: Work securely on your local drive, keeping your Windows 11 File Explorer clean and fully under your control.
Completely free to use with a clean, familiar interface that requires no learning curve.Highly compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation that doesn't clutter your Windows File Explorer with permanent sync nodes.Built-in robust local file management and optional, non-intrusive cloud backup.
microsoft office alternative - wps office

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.