Categories
Tech

Disable OneDrive Files On-Demand in Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
FilesOnDemandEnabled (dword) to 0

Here’s a link to a .reg file to disable files on-demand.
Usual disclaimer: Use at your own risk. Backup your registry before making any changes.

This key/path may not exist.
Create or change FilesOnDemandEnabled (DWORD) at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
0: Disable files on-demand
1: Enable files on-demand

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
FilesOnDemandEnabled

Tip: You can copy and paste into the address bar in registry editor.