Configure OneDrive Automatic Sign-In on Shared Windows Devices
Question details
Configure OneDrive for Business to sign in automatically for the current user on shared Windows computers.

- Product
- OneDrive for Business sync app
- Device & OS
- Windows 10
- Scenario
- A school uses shared computers and wants each user to access their own OneDrive account when they sign in to Windows.
- Observed behavior
- Automatic OneDrive sign-in has been observed for the user who joined the device, but the school needs it to work for other users as well.
Confirm that each user has a separate Windows sign-in and a licensed OneDrive for Business account. Check that the OneDrive sync app and current OneDrive administrative templates are installed.
Enable OneDrive silent account configuration
Use the OneDrive policy to configure work or school accounts from users' Windows credentials on eligible devices.
The device should be Microsoft Entra joined or hybrid joined, and users must sign in with eligible work or school identities. Silent sign-in may still require interaction when multifactor authentication or other access policies demand it.
Open Settings > System > About to check the Windows version. Open Command Prompt and run dsregcmd /status; under Device State, check AzureAdJoined and DomainJoined to identify the join state.
In Group Policy Management, edit the policy applied to the devices. Go to Computer Configuration > Administrative Templates > OneDrive, open Silently sign in users to the OneDrive sync app with their Windows credentials, and select Enabled.
On a test computer, run gpupdate /force in Command Prompt, then run gpresult /r to check the applied policies. An administrator can also check that SilentAccountConfig is set to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive.
Sign in to Windows with a test user's work or school account and open OneDrive from the Start menu. Check the OneDrive cloud icon and Settings > Account to confirm the correct account, then repeat with another user's separate Windows session.

Check authentication requirements when silent sign-in prompts users
Use these checks if the policy is enabled but users are still asked to sign in or verify their identity.
Work with Office Files Using WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Office format support helps users move existing files without changing their OneDrive sign-in configuration.

Frequently Asked Questions
Does the person who joined the computer have to be the OneDrive user?
Not necessarily. On an eligible joined device, the silent account configuration policy is intended to use the current user's Windows credentials. Test with separate work or school Windows accounts to confirm your deployment works as intended.
Where is the OneDrive silent sign-in policy?
In Group Policy Management, go to Computer Configuration > Administrative Templates > OneDrive and enable Silently sign in users to the OneDrive sync app with their Windows credentials. Install the current OneDrive administrative templates if the policy is missing.
Can multifactor authentication prevent a completely silent sign-in?
Yes. Multifactor authentication or Conditional Access requirements can require user interaction. Check the user's sign-in logs and applicable policies in the Microsoft Entra admin center.
How can I check which OneDrive account is signed in?
Select the OneDrive cloud icon in the Windows notification area, open Settings, and select Account. Compare the listed work or school account with the current Windows user.




