Forum Discussion

Paul Long's avatar
Paul Long
Brass Contributor
Jun 20, 2019
Solved

OneDrive auto setup

First, we are in a hybrid mode and we use ADFS for SSO.  What we need/want for our users is for OneDrive to get setup without any user interaction on a new computer. They should not have to click any...
  • Paul Long's avatar
    Paul Long
    Jul 23, 2019

    Ok, finally got OneDrive to work correctly, whether the device is showing in Azure AD, or not. The fix is, in addition to setting the Admin Template settings to what MS says, is also to set HKCU\Software\Microsoft\OneDrive\EnableADAL to a data value of 2.  OneDrive creates it with a data value of 1.  Once I changed it to 2 (any number other than 1 may work), OneDrive immediately started working correctly.  No more user prompts, interruptions, or failures.  It just loads and syncs. As a side note, I started running OneDriveSetup.exe with the /allusers switch to only have one installation of OneDrive.exe.  The /allusers switch puts it under a new program files (x86)\Microsoft OneDrive folder. Just be aware that if you do the /allusers, anyone with OneDrive already installed and working, will get a Sign in error.  All they need to do is click the "OK" button and it resigns them in.  This is a one-time resign in.

Resources