1. Open Command Prompt in Administrator mode: Right-click on the Windows icon in the taskbar and select Command Prompt (Admin).
2. Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter.
3. Then type in either %SystemRoot%\System32\OneDriveSetup.exe /uninstall if you’re using 32-bit Windows 10 or %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall if you’re using 64-bit Windows 10 and hit Enter
If you want to reinstall
4. go to %SystemRoot%\SysWOW64\” folder in File Explorer and run the OneDriveSetup.exe program.