Tuossa mielestäni kohtuullinen ohje onedriven kokonaan poistamiseksi komentokehotteessa.
En kokeillut.
https://techjourney.net/disable-or-uninstall-onedrive-completely-in-windows-10/
Uninstall OneDrive
Terminate any process of OneDrive by running the following command:
taskkill /f /im OneDrive.exe
Uninstall OneDrive app by running one of the following command:
In 32-bit Windows 10 (x86):
%SystemRoot%\System32\OneDriveSetup.exe /uninstall
In 64-bit Windows 10 (x64):
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
One you ran the above command, OneDrive desktop app is uninstalled completely and cleanly. Most of the time, no progress bar nor confirmation dialog is shown. However, when you search for OneDrive, the app no longer be found.
En kokeillut.
https://techjourney.net/disable-or-uninstall-onedrive-completely-in-windows-10/
Uninstall OneDrive
Terminate any process of OneDrive by running the following command:
taskkill /f /im OneDrive.exe
Uninstall OneDrive app by running one of the following command:
In 32-bit Windows 10 (x86):
%SystemRoot%\System32\OneDriveSetup.exe /uninstall
In 64-bit Windows 10 (x64):
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
One you ran the above command, OneDrive desktop app is uninstalled completely and cleanly. Most of the time, no progress bar nor confirmation dialog is shown. However, when you search for OneDrive, the app no longer be found.

