By default, OneDrive is set to start when you sign in to Windows to have all files in each folder you choose to sync in OneDrive on your PC is automatically kept in sync with your online OneDrive. This article describes 2 ways to disable OneDrive autoruns when you sign in to Windows 10. This is useful when you want to speed up the computer's boot time.
Step 1: Open OneDrive Settings from the Taskbar Notification area.
Step 2: On the Settings tab, uncheck Start OneDrive automatically when I sign in to Windows checkbox.
With this Settings, OneDrive won't start automatically when you boot up your computer. You'll see OneDrive icon will disappear from the notification area.
Step 1: Type OneDrive in the search box, then click it on the result.
Step 2: Open OneDrive Settings, and check the Start OneDrive automatically when I sign in to Windows checkbox.
OneDrive icon will display in Taskbar notification area again and start syncing OneDrive files to your PC.
Step 1: Open Task Manager in more details view.
Press Win+X, then press T on keyboard. If it opens in mini mode, click on More details button.
Step 2: In Task Manager, click Startup tab. Select OneDrive, then click on Disable button.
With this Settings, OneDrive will not run next time when you boot up your computer.