OneDrive comes installed with Windows 10 and is enabled by default if you sign on with a Microsoft account.
pop in intaskkill /f /im OneDrive.exeto terminate any OneDrive processes and hit Enter.
Your OneDrive folder and files, however, will still be available.
Disable or Uninstall OneDrive Completely in Windows 10| TechJourney