sodcalculator

10 Tech How-To

Fix Username or Password Incorrect in Windows 10

Guide 10-56755 · Updated · Step by step

The “username or password is incorrect” error in Windows 10 usually means the credentials you typed don’t match what the system expects, but it can also appear when your password is actually correct. The fix depends on whether you’re signing into a local account, a Microsoft account, or a domain account, and it often involves resetting the password, checking the keyboard layout, or using a hidden administrator account.

Why Windows Says Your Password Is Incorrect

Windows 10 checks your password against a stored hash, not the plain text. If the hash doesn’t match, you get the error. But the message is misleading because it also appears for account problems that have nothing to do with the password itself:

  • Caps Lock or Num Lock is on, so the characters you type aren’t what you intend.
  • The keyboard language changed, so keys like Y and Z are swapped, or symbols produce different characters.
  • The account is locked out after too many failed attempts, and Windows shows the same generic message.
  • The Microsoft account password was changed online, but the PC hasn’t synced the new credential yet.
  • The local account password was changed by another user or a previous reset, and you’re typing the old one.
  • You’re entering a PIN into the password field, or vice versa, which never works.

Before doing anything drastic, try the simplest checks: press Caps Lock once to turn it off, look at the on-screen keyboard to see which language is active, and type your password into a text editor to see exactly what characters appear.

Sign In With Your Microsoft Account Password

If you set up Windows 10 with a Microsoft account (the email address you use for Outlook, Xbox, or Office), the password you type at the login screen is the same one you use for that online account. It is not a separate Windows password.

  1. Go to account.live.com/password/reset from any device.
  2. Choose “I forgot my password” and follow the steps to verify your identity via email, phone, or an authenticator app.
  3. Once you set a new password online, wait a minute, then try it on the PC.
  4. If the PC is offline, it may still accept the old cached password. Connect to the internet, then try again.

If you can’t reset the Microsoft account because you lost the recovery email or phone, you’ll need to go through Microsoft’s account recovery form, which asks for details like previous passwords and subject lines of emails you sent. This can take a day or two.

Reset a Local Account Password

Local accounts are separate from Microsoft accounts. They store the password only on that PC. If you forgot it, you have a few options depending on what you have access to.

If you have another admin account on the PC:

  1. Sign in with that other admin account.
  2. Open Settings > Accounts > Family & other users.
  3. Select the locked account and click Change next to the password.
  4. Enter a new password twice, then sign out and use it.

If you don’t have another admin account: you’ll need to use the hidden built-in Administrator account. Restart the PC, and at the login screen, hold Shift and click the power icon then Restart. This opens the recovery environment. From there, go to Troubleshoot > Advanced options > Command Prompt. In the command prompt, type:

net user administrator /active:yes

Then restart normally. You should see an Administrator account on the login screen. Sign in with a blank password (if it was never set), then open Command Prompt as admin and run:

net user YourUsername NewPassword

After that, restart and sign in with the new password. This method works on most Windows 10 editions, but it requires you to be at the physical machine and able to reach the recovery environment.

Fix the Issue Without Resetting the Password

Sometimes the password is correct, but Windows still rejects it. Try these before you reset anything:

  • Restart the PC. A hung process can sometimes cause authentication to fail temporarily.
  • Check the keyboard layout. Click the language icon in the bottom-right of the login screen and make sure it’s set to the correct language. If you have multiple layouts, switch to the one that matches your keyboard.
  • Use the on-screen keyboard. Click the accessibility icon (the person with a circle) on the login screen and select “On-Screen Keyboard”. Type your password by clicking the keys, which eliminates keyboard hardware or driver issues.
  • Try the PIN instead of the password. If you set up a PIN, use that. The PIN is stored locally and doesn’t change when your Microsoft account password changes.
  • Disconnect from the internet. If you use a Microsoft account and the PC can’t reach Microsoft’s servers, it may fall back to cached credentials. Sometimes a network glitch causes a false rejection.

What to Do If You See “The username or password is incorrect” on a Domain PC

If your PC is joined to a work or school domain, the error usually means your domain password expired or was changed. You can’t reset it locally. You need to contact your IT department or use the “Reset password” link on the login screen if your organization enabled self-service. Before calling, double-check that you’re typing the username in the correct format, like DOMAIN\username or username@domain.com, depending on your organization’s setup.

How to Avoid This Problem in the Future

Prevention is easier than recovery. Set up multiple sign-in options while you still have access:

  • Add a PIN. Go to Settings > Accounts > Sign-in options and set up a PIN. It’s local, fast, and doesn’t change when your online password changes.
  • Set up security questions for your local account. If you forget the password, you can answer these to reset it from the login screen.
  • Use a password manager to store your Microsoft account password so you don’t have to remember it.
  • Keep your recovery email and phone number current on your Microsoft account. This is the fastest way to recover a forgotten online password.

Frequently Asked Questions

Why does Windows say my password is incorrect when I know it’s right?

Most often it’s a keyboard layout issue, Caps Lock, or a stale Microsoft account sync. Try the on-screen keyboard, check the language icon, and restart the PC. If you changed your Microsoft account password on another device, give it a few minutes to sync, then try again.

Can I reset my Windows 10 password without a password reset disk?

Yes. If you have another admin account, use Settings to change the password. If you don’t, you can activate the hidden built-in Administrator account via the recovery environment’s Command Prompt, as described above. This works on most Windows 10 installations.

What’s the difference between a PIN and a password in Windows 10?

A PIN is tied to the specific device and is stored locally. A password (for a Microsoft account) is stored online and can be used on any device. If you forget your Microsoft password, you can reset it online. If you forget your PIN, you can reset it from the login screen by clicking “I forgot my PIN,” but you’ll need your Microsoft account password to do so.

Will resetting my Microsoft account password lock me out of my files?

No. Your files are encrypted with a recovery key that’s tied to your Microsoft account, not the password itself. After you reset the password, you can sign in normally. If you have BitLocker enabled, you may need your recovery key, which is stored in your Microsoft account under Devices.

How many times can I try the wrong password before Windows locks me out?

Windows 10 doesn’t have a fixed number for local accounts by default. For Microsoft accounts, after about 10 failed attempts, the account may be temporarily locked for a short period. For domain accounts, the IT department sets the policy, often 3-5 attempts.

Is there a way to bypass the login screen without the password?

No legitimate way exists for a standard user. The methods that work require physical access and either another admin account or the recovery environment. Bypassing the login without authorization is not supported and can be a security risk. If you own the PC, use the reset methods described above.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →