Remember, whenever you restart your PC, OneDrive will restart and resume working as usual. If you want to get rid of it permanently, you’ll have to uninstall the app. You can stop OneDrive from ...
If you don't want to use OneDrive, the easiest solution is to unlink it. Follow the steps in Turn off, disable, or uninstall OneDrive, for how to unlink, hide, and uninstall OneDrive from your PC.