Information
This policy setting lets you prevent apps and features from working with files on OneDrive using the Next Generation Sync Client.
The recommended state for this setting is: Enabled.
Solution
To establish the recommended configuration via GP, set the following Group Policy setting to Enabled:
Computer Configuration\Policies\Administrative Templates\Windows Components\OneDrive\Prevent the usage of OneDrive for file storage
Note: This Group Policy path may not exist by default. An additional Group Policy template (SkyDrive.admx/adml) may be required - we strongly recommend you only use the version included with the Microsoft Windows 10 Release 1607 & Server 2016 Administrative Templates (or newer). Older versions of the templates had conflicting settings in different template files for both OneDrive & SkyDrive, until it was cleaned up properly in the above version.