For Windows 10 Professional, Enterprise, and Education
Professional, Enterprise, and Education editions of Windows 10 get access to the Group Policy Editor. This utility provides an advanced option that allows you to disable OneDrive system-wide, but Windows 10 Home users can’t use this.
To do this, press the Windows key to open the Start menu’s search box, type gpedit.msc into it, and press Enter to open the Group Policy Editor. Navigate to the following folder:
Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\OneDrive
Double-click the “Prevent the usage of OneDrive for file storage” policy setting in the right pane, set it to “Enabled,” and click “OK.”
This completely disables access to OneDrive. OneDrive will be hidden from File Explorer and users won’t be allowed to launch it. You won’t be able to access OneDrive at all, not even from within Windows Store apps or use the camera roll upload feature.
To undo this change, just head back to here and change the policy to “Not Configured” instead of “Enabled.”