OneDrive File Issues

How to Remove an Old OneDrive Account Folder from Windows File Explorer

Huda QurayshiHuda Qurayshi Oct 28, 2026 868 views

Question details

The user wants to completely remove an obsolete university OneDrive folder from the Windows File Explorer navigation pane after the account was unsynced.

How to Remove an Old OneDrive Account Folder from Windows File Explorer
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Cleaning up the File Explorer interface by removing a residual folder shortcut for a disconnected university account while keeping two other active OneDrive accounts fully connected.
Observed behavior
The old OneDrive folder remains visible in the File Explorer navigation pane even though the account has already been unlinked and the corresponding cloud icon is no longer present in the Windows taskbar.
Before you start

Ensure you have backed up any necessary local files from the obsolete OneDrive folder to another location on your hard drive, and verify the exact names of your active OneDrive folders so you do not accidentally remove the wrong one.

Solution 1Recommended

Remove the Residual Navigation Pane Entry via Registry Editor

Use this method to permanently delete the stuck OneDrive folder shortcut from the File Explorer sidebar when the account is already unlinked.

When a OneDrive account is unlinked, Windows sometimes fails to automatically delete its folder shortcut from the File Explorer navigation pane. You can manually remove this persistent entry using the Windows Registry Editor.

Once the registry entry is removed, you can safely delete the local folder itself from your user directory to free up space.

1
Open the Registry Editor

Press the Windows key + R on your keyboard to open the Run dialog box. Type 'regedit' and press Enter. Click 'Yes' if prompted by User Account Control.

2
Navigate to the Desktop NameSpace key

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

3
Identify the obsolete folder key

Under the NameSpace key, you will see several subkeys with long alphanumeric names (CLSID). Click on each one and look at the 'Data' column in the right pane to find the one matching the name of your old university OneDrive folder.

4
Delete the registry key

Right-click the specific alphanumeric key (CLSID) associated with the old OneDrive folder and select 'Delete'. Confirm the deletion.

5
Restart Windows Explorer

Open Task Manager by pressing Ctrl + Shift + Esc. Find 'Windows Explorer' in the processes list, right-click it, and select 'Restart'. The folder shortcut will disappear from the navigation pane.

6
Delete the local folder

Open File Explorer, go to C:\Users\[YourUsername], locate the actual university OneDrive folder, and delete it to remove any residual offline files.

Remove the Residual Navigation Pane Entry via Registry Editor
Caution with Registry Editor: Modifying the Windows Registry can cause system issues if done incorrectly. It is highly recommended to export a backup of the registry before making any changes.
Free Microsoft Office alternative

Manage Your Documents Efficiently with WPS Office

While resolving Windows and OneDrive file explorer issues can be tedious, managing your actual documents should be effortless. WPS Office is a free, lightweight, and incredibly user-friendly alternative to Microsoft Office. It provides an intuitive interface that makes transitioning easy, and offers robust built-in cloud capabilities so you can sync files without wrestling with local system folders.

  1. 1. Download and Install: Visit the official WPS website, click 'Download WPS Office Free', and run the lightweight installer on your Windows PC.
  2. 2. Sign In to Activate Cloud: Open WPS Office and sign in with your email or social account to activate your free WPS Cloud storage.
  3. 3. Save Documents Online: Whenever you create a new document, simply go to Menu > Save As and select WPS Cloud to securely back up your files without relying on complex local sync folders.
100% compatible with Microsoft Office formats including Word (.docx), Excel (.xlsx), and PowerPoint (.pptx).Built-in WPS Cloud storage makes organizing and syncing documents easy without cluttering Windows File Explorer.Lightweight application that runs smoothly on Windows PCs without slowing down system performance.Familiar tabbed user interface ensures a seamless migration from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my unlinked OneDrive folder still show in Windows File Explorer?

When you unlink an account, Windows stops syncing the files, but the OS sometimes fails to automatically remove the folder's shortcut from the File Explorer navigation pane. This usually requires manually deleting the leftover shortcut via the Windows Registry.

Will deleting the old university OneDrive folder delete files from my personal OneDrive?

No. As long as you only target the registry key and local folder named specifically after your old university or work account, your active personal or business OneDrive accounts will remain fully intact and connected.

Can I hide the obsolete OneDrive folder instead of deleting it?

You can hide the local folder by right-clicking it, selecting 'Properties', and checking the 'Hidden' box. However, this only hides the files inside the directory; it will not remove the persistent OneDrive shortcut icon from the left-hand navigation pane in File Explorer.