How to Hide OneDrive from File Explorer in Windows 10

Hide Onedrive In File Explorer Windows Header

OneDrive is Microsoft’s foremost cloud storage platform. It’s pretty neat, integrating with Windows 10, Microsoft Office and Outlook to let you seamlessly edit and move documents around in the cloud. But if you don’t use OneDrive, then its permanent shortcut in your File Explorer pane is superfluous. Luckily, a little tinkering in the registry editor will let you hide OneDrive from File Explorer in Windows 10. Read on to learn how

Note: you should first back up your registry before making any tweaks in it.

First, open the registry editor by hitting the Winkey, typing regedit in Start menu search, then clicking “Registry Editor” in the search results.

Hide Onedrive In File Explorer Windows Regedit

Once in Registry Editor, navigate to

Next, double-click the registry value in the right pane called “System.IsPinnedToNameSpaceTree.”

Hide Onedrive In File Explorer Windows

In the “Edit DWORD” window, change the number in the “Value data” box to “0”, then click OK.

Hide Onedrive In File Explorer Windows Edit Dword

64-bit Windows 10 users (most will be – you can check this in your System Information next to System Type) also need to edit another registry key.

Go to

and do the same thing as before, double-clicking “System.IsPinnedToNameSpaceTree” in the right-side pane and changing the value to “0.”

Hide Onedrive In File Explorer Windows Edit Dword 2

Click OK, and you’re done, having learned how to hide OneDrive from the File Explorer.

Alternatively, you can uninstall OneDrive from Windows 10. Want to do more Windows-based trickery? Find out how to check the health of your hard drive. Also see our guide on how to capture a scrolling screenshot in Windows 10.


Robert Zak Robert Zak

Content Manager at Make Tech Easier. Enjoys Android, Windows, and tinkering with retro console emulation to breaking point.


  1. Systemispinned entry never appeared so changing the DWORD or QWORD value to 0 didn’t do anything….yet.

  2. I highly recommend using Ultimate Windows Tweaker to do this, the program is free and it easily hides OneDrive with a one click check box and it actually works permanently!

Comments are closed.