Fix Cannot Sign In to the Correct Microsoft Account in File Explorer
Question details
The user is unable to sign in to their current Microsoft account in File Explorer, causing a sign-in loop that leaves OneDrive disconnected and files inaccessible.

- Product
- OneDrive / Windows
- Device & OS
- Windows
- Scenario
- Attempting to access and sync OneDrive files via File Explorer using a Microsoft account.
- Observed behavior
- File Explorer repeatedly asks for an older account's password and loops back to the previous page even after entering the correct security code, failing to connect to OneDrive.
Ensure you have a stable internet connection and know your current Microsoft account email and password before attempting to troubleshoot the sign-in loop.
Verify Microsoft Account Credentials Online
Use a private browsing window to confirm your current Microsoft account credentials are valid and active.
Sign-in loops in Windows often occur due to corrupted local cache or credential conflicts. Verifying your account in an isolated browser environment ensures your account is not locked or compromised.
Launch your preferred web browser and open an InPrivate (Edge) or Incognito (Chrome) window.
Go to account.microsoft.com and enter your current Microsoft account email and password.
Complete any two-factor authentication prompts. If you log in successfully, your credentials are correct, confirming the issue lies with your local Windows configuration.

Access OneDrive Files via Web Browser
Bypass File Explorer entirely to access your files directly from the OneDrive website.
Switch Windows User Profiles
Log into a different Windows profile to clear out legacy credential conflicts.
Experience Hassle-Free File Management with WPS Office
If Microsoft account sync issues and OneDrive loops are preventing you from accessing your documents, consider switching to WPS Office. It provides an independent, stable cloud drive and seamless local file management without complex OS-level account dependencies.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install and Launch: Run the installer and open WPS Office once the installation is complete.
- 3. Create a WPS Account: Sign in with your email or a third-party account to instantly access your free WPS Cloud storage and start editing documents.

Frequently Asked Questions
Why does File Explorer keep asking for my old Microsoft account password?
This usually happens because Windows caches old credentials in the Credential Manager, or your Windows user profile is still improperly linked to a previous Microsoft account.
How can I remove an old Microsoft account from Windows?
Go to Windows Settings > Accounts > Email & accounts. Select the old account you want to remove and click 'Remove'. You may also need to clear saved passwords in the Windows Credential Manager.
Can I use OneDrive without signing in on File Explorer?
Yes. You can bypass the File Explorer integration entirely by visiting OneDrive.com in your web browser and logging in there to access, download, or upload your files.




