This tutorial will demonstrate how to remove Onedrive from the sidebar in Windows 10, it might also work on windows 7 8 and vista.

This involves messing with the registry, so please have a backup before proceeding. Also please be familiar with the registry, or follow every step to the T. Not knowing what you are doing, and diverting from these instructions, could cause damage to your operating system.

on to the tutorial

1. open the registry editor by:

opening start menu, type “regedit” and open it

2. navigate to:

3. set the “System.IsPinnedToNamespaceTree” value to 0

4. Afterwards, you’ll need to prevent Onedrive from changing the value back. To do this: