Disable OneDrive in Windows 10
OneDrive is a quality cloud solution with good synchronization. But it's there either you want it or not in Windows 10 and you may have your own reasons for wanting it gone from your installation. Uninstall OneDrive from your application list in the control panel and set the registry value below to 0 - this will immediately remove it from the file explorer left menu.
System.IsPinnedToNameSpaceTree (=1, set to 0)