How to Remove OneDrive from Explorer Left Pane in Windows 10/11

In File Explorer’s upper left navigation pane, there are links to Home, Gallery, and OneDrive. You may wonder how to remove the OneDrive link from the navigation pane.

Let’s see how to remove OneDrive link from Explorer. Information in this article applies to Windows 10 and Windows 11.

Remove OneDrive from explorer - Windows 10 and 11
Screenshot from Windows 11
Remove OneDrive from explorer - Windows 10 and 11
Screenshot from Windows 10

Remove OneDrive from the left pane of Explorer

Option 1: Uninstall OneDrive

If you don’t use OneDrive and none of the folders are configured to sync with OneDrive, you may uninstall the OneDrive app. Please see the following article to learn how to uninstall the OneDrive app.

Option 2: Remove OneDrive from Explorer using the registry

You can remove the OneDrive link from Explorer using a registry edit, without uninstalling the OneDrive app.

hand point iconTo automate the following steps, please download onedrive_remove_from_explorer.reg (zipped) and run the enclosed registry file.
  1. Open regedit.exe and go to the following branch:
  2. Double-click System.IsPinnedToNameSpaceTree and set its data to 0.
    remove onedrive from navigation pane
  3. Next, go to:
  4. Under Namespace, delete the subkey named {018D5C66-4533-4307-9B53-224DE2ED1FE6}.
    remove onedrive from navigation pane
  5. Exit Regedit.exe.

That should remove OneDrive from the Explorer navigation pane in Windows 10 and 11. You can still use the OneDrive app if you use Method 2 above.



One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

Leave a Comment