

Start by creating two powershell scripts – one for the HKCU and one for the HKLM.

#How to install onedrive for business 2013 with office 2016 windows 10
In a Windows 10 devices that is AzureAD joined and Intune managed – the Intune Management Extension is the easy way to setup OneDrive for Business with Silent Account Configuration. This one will enable files on demand – this will only work on Windows 10 1709, this needs to be set in the computer context. HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\ FilesOnDemandEnabled T his one will enable Silent Account Configuration for OneDrive for business, this needs to be set in the computer context.

HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\SilentAccountConfig This one will enable ADAL for OneDrive for business, this needs to be set in the user context. HKCU:\SOFTWARE\Microsoft\OneDrive\EnableADAL We only need to set to regkeys to get this working – but there is no native way of manipulation with the registre database in Windows – so we just do it with powershell.
