Here are the steps to disable or enable OneDrive in Windows
- Press Win + R, then type msc and hit enter for the Local Group Policy Editor to load
- Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive
- Open “Prevent the usage of OneDrive for file storage”
- To Enable OneDrive select “Not Configured” and to Disable it select “Disabled”