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
- Find and remove the following key:
- If you are on 64-bit windows, you'll also need to remove the key
Download and run the registry file below to automatically remove the two registry keys mentioned above.