Open Command Prompt in Administrator mode: Right-click on the Windows icon in the taskbar and select Command Prompt (Admin).
Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter.

%SystemRoot%\System32\OneDriveSetup.exe /uninstall 
if youre using 32-bit Windows 10
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 
if youre using 64-bit Windows 10