Enable OneDrive Files On-Demand in Intune to Save Disk Space
In this article
To enable OneDrive Files On-Demand in Intune, you configure a Settings Catalog policy (or a OneDrive administrative template) that sets the "Files On-Demand" setting to Enabled and assigns it to your device or user groups. Files On-Demand keeps files in the cloud until opened, so local disk use drops dramatically while users still see their full OneDrive in File Explorer. Before you start, make sure devices run Windows 10 version 1709 or later (Windows 11 included), have the OneDrive sync app installed and signed in, and that your Intune tenant has the OneDrive policies available. Menu labels can differ slightly by Intune version, device and region.
What You'll Need
- Microsoft Intune admin access (or a role with device configuration permissions).
- Windows 10 version 1709 or later or Windows 11 devices enrolled in Intune.
- The OneDrive sync app installed on target devices and users signed in with a work or school account.
- Device or user groups scoped for the policy.
Step-by-Step
- Sign in to the Microsoft Intune admin center.
- Go to Devices > Configuration and select Create > New policy.
- For Platform, choose Windows 10 and later. For Profile type, choose Templates and then Administrative Templates. (Alternatively, use Settings Catalog if your tenant offers it.)
- Give the policy a clear name, such as "OneDrive Files On-Demand", and add a description.
- In the configuration settings, search for OneDrive. Under the OneDrive administrative template, locate the setting for Files On-Demand and set it to Enabled.
- If you want to prevent users from turning it off, also enable the setting that forces Files On-Demand to stay on. If you want to allow users to choose, leave the enforcement setting at Not Configured.
- Assign the policy to your device or user groups. Use device groups if the setting should apply regardless of who signs in; use user groups if it should follow the user.
- Review and create the policy. Intune applies it at the next device check-in, which can take a few minutes to hours depending on sync schedule.
- On a test device, open File Explorer, right-click the OneDrive folder, and confirm the "Free up space" and "Always keep on this device" options appear. That indicates Files On-Demand is active.
- Monitor assignment status in Intune under the policy's device and user status. Fix any conflicts with other OneDrive policies before rolling out broadly.
Common Mistakes
One frequent mistake is assigning the policy to users but expecting it to apply before sign-in; Files On-Demand is a per-device sync behavior, so device-targeted policies are more reliable for shared PCs. Another is enabling conflicting OneDrive settings in two policies, which can leave the device in an error state. Also, do not assume the policy installs the OneDrive app; it only configures behavior if the app is present. Finally, some admins enable Files On-Demand but forget that users can still pin large folders as "Always keep on this device," which fills the disk again.
Tips
Use a pilot group of five to ten devices before broad assignment. Combine Files On-Demand with Storage Sense to clean temp files. Document for users how to right-click a folder and choose "Free up space" to reclaim disk. If your organization uses Known Folder Move, enable Files On-Demand in the same policy set so Desktop, Documents and Pictures sync without consuming full local space. Check the OneDrive sync app version on devices; older builds may not honor the policy.
Troubleshooting
If Files On-Demand does not appear, first restart the device and confirm the OneDrive sync app is running and signed in. Check Intune policy status for errors or conflicts. On the device, open the OneDrive settings and verify Files On-Demand is not disabled by another policy. If the policy shows as applied but the feature is missing, sign out and back in to OneDrive, then restart Explorer. If disk use remains high, check which folders are set to "Always keep on this device" and free them up. If the device is not checking in, trigger a manual sync from the Intune Company Portal or Settings > Accounts > Access work or school > Info > Sync. As a last resort, remove the device from Intune management and re-enroll, but note this can remove company policies and require sign-in again.
Frequently Asked Questions
Does enabling Files On-Demand delete local files?
No. It replaces full local copies with placeholders; files remain in OneDrive and open on demand. Files marked "Always keep on this device" stay local.
Can users turn Files On-Demand off?
Yes, unless you enable the enforcement setting in the policy. Without enforcement, users can toggle it in OneDrive settings.
Does this work on macOS?
Files On-Demand is a Windows feature. Mac users have a similar on-demand behavior in the OneDrive app, but the Intune policy described here applies to Windows.
Will it slow down opening large files?
Opening a cloud-only file downloads it first, so the first open may take longer depending on connection speed. Subsequent opens use the local cache.
What happens if a user is offline?
Only files kept on the device are available offline. Cloud-only placeholders require a connection to open.
Can I apply this to all users at once?
Yes, but pilot first. Broad assignment without testing can conflict with existing OneDrive policies and cause sync errors.