Run the following in a command prompt or add to a .bat file and execute it. You might need to execute this for each user on the PC.
winget uninstall Microsoft.OneDrive --accept-source-agreements
Run the following in a command prompt or add to a .bat file and execute it. You might need to execute this for each user on the PC.
winget uninstall Microsoft.OneDrive --accept-source-agreements