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' (https://support.microsoft.com/en-us/office/save-disk-space-with-onedrive-files-on-demand-for-windows...😞

 

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?

8 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.

www.elevenforum.com

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
(LinkedIn)

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 www.elevenforum.com 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:

2023-11-13.png

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?

@jamescadence 

 

This is a joke!

 

I have thousands of files in my OneDrive and every time I reboot my machine it takes hours to 'Process Changes' before any changes to existing files I make uploads, rendering OneDrive a much worse experience to what I had before without the ability to disable files on demand.

 

James610_0-1710696587499.png

 

Not to mention, half the 'Status' icons are just incorrect:

James610_1-1710696633374.png

 

 

 

@jamescadence

I figured this one out!

 

You want to navigate to 

C:\Program Files\Microsoft OneDrive\Build Number\adm\

Or

%localappdata%\Microsoft\OneDrive\Build Number\adm\

If it is a user installation

 

Make sure build number is replaced with the build number.

 

Then you should copy the ADMX file to C:\Windows\PolicyDefinitions.

After that copy the ADML file to C:\Windows\PolicyDefinitions\en-US

 

With that done you should be able to go to administrative templates then OneDrive and set "Use Files On Demand" to disabled.

After that you should be able to re-open OneDrive and it should work.

 

I hope this guide helped someone out :).

Also this is my first post on the forum so sorry if its bad

 

Edit: Sorry I didn't mention that this was on windows 10 the behaviour might be different in windows 11

 

@ImNotExpecting i  tried all of   these  and thy didn't work. OneDrive seems to ignore group policy and registry ..  i have windows 11 pro ( 23H2) and the OneDrive version: Build 24.101.0519.0010 (64-bit)

Thanks for posting this. I gave it a try and, as expected, it does make the OneDrive administrative template appear in gpedit.msc. However, setting 'Use Files On Demand' to disabled makes no difference, even after rebooting the machine. I presently have OneDrive version: Build 24.101.0519.0010 (64-bit).

So, unfortunately the problem still persists as per my original post. It is clearly possible for the previous OneDrive behaviour to still work with the current version of the OneDrive software as my work PC continues to allow 'Files On Demand' to be toggled off with exactly the same version of OneDrive installed.

It is disrespectful of its customers that Microsoft forces these changes on users. Users should be able to select whether they want 'Files On Demand' or not, and not be forced into a change they don't want or need.

Interesting, maybe Microsoft changed the behaviour as I did this so I could access my OneDrive sync folder through my Linux install. After doing the group policy edit it allowed me to access the folder in Linux. If I didn't do this I would get a error code saying it was unreadable. Also I forgot to mention that it was done on windows 10 so Microsoft may have changed something in windows 11 to make that OS even more worse