logo
search
OneDrive File Issues

How to Remove a Disabled University OneDrive Folder from Windows Explorer

Maira MehtabMaira Mehtab Sep 20, 2026 869 views

Question details

The user wants to delete a stale university OneDrive organization folder shortcut that remains in the Windows File Explorer navigation pane after the account was closed and the application removed.

Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Cleaning up the File Explorer navigation pane after a university or organizational OneDrive account is disabled or uninstalled.
Observed behavior
The organization's OneDrive folder still appears in the Windows Explorer navigation pane despite the cloud account being inaccessible and the app being removed.
Before you start

Before editing the Windows Registry, it is highly recommended to create a System Restore point or back up your Registry, as deleting incorrect keys can cause system instability.

Solution 1Recommended

Remove the Stale OneDrive Namespace Entry via Registry Editor

Since the application is uninstalled, you must manually remove the leftover folder shortcut from the Windows Registry to hide it in File Explorer.

When a OneDrive account is removed or uninstalled, Windows sometimes fails to clean up the navigation pane shortcuts. Deleting the specific namespace key from the Registry will safely remove the stale folder icon without affecting your local files.

1
Open Registry Editor

Press the Windows key + R to open the Run dialog. Type 'regedit' and press Enter to launch the Registry Editor.

2
Navigate to the Namespace Folder

In the Registry Editor address bar, paste this path and press Enter: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

3
Locate the Stale OneDrive Entry

Click through the folders (subkeys) under NameSpace. Look at the 'Data' column on the right side for each key until you find the one matching your university's OneDrive folder name.

4
Delete the Registry Key

Right-click the specific folder key (the one with the alphanumeric string) that contains the university OneDrive name, and select 'Delete'.

5
Restart File Explorer

Close the Registry Editor. Open the Task Manager (Ctrl + Shift + Esc), find 'Windows Explorer', right-click it, and select 'Restart' to apply the changes.

Local Files Check: You can also manually check your local directory (usually C:\Users\<username>) and delete the old OneDrive folder if it is empty or no longer needed.
Free Microsoft Office alternative

Switch to WPS Office for Seamless File Management

Tired of dealing with lingering system shortcuts and complex cloud setups? WPS Office offers built-in, hassle-free cloud storage management along with a powerful suite of productivity tools. It's a lightweight, free alternative to Microsoft Office that is fully compatible with Word, Excel, and PowerPoint files without cluttering your system registry.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free installer and follow the simple setup instructions.
  2. 2. Sign In for Free Cloud Storage: Create a free account to instantly access your built-in WPS Cloud space, keeping your files organized safely.
  3. 3. Manage Files Seamlessly: Save, open, and organize your documents directly from the clean, intuitive WPS Office interface without relying on external system folders.
Built-in WPS Cloud storage with easy access and automatic syncHighly compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Lightweight software that won't leave stale shortcuts in your Windows ExplorerFree and easy to use without requiring complex registry modifications
microsoft office alternative - wps office

Frequently Asked Questions

Why didn't uninstalling OneDrive remove the folder from File Explorer?

Sometimes the uninstallation process fails to delete the namespace registry keys that tell Windows Explorer to display the shortcut in the navigation pane. This leaves a 'ghost' or stale folder that must be removed manually.

Is it safe to delete keys in the Windows Registry?

Deleting the specific NameSpace keys for old OneDrive folders is safe and will only remove the shortcut from File Explorer. However, you should always back up the registry before making changes, as deleting the wrong system keys can cause serious computer instability.

Will deleting the registry key delete my local OneDrive files?

No. Removing the namespace registry key only hides the shortcut from the File Explorer navigation pane. Any files that were synced locally will remain in your user folder (usually C:\Users\<YourUsername>) unless you manually delete them.

How do I restart Windows File Explorer after editing the registry?

You can press Ctrl + Shift + Esc to open the Task Manager, locate 'Windows Explorer' in the processes list, right-click it, and select 'Restart'. The lingering OneDrive folder should immediately disappear without needing a full system reboot.