How to remove OneDrive from explorer's tree

I don't use Microsoft's OneDrive service and as such don't want it hanging around in the windows explorer tree view taking up spacing and being annoying if it is accidentally selected.

Removing the OneDrive software will deactivate it do it does nothing when clicked, but the entry itself is still there for some reason. If you want to have it removed from the view completely you'll need to make a small registry tweak.

  1. Open the registry editor by pressing Win + R and typing regedit.
  2. Find and remove the following key: HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  3. If you are on 64-bit windows, you'll also need to remove the key HKEY_CURRENT_USER\Software\Classes\WOW6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

Quick Fix

Download and run the registry file below to automatically remove the two registry keys mentioned above.