OneDrive is pesky and sticky in File Explorer of Windows 10. The navigation pane (also known as side panel or folder tree) displays OneDrive folder prominently, just after the Quick Access. If you just want to hide and remove OneDrive from the Windows Explorer (i.e. Computer, Documents, Pictures, Music, Videos, Downloads and etc), follow these steps:

  1. Press Win + R keyboard accelerator to open Run dialog box.
  2. Type RegEdit.exe and hit Enter or OK to open Registry Editor.
  3. Navigate to the following registry key:

    HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

  4. Change the data of System.IsPinnedToNameSpaceTree value subkey to 0.

    Remove OneDrive from File Explorer Folder Tree

    Note
    If 64-bit Windows 10, you may also need to modify the setting for System.IsPinnedToNameSpaceTree to 0 at the following registry location:

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6

  5. Close and restart any File Explorer window, and OneDrive now hidden.

File Explorer with OneDrive in Navigation Pane
Original Windows 10 File Explorer with OneDrive.

File Explorer Without OneDrive
Windows 10 File Explorer without OneDrive after the registry hack.