How to configure auto-login to One drive for users on On-Prem AD joined devices?

Manesh Appukkuttan 20 Reputation points

Hi All,

I have received requests from users to sync their files and folders directly to the OneDrive app. The users want that once they log in to the On-Prem AD joined workstations, they automatically get logged in to the OneDrive Application and their files and folders start to sync.

How can I achieve this?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,932 questions
A Microsoft file hosting and synchronization service.
903 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,057 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 16,476 Reputation points MVP
    1. Open the Group Policy Management Console (GPMC).
    2. Create a new GPO or edit an existing one that applies to your target users.
    3. Navigate to: Computer Configuration > Administrative Templates > Windows Components > OneDrive
    4. Enable the policy: "Silently configure OneDrive using Windows 10 or domain credentials"
    5. (Optional) Configure additional OneDrive settings under the same path, such as default folder location or file filtering.
    6. Link the GPO to the appropriate Organizational Unit (OU) containing your target users.
    7. On user workstations, enforce the GPO by running gpupdate /force in a command prompt with administrator privileges.

    [You can find the administrative template files from the OneDrive Group Policy download page.]