Change in Files On-Demand behaviour in recent update to OneDrive for Windows

Copper Contributor

I have two PCs - one I use at home and another I use at work.  Both are running Windows 11 23H2 and are fully up to date with Microsoft updates.  Both are running OneDrive version 23.214.1015.0001.  I had to recently clean reinstall Windows on my home PC as I had windows authentication errors I couldn't fix.  However, after a clean reinstall the newly installed OneDrive has lost the option to turn off 'Files On-Demand' that existed previously and now the only option available is to 'Free up disk space' or 'Download all files', ie. Files On-Demand is now forced on, but you have a choice to mark everything to be downloaded and kept on the local system.  This results in the file status icons (blue cloud = online only; green tick = downloaded; solid green circle with white tick = always keep on device) being shown separately from the file icon rather than superimposed on the file icon (as used to occur when Files On-Demand was disabled).


This is what I see on my home PC OneDrive 'Sync and backup' advanced settings:

2023-11-09.png2023-11-09 (1).png


But this is what I see on my work PC OneDrive settings:

2023-11-09 (4).png2023-11-09 (5).png


Microsoft says in answer to 'Why don't I see the option to disable Files On-Demand' (


We are updating the OneDrive sync app advanced settings for Files On-Demand for users who have the feature enabled. 

The behavior change occurs for users who have Files On-Demand enabled. There is no change at this time for users that have the feature disabled from OneDrive settings or by admin policy.

After this change, users who have Files On-Demand enabled will see two buttons:  

  1. Download files as you open them: This is the default and recommended behavior. New files from the cloud are online-only by default, not taking up disk space. Files are downloaded to the device if a user opens them or chooses the option to “Always keep on this device” from the context menu in File Explorer. Files created on the device are available offline by default.

  2. Download all files now: This setting is equivalent to choosing the option to “Always keep on this device” from the context menu in File Explorer for the entire OneDrive folder. Selecting this option causes all files from the cloud to be downloaded, taking up disk space on the device. The behavior of this setting is equivalent to the legacy option of turning off Files On-Demand mode, with some improvements like updated icons.

I want to revert to the previous behaviour of switching off Files On-Demand altogether rather than being forced to have it on and then marking everything as 'always keep on device'.  Clearly this is possible because that is how my work PC behaves with exactly the same version of OneDrive installed.  Does anyone know what registry settings will force OneDrive to revert to the old behaviour of having a slider switch to turn off Files On-Demand?  Alternatively, if it is not easily possible to make the  slider switch reappear, how do I simply turn off Files On-Demand altogether?

3 Replies

Hi @Richard_Gration,

To disable Files On-Demand in OneDrive, follow these steps:

  1. Click on the OneDrive icon in the taskbar corner.
  2. Select the Help & Settings (gear) icon, then click on Settings.
  3. In the Settings window, go to the "Sync and backup" section.
  4. Under the "Files On-Demand" sub-section, click on the "Download all files" button.

By doing this, all your OneDrive files will be downloaded to your local hard drive, and the Files On-Demand feature will be turned off.

If you prefer using the Group Policy editor to disable Files On-Demand, follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Type gpedit.msc and press Enter to open Group Policy Editor.
  3. Navigate to Computer Configuration > Administrative Templates.
  4. Scroll down to find OneDrive and double-click to open it.
  5. Open the "Use OneDrive Files On-Demand settings" policy.
  6. Choose the Disabled option.
  7. Click OK to apply the changes.

Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.

If the post was useful in other ways, please consider giving it Like.

Kindest regards,

Leon Pavesic

Hi @LeonPavesic,

Thanks for your reply. However, I'm not sure it is correct that by clicking on the new 'Download all files' button that 'all your OneDrive files will be downloaded to your local hard drive, and the Files On-Demand feature will be turned off'.  The link in your reply to actually says:


You will know that Files On-Demand is turned on if you see the status icons next to your files in File Explorer.


As per my original post, what I am seeing is the status icons next to the files in File Explorer (rather than superimposed on the file icons as occurs when you have files on-demand disabled). So what appears to be happening is that files on-demand is being forced on, but all files on OneDrive are being marked as 'always keep on device'.


I had previously tried the Group Policy Editor approach, but there is no 'Use OneDrive Files On-Demand settings' policy:


I tried manually creating [HKLM\SOFTWARE\Policies\Microsoft\OneDrive\FilesOnDemandEnabled] as a REG_DWORD in the registry and setting it to 0, but that didn't seem to make any difference.

@LeonPavesic@Richard_Gration I can confirm that using this option is vastly different than being able to disable Files On-Demand entirely and is having quite the impact in my work space, especially since the Files On-Demand system doesn't seem to allow two people to operate in the same document at the same time. Its possible that it would be better if all of the computers were changed to this system, but if it isn't then we're essentially going back in time 10 years in OneDrive functionality.


Has anyone come up with a solution to solve this problem, or is this another case of Microsoft handicapping their users for no apparent reason?