Thanks, Shan, for sharing this solution. It worked for me. I first had to create the "OneDrive" Folder (New --> Key) in the registry. My registry now looks like this:
This removes the files-on-demand feature from all OneDrive for business instances (I have multiple OneDrive for business accounts). This works for me.
However, has anybody an idea if and how this feature could be disabled for a specific OneDrive for business account only?
Thanks, Marco