How to Fix OneDrive Repeatedly Asking You to Sign In on Windows
Question details
The user is trapped in a continuous loop where the OneDrive desktop client repeatedly prompts them to sign in, interrupting normal usage.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- The user is attempting to keep their local files synchronized with OneDrive but is constantly interrupted by repetitive authentication prompts.
- Observed behavior
- OneDrive continuously asks for login credentials even after they have been entered correctly, failing to maintain an authenticated state.
Before proceeding with any account removals or app resets, ensure that your currently synced files are safely backed up locally to avoid any accidental data loss.
Clear Windows Credentials and Reset OneDrive
Clearing corrupted authentication tokens from the Windows Credential Manager and resetting the app is the most effective way to resolve sign-in loops.
When your cached login credentials become damaged or out of sync with Microsoft's servers, OneDrive will fail to authenticate silently in the background, resulting in repeated manual prompts.
Open the Windows Start menu, search for 'Credential Manager', and open it. Click on 'Windows Credentials', scroll down to locate any entries containing 'OneDrive' or 'MicrosoftOffice', and click 'Remove'.
Press the Windows key + R to open the Run dialog. Copy and paste the following command: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and hit Enter.
If the OneDrive cloud icon doesn't reappear in the system tray after a few minutes, open the Start menu, search for 'OneDrive', and click it to launch the application and sign in afresh.

Unlink and Reconnect Your PC
Unlinking your device forces OneDrive to establish a brand-new connection to your Microsoft account, which can clear up persistent sync glitches.
Test with a New Windows User Profile
If resetting OneDrive doesn't work, your Windows user profile itself may be corrupted. Creating a new profile helps identify if the issue is systemic or profile-specific.
Try WPS Office for Seamless Cloud File Management
Tired of troubleshooting frustrating OneDrive sign-in loops and Windows credential errors? WPS Office provides a lightweight, comprehensive productivity suite with highly stable, built-in cloud synchronization (WPS Cloud), eliminating the need for overly complex third-party cloud integrations.
- 1. Download and Install: Visit the official WPS Office website to download the free installation package and run it on your Windows PC.
- 2. Sign In Securely: Create or sign in to your WPS account using your email or a linked third-party account like Google for a stable, persistent session.
- 3. Save to WPS Cloud: Create a new document or open an existing Microsoft Office file, and use the 'Save to Cloud' feature to keep it securely synchronized across all your devices.

Frequently Asked Questions
Why does OneDrive ignore the 'remember my credentials' checkbox?
This typically occurs when the Windows Credential Manager experiences a corruption or a permissions issue, preventing it from securely saving the authentication token. Deleting the existing credentials forces Windows to generate and save a fresh, uncorrupted token.
Will I lose my files if I use the OneDrive reset command?
No. Resetting the OneDrive app using the run command only refreshes the application's configuration and sync state. It does not delete any of your files stored locally on your hard drive or in your cloud storage.
What should I do if there are no error codes accompanying the sign-in prompt?
A silent loop with no error code usually points to a profile authentication failure rather than a network or file error. Focus on clearing the Windows Credential Manager or unlinking/relinking your PC, as these steps directly address the authentication handshakes.




