OneDrive comes preinstalled with Windows 10, but I prefer using Google Drive for my private stuff, so I uninstalled it on systems where I definitively don’t need it, as my gaming PC. To uninstall OneDrive, fire up a a command prompt or PowerShell window as administrator.
First you need to make sure the process is killed:
Then run one of the following commands, depending if you run a 32-bit or a 64-bit system:
To reinstall it again, run one of these commands: