Uninstall Windows OneDrive Completely
- Press the Windows Key + R shortcut to open the Run command window.
- Type in gpedit.msc and click the OK button.
- Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive folder.
- Double-click on Prevent the usage of OneDrive for file storage and Enable it.
- In order to remove OneDrive from File Explorer, Open Notepad, save the following code as RemoveOneDrive.reg and then run it.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000000
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000000