Remove a Disabled OneDrive for Business Shortcut from File Explorer
Question details
Remove an unwanted File Explorer shortcut left by a disabled OneDrive for Business account.

- Product
- OneDrive for Business
- Device & OS
- Windows
- Scenario
- A former work or school account is disabled, and its OneDrive shortcut is no longer needed.
- Observed behavior
- The shortcut remains in the File Explorer navigation pane after the local folder is deleted and OneDrive is reinstalled.
Identify the name of the unwanted work or school OneDrive shortcut and check whether its account still appears in OneDrive settings. Avoid unlinking your personal OneDrive account if you want to keep using it.
Unlink the Former Work or School OneDrive Account
Use this option first if the old account is still listed in OneDrive settings.
Select the OneDrive cloud icon in the taskbar notification area, then select the gear icon and Settings. Check the hidden icons area if you do not see the cloud.
Open the Account tab and locate the former work or school account. If it is not listed, use the registry solution instead.
Under the old account, select Unlink this PC and confirm Unlink account. Close the OneDrive setup window if it appears.
Open File Explorer and check whether the unwanted OneDrive shortcut has disappeared.

Remove the Leftover OneDrive Shortcut from the Registry
Use this option if the old account is no longer listed or unlinking it does not remove the shortcut.
Work with Office Files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move your files, although it does not remove OneDrive shortcuts from File Explorer.

Frequently Asked Questions
Why is the OneDrive shortcut still visible after I delete its folder?
The navigation shortcut can remain registered separately from the local folder. Check OneDrive Settings > Account first, then inspect the Explorer Desktop Namespace registry entries if necessary.
What if the old work or school account is not in OneDrive settings?
The account may already be unlinked. Check the Namespace registry key for a subkey whose Data value matches the unwanted shortcut, and delete it only if you can identify it confidently.
Will removing the old shortcut unlink my personal OneDrive?
Not if you select only the former work or school account in OneDrive Settings > Account, or delete only the matching registry subkey. Check the account and shortcut names carefully before making changes.
How do I refresh File Explorer after removing the registry entry?
Press Ctrl+Shift+Esc to open Task Manager, select Windows Explorer, and choose Restart. Then check the File Explorer navigation pane again.




