Like previous versions of Windows, File Explorer has a space-wasting OneDrive icon in the left sidebar.
If you dont use OneDrive, you’re able to remove this icon with a simple registry tweak.
Remember: this wont remove OneDrive from the system, itll just hide it from your File Explorer sidebar.
Double-click onSystem.IsPinnedToNameSpaceTreechange its value from1to0.
Log off or reboot your rig.
When you open File Explorer, the OneDrive entry should be gone from the list.
Enjoy your cleaner, easier-to-navigate sidebar!
Remove OneDrive from the Explorer Side Panel in Windows 10| Microsoft TechNet