I’ve had Windows 10 installed for all of 10 minutes now, and I’ve already had to look up a tweak to get rid of an annoyance, OneDrive. I personally don’t believe in using the cloud to store my personal information. It’s just too easy to get hacked and stolen, and let’s not even talk about the NSA. I trust nobody.
Anyway, there are a couple things you can do to get rid of OneDrive from ever showing up. First is to stop if from auto-starting up. As with Windows 8.1, you can go to Task Manager, choose the Startup tab, and disable it there. It will still show up in Windows Explorer though. Happily there is a very simple fix, although it involves editing that nasty registry.
Open regedit in the usual fashion, and navigate to these two keys:
In each of these keys, there is the same DWORD key System.IsPinnedToNameSpaceTree. Change that key to 0 from the default 1.
Big thanks to this thread for the information: Remove OneDrive from the Explorer Side Panel in Windows 10