Regedit
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} System.IsPinnedToNameSpaceTree => 0
Cmd
taskkill /f /im OneDrive.exe rem 32Bit %SystemRoot%\System32\OneDriveSetup.exe /uninstall rem 64bit %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall