Switching a local account to a Microsoft account in Windows 11 is supposed to take a minute: you click “Sign in with a Microsoft account instead“, sign in, and confirm your current Windows password one last time. On some PCs, though, that last step won’t take the password and says “The password you entered for your device is incorrect“, even when it’s the exact password you sign in with every day, or it ends with a “We made a mistake” message and the account stays local. This guide will explain why Windows rejects it and how to get the switch to go through.
Also see: Can’t login to Windows, Password in another language

Why does the switch to a Microsoft account fail?
The switch starts in Settings > Accounts > Your info, and the “Sign in with a Microsoft account instead” link only shows up when you’re signed in with a local account. After your Microsoft email and password are accepted, Windows asks for your current Windows password to tie the two together, and that’s where it usually goes wrong. The common reasons are:
- The wrong password goes in the box. The “We’ll need your current Windows password one last time” prompt wants the password of the local account you’re signed in to right now. It’s not your Microsoft account password, and it’s not your PIN.
- The local password Windows has on file is out of step. Windows can refuse the local password even though it works at the lock screen. This can start after the Microsoft account’s password is changed, and Event Viewer’s LiveId log then shows error 0x80041012.
- The local account has no password at all. You’re meant to leave the box empty, but some PCs won’t accept an empty box.
- A policy blocks Microsoft accounts. A PC set up by a seller, a school or an employer can be set so local accounts can’t be connected to Microsoft accounts.
Type the local account’s password, not the Microsoft one
Windows asks for two different passwords during the switch, one after the other, and it’s easy to mix them up. The first sign-in window wants your Microsoft account email and password. The second prompt, the one that says “one last time”, wants the password you type to sign in to this PC’s local account.
Here’s how to do it:
- Open Settings and go to Accounts > Your info.
- Click “Sign in with a Microsoft account instead“.

- Enter your Microsoft account email and password in the sign-in window.

- When you see “We’ll need your current Windows password one last time“, type the password of your local account. If your local account doesn’t have a password, leave the box empty and click Next.

- Follow the rest of the prompts, then sign out and sign back in when Windows asks you to.
Once Windows shows “Sign out and finish” and you sign back in, the account is connected to your Microsoft account.
Might be useful: How to Change Administrator Email on Windows 11
Set a new password for the local account and try again
If Windows keeps saying the password is incorrect even though you’re sure it’s right, give the local account a new password and use that one. This resets the password Windows has on file for the account, and it’s what fixed it when error 0x80041012 showed up in the LiveId log, with no repair or reinstall needed. It’s also one of the fixes that keeps coming up on Microsoft’s forums for this problem.
To set a new password for your local account, follow the steps below:
- Open Settings and go to Accounts > Sign-in options.
- Click Password to expand it, then click Change.

- Type your current password and click Next.

- Type a new password, then finish the wizard.
- Go back to Accounts > Your info and click “Sign in with a Microsoft account instead” again.
- At the “one last time” prompt, type the new local password.
You can also press Ctrl + Alt + Del and choose “Change a password” to do the same thing. If the account had no password, leave the old password field blank and type the new one.
What if a password keeps getting refused?
You can try it the other way round. Remove the local account’s password instead (change it, type the old one, and leave the new password fields empty), then restart the PC. If it goes straight to the desktop, the account really has no password. Now start the switch again and leave the “one last time” box empty. It doesn’t always work on the first try, and sometimes it only goes through after the PC has been left with no password for a while.
Related guide: How to Auto Login Windows 11 Without Password or PIN
Check if a policy is blocking Microsoft accounts
Windows has a security policy called “Accounts: Block Microsoft accounts“. When it’s set to “Users can’t add Microsoft accounts” or “Users can’t add or log on with Microsoft accounts“, you can’t connect a local account to a Microsoft account from Settings. Microsoft recommends leaving it disabled, but a PC from a seller, a school or an employer may have it turned on.
Please note that the Local Security Policy editor is only in the Pro, Education and Enterprise editions of Windows 11. On a work or school PC, this is your organization’s setting, so ask its IT department instead of changing it.
To check the policy, follow the steps below:
- Press Win + R, type “secpol.msc” and press Enter.
- Go to Security Settings > Local Policies > Security Options.
- Find “Accounts: Block Microsoft accounts” in the list. If its Security Setting says “Not Defined” or “Disabled“, the policy isn’t what’s stopping the switch. Otherwise, double-click it.

- Select “This policy is disabled“, then click OK.

The change takes effect right away, without a restart. Try the switch again from Accounts > Your info.
Add the Microsoft account as a new user instead
When nothing gets the switch to go through, you can sign in with your Microsoft account as a separate user on the same PC and move your files over. It’s more work than a switch, since your settings and some apps won’t carry over, but you get a Microsoft account on this PC with your files on it.
Here’s what to do:
- Open Settings and go to Accounts > Other Users.
- Click Add account next to “Add other user”, and sign in with your Microsoft account.

- Make the new account an administrator if it’s going to be your main account.
- Sign out, sign in with the Microsoft account, and copy your files from your old account’s folder in
C:\Users\.
For the steps to make it an administrator, see: Give Admin Permission/Rights to User in Windows 11/10. Once everything is moved, you can remove the old local account, or keep it as a spare.
Repair Windows as a last resort
If none of the above helped, a repair install of Windows 11 is the last thing to try. It reinstalls Windows over itself and keeps your files and apps. Back up your important files first anyway.
To run the repair, follow the steps below:
- Open Settings and go to System > Recovery.
- Next to “Fix problems using Windows Update“, click Reinstall now.

- Let it download and reinstall Windows, then try the switch again.
Learn more: “Reinstall your current version of Windows” Message
If Windows Update can’t do it, download the Windows 11 ISO from Microsoft’s website, open it, and run its setup from inside Windows. That’s an in-place upgrade, and it does the same repair.







