A Microsoft file hosting and synchronization service.
For a OneDrive sign-in or credential re-entry problem on Windows, use this sequence:
- Verify the correct account is being used.
- Select the OneDrive icon in the taskbar notification area.
- Select Help & Settings > Settings.
- On the Account tab, confirm the expected work or school account is shown.
- If not, sign in with the correct account.
- Clear the cached pre-sign-in credential file.
- Press Windows key + R.
- Enter:
%localappdata%\Microsoft\OneDrive\settings - Select OK.
- Delete PreSignInSettingsConfig.json.
- Start OneDrive again and try signing in.
- Unlink and relink OneDrive.
- Select the OneDrive icon.
- Open Help & Settings > Settings.
- On the Account tab, unlink the PC from OneDrive.
- Start OneDrive again and sign in with the correct account.
- If the issue continues, reinstall OneDrive.
- Go to Add or remove programs.
- Find Microsoft OneDrive under Apps & features.
- Select Uninstall.
- Download and install OneDrive again.
- No data is lost by uninstalling or resetting OneDrive.
- If the error is caused by multiple cached identities, clear the cached Office account identities from the registry.
- This is more advanced and should be done carefully because incorrect registry changes can affect sign-in behavior.
If syncing is blocked after sign-in, also confirm the SharePoint or OneDrive library is allowed to sync and that the correct Microsoft 365 credentials are being used.
For work or school accounts, if the problem still remains after these steps, contact the organization's IT helpdesk or admin.