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. Once in Registry Editor, navigate to Next, double-click the registry value in the right pane called “System.IsPinnedToNameSpaceTree.” In the “Edit DWORD” window, change the number in the “Value data” box to “0”, then click OK. 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.” 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.