Sign-in & Login Problems

Configure OneDrive Automatic Sign-In on Shared Windows Devices

Elise WilliamsElise Williams Nov 20, 2026 868 views

Question details

Configure OneDrive for Business to sign in automatically for the current user on shared Windows computers.

Configure OneDrive Automatic Sign-In on Shared Windows Devices
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.
Before you start

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.

Solution 1Recommended

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.

1
Check Windows and device join status

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.

2
Enable the OneDrive policy

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.

3
Verify policy application

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.

4
Test with separate users

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.

Enable OneDrive silent account configuration
Shared device considerations: Do not use one shared Windows account for multiple people if each person needs a separate OneDrive account. Review Microsoft's guidance for your shared-device or virtual desktop deployment before rollout.
Free Microsoft Office alternative

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.

Open and edit files used in shared-device workflowsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar tools make migration from Microsoft Office easierFree, lightweight office suite
QA img-9

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.