Nov 08 2023 03:29 PM
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:
But this is what I see on my work PC OneDrive settings:
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:
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.
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?
Nov 13 2023 01:25 AM
Hi @Richard_Gration,
To disable Files On-Demand in OneDrive, follow these steps:
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:
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)
Nov 13 2023 01:51 AM
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:
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.
Feb 20 2024 09:56 AM
@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?
Mar 17 2024 10:30 AM
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.
Not to mention, half the 'Status' icons are just incorrect:
Jun 10 2024 10:48 PM - edited Jun 13 2024 05:26 AM
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
Jun 11 2024 02:09 PM
@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)
Jun 11 2024 03:07 PM
Jun 13 2024 05:24 AM - edited Jun 13 2024 05:27 AM
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