Turning off this feature is useful if you always want to keep all files locally anyway. Here is a quick guide to restoring the feature.
Microsoft OneDrive users are familiar with this: The “Files On Demand” switch is no longer available, and you cannot turn off “Files On Demand.”
Turning off this feature is useful if you always want to keep all files locally anyway.
But even if you work with certain backup software, such as Bareos, this only works if “Files On Demand” is turned off.
If the switch is missing and it looks like this:

Here are instructions on how to get it back:
Use Task Manager to close all instances of OneDrive.

Edit the “global.ini” file and change a setting there.
OneDrive stores a settings file named “global.ini” for each account.
Depending on your account type, you can find it here:
- %localappdata%\Microsoft\OneDrive\settings\Business1
- %localappdata%\Microsoft\OneDrive\settings\Personal
Edit it and replace the text: “PlaceholdersEnabledUserSettingTribit = true” with “PlaceholdersEnabledUserSettingTribit = false”, then save the file.

I have noticed that on systems with the “Files on Demand” switch enabled, the ‘SavedPlaceholdersEnabledState’ setting was often set to “false.”
If these steps do not produce the desired result, you could try changing both values.
Then start OneDrive via the Start menu.
...and then it should look like this for you:

Translated with https://www.deepl.com/de/translator

