in previous Windows 10 Builds (for example in Windows 10 Build 9879) I was able to uninstall manually and completely OneDrive from Store (the modern version) and from Add/Remove Software (the desktop version) without troubles.
but now in Windows 10 Build 9926 I can find a way to uninstall OneDrive.
what can I do now to uninstall it ?
well, I've made an uninstaller tool to remove OneDrive completely in Windows 10, I hope is useful for everyone until Microsoft fix the issue.
here is the tool: http://www62.zippyshare.com/v/IfLGZv7J/file.html (it does not have virus, is just a false positive with some AV due the file is a batch code).
and here is the code:
@echo off
cls
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 10 > NUL 2>&1
echo Removing OneDrive leftovers.
echo.
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
echo Removing OneDrive from the Explorer Side Panel.
echo.
REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
pause