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 OneDrive with a simple registry tweak.

Follow the instructions in the video. Remember: this won’t remove OneDrive from the system, it’ll just hide it from your File Explorer sidebar.

Press Win+R and type regedit to open up the Registry Editor

Navigate to the HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} registry key.

Double-click on System.IsPinnedToNameSpaceTree change its value from 1 to 0.

Log off or restart your computer. When you open File Explorer, the OneDrive entry should be gone from the list.