OneDrive comes bundled with the Windows 10 OS. It can be used to store your documents and other data online in the cloud and sync it between your computers. If you are not going to use it and don't wish to see the OneDrive icon in the mavigation pane, here is how to disable it and remove OneDrive from Windows 10 File Explorer.
To remove and hide the OneDrive icon from Windows 10 File Explorer, do the following:
- Open Registry Editor.
- Go to the following Registry key:
Tip: See how to jump to the desired Registry key with one click.
You might need to take ownership of this key as described HERE or using the RegOwnershipEx app (recommended). In my case, I already had full access to that key.
- Set the value data of the DWORD value Attributes to f090004d.
- If you are running a 64-bit operating system, repeat the steps above for the following Registry key:
- Restart Windows 10.
- Open the File Explorer app. The OneDrive icon will disappear from the File Explorer navigation pane:
That's it. To restore the OneDrive icon, set the Attributes value data to f080004d.