Sign-in & Login Problems

How to Fix Cannot Change OneDrive or Windows Login Account

Kushani NimanthikaKushani Nimanthika Oct 28, 2026 870 views

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.

How to Fix Inability to Change OneDrive or Windows Login 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.
Before you start

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.

Solution 1Recommended

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.

1
Open User Accounts Tool

Press Windows + R on your keyboard, type 'netplwiz' in the Run dialog box, and press Enter to open the User Accounts window.

2
Add a New Account

Click the 'Add' button. On the next screen, look at the bottom and choose the option 'Sign in without a Microsoft account (not recommended)'.

3
Create the Local Account

Click on 'Local account'. Enter a new username, password, and password hint for this local account, then click 'Next' and 'Finish'.

4
Sign In to the Local Account

Sign out of your current Windows session. From the lock screen, select the new local account you just created and sign in.

5
Remove the Old Account

Go to Settings > Accounts > Email & accounts (or Family & other users). Locate the old Microsoft account, click on it, and select 'Remove'.

6
Connect the Correct Microsoft Account

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.

Create a Local Windows Account to Remove the Old Microsoft Account
Account Switched: After linking the correct Microsoft account, OneDrive and Windows should now recognize your updated credentials without prompting for the old ones.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS website and download the free WPS Office installer.
  2. 2. Install the Software: Run the setup file and follow the on-screen instructions for a quick installation.
  3. 3. Start Creating: Open WPS Office and instantly start editing your existing Microsoft Office documents.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.No forced Microsoft account login required for basic offline document editing.Lightweight installation that runs smoothly without heavy background syncing.Familiar user interface making migration from Microsoft Office seamless.
microsoft office alternative - wps office

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.