Remove OneDrive from Windows
From KlavoWiki
Jump to navigationJump to search
Windows 11
PowerShell Method
winget uninstall onedrive
Command Prompt Method
From a command Prompt.
taskkill /f /im OneDrive.exe C:\Windows\System32\OneDriveSetup.exe /uninstall
Windows 10
Command Prompt
taskkill /f /im OneDrive.exe %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
Registry Change
Or you can use this registry chnage. You don;'t need to do this if you have used the Command Prompt.
regedit
locate Key
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
change from 1 to 0.
System.IsPinnedToNameSpaceTree
or save and run following reg file.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}] "System.IsPinnedToNameSpaceTree"=dword:00000000