OneDrive is the most annoying and aggravating pieces of s**t software that Micro$oft forces down windows 10 user's throats. If you Google how to uninstall OneDrive you get a bunch of unhelpful articles from Microsoft that don't actually uninstall OneDrive. Eventually I found this article from Lifehacker which appeared to work.
Press the windows key + 'r' and type
cmd before pressing enter, to open up the command prompt.
Kill the onedrive processs if it is running by executing:
taskkill /f /im OneDrive.exe
Then remove OneDrive with:
If you are a 32bit Windows user (probably not), then the command would be: