How to Fix Cannot Change OneDrive or Windows Login Account
Question details
The user is unable to change their Windows or OneDrive login account because the system repeatedly requests the credentials of a former account.

- Product
- Windows / OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to sign in to OneDrive or Windows with the correct, updated Microsoft account credentials.
- Observed behavior
- Windows continuously prompts for a previous account's credentials during sign-in, even though the Microsoft account website displays the correct updated account information.
Ensure you have administrator privileges on your computer and make sure you have the correct email address and password for your new Microsoft account ready.
Create a Local Windows Account to Remove the Old Microsoft Account
By creating a temporary local account, you can safely sign out of the stuck profile, remove the stubborn Microsoft account, and then link your correct account.
Windows sometimes heavily integrates the initial Microsoft account into the primary user profile, causing a login loop when trying to switch accounts directly. Transitioning through a local account breaks this cycle.
Press Windows + R on your keyboard, type 'netplwiz' in the Run dialog box, and press Enter to open the User Accounts window.
Click the 'Add' button. On the next screen, look at the bottom and choose the option 'Sign in without a Microsoft account (not recommended)'.
Click on 'Local account'. Enter a new username, password, and password hint for this local account, then click 'Next' and 'Finish'.
Sign out of your current Windows session. From the lock screen, select the new local account you just created and sign in.
Go to Settings > Accounts > Email & accounts (or Family & other users). Locate the old Microsoft account, click on it, and select 'Remove'.
Once the old account is removed, go to Settings > Accounts > Your info and select 'Sign in with a Microsoft account instead' to link your correct email address.

Try WPS Office as Your Lightweight Productivity Suite
Dealing with Microsoft account login loops and forced OneDrive syncing can be frustrating. If you want a hassle-free document editing experience, consider switching to WPS Office. It provides a seamless, free alternative that doesn't force complex account integrations just to work on your files locally.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installer.
- 2. Install the Software: Run the setup file and follow the on-screen instructions for a quick installation.
- 3. Start Creating: Open WPS Office and instantly start editing your existing Microsoft Office documents.

Frequently Asked Questions
Why does Windows keep asking for my old Microsoft account password?
This happens when the old Microsoft account is still tied to your primary Windows user profile. Windows prioritizes the original administrative account's credentials until it is completely unlinked via the Settings menu.
Will I lose my OneDrive files if I remove the old account from Windows?
Your files remain safely stored in the cloud on your OneDrive account. However, any locally synced files tied strictly to the old user profile might become inaccessible, so back up important files locally before switching accounts.
How can I verify which Microsoft account is currently linked?
You can check your active account by navigating to Settings > Accounts > Your info. This page will display the email address and profile picture currently associated with your active Windows session.




