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.
I first removed the OneDrive software and while that did remove the service it left a non-functional OneDrive icon in the Windows explorer tree. I wanted that icon removed as well, so it was not taking up space and getting in the way. After some digging in the registry I found a way to remove it from the tree.
- Open the registry editor by pressing Win + R and typing
regedit
. - Find and remove the following key:
HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
- 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.