Like previous versions of Windows, File Explorer has a space-wasting OneDrive icon in the left sidebar. If you don't use OneDrive, you can remove this icon with a simple registry tweak.
We've detailed how to do this in Windows 8, but the registry key has changed in 10, so here are the new instructions. Remember: this won't remove OneDrive from the system, it will just hide it from your File Explorer sidebar.
Press Win+R and type
regeditto open up the Registry Editor
Navigate to the
System.IsPinnedToNameSpaceTreechange its value from
- Log off or restart your computer. When you open File Explorer, the OneDrive entry should be gone from the list.
Remove OneDrive from the Explorer Side Panel in Windows 10 [Microsoft TechNet]