How to Remove an Old OneDrive Account Folder from Windows File Explorer
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.

- 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.
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.
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.
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.
In the Registry Editor address bar, paste the following path and press Enter: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
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.
Right-click the specific alphanumeric key (CLSID) associated with the old OneDrive folder and select 'Delete'. Confirm the deletion.
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.
Open File Explorer, go to C:\Users\[YourUsername], locate the actual university OneDrive folder, and delete it to remove any residual offline files.

Unlink the Obsolete Account through OneDrive Settings
If you still see the cloud icon for the old account in your taskbar, you must unlink it first before attempting to remove the folder.
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. Download and Install: Visit the official WPS website, click 'Download WPS Office Free', and run the lightweight installer on your Windows PC.
- 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. 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.

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.




