Use OneDrive Files On-Demand
Supported on: At least Windows Server 2016, Windows 10 Version 1709
Registry
HKLM
SOFTWARE\Policies\Microsoft\OneDrive Value name: FilesOnDemandEnabled
Enabled: FilesOnDemandEnabled = 1
Disabled: FilesOnDemandEnabled = 0
Description
This setting lets you control whether OneDrive Files On-Demand is enabled for your organization. If you enable this setting, OneDrive Files On-Demand will be turned on by default. If you disable this setting, OneDrive Files On-Demand will be explicitly disabled and users can't turn it on. If you do not configure this setting, users can turn OneDrive Files On-Demand on or off.