Can't Sign In to Windows? 10 Ways to Fix a Login That Won't Accept Your Password (2026)

You sit down, type the password you have used a hundred times, and Windows tells you it is wrong.

T

Technobezz

Senior Editor

Jun 2, 2026
11 min read

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered weekly. Join 50,000+ readers.

You sit down, type the password you have used a hundred times, and Windows tells you it is wrong. Maybe the box shakes, maybe a PIN field appears instead, or maybe the screen never settles long enough to let you type at all. A login that refuses to cooperate feels like being locked out of your own house, but in most cases the cause is small and fixable. Work through these fixes in order, easiest and safest first, and you will get back in without losing your files.

Start With a Restart and a Caps Lock Check

Before assuming anything is broken, restart the machine. Microsoft's first recommendation is exactly that, because restarting your device can clear temporary system errors that interfere with sign-in. If your PC offers updates while you are at it, select Update and restart rather than just rebooting.

When the login screen returns, slow down and retype carefully. Passwords are case-sensitive, so confirm Caps Lock is off and check that you are not typing into an on-screen keyboard set to the wrong language. A single mistyped capital or a stray keyboard layout is the most common reason a correct password gets rejected.

Make Sure You Are Not Confusing Your PIN and Password

Windows can ask for a PIN or a password depending on how the account is set up, and many people enter one when the screen actually wants the other. If you normally sign in with a PIN and it is no longer working, look for the I forgot my PIN option directly below the PIN box.

Select it and follow the prompts to verify your identity and set a new PIN. Once you are signed back in, you can change the PIN any time from Settings > Accounts > Sign-in options. The fastest way to open that page is to type or paste ms-settings:signinoptions after pressing the Windows key.

Confirm the Right Account and a Live Connection

If the computer has more than one account, it is easy to type the correct password into the wrong profile. Look at the lower-left of the sign-in screen and select the correct account, or choose Other user if the account you want is not listed.

A Microsoft account often needs internet access to verify your credentials. Select Network on the lock screen to confirm you are online. If Wi-Fi is unavailable, run an Ethernet cable straight to the router and re-seat it firmly, then try the password again. Connectivity problems can make a perfectly valid password appear to fail.

Reset a Forgotten Microsoft Account Password From Another Device

If you sign in with a Microsoft account, meaning an email address, and the password genuinely will not work, you can reset it from a phone or a second computer. Open Microsoft's account-recovery tool at go.microsoft.com/fwlink/?linkid=2273955, enter the username for the account you are trying to reset, and follow the on-screen flow to verify your identity with a code and set a new password.

If you know the password but it has simply stopped working, use Microsoft's Sign-in Helper to diagnose what is going wrong with the account itself.

Reset a Local Account Using Your Security Questions

A local (offline) account does not use an email address, so the online recovery flow does not apply. Instead, you can reset the password right at the sign-in screen if you set up security questions when you created the account. After a failed attempt, choose the reset option and answer the security questions you set up at account creation, then set a new password.

If you created a password reset disk earlier, you can choose Use a password reset disk instead and follow the on-screen instructions. Note that a reset disk only works if it was made beforehand for this specific local account, so it is worth checking for these options before doing anything more drastic.

Boot Into Safe Mode When the Lock Screen Itself Misbehaves

Sometimes the password box never appears, or the screen flickers and will not let you type. Safe Mode loads Windows with a minimal set of drivers, which can get you past a broken sign-in surface and tell you whether your password is actually correct.

  1. 1.Select Power > Restart, or at the sign-in screen hold the Shift key while selecting Power > Restart.
  2. 2.Go to Troubleshoot > Advanced options > Startup Settings > Restart.
  3. 3.On the Startup Settings screen, select 5 or press F5 for Safe Mode with Networking.

If your password lets you in here, you know the password itself is fine and the trouble lies elsewhere in the sign-in setup, which narrows down what to fix next.

Escape a Temporary Profile and Return to Your Real One

If Windows greets you with the message We can't sign in to your account, it has loaded a temporary profile and signed you in with that one. This is a warning sign, not a permanent state. Anything you save while on the temporary profile is lost when you sign out, so do not save important files there.

The fix is to restart and sign back in to your original profile, and sometimes you may need to restart more than once. You can also restart into Safe Mode and sign in to check whether your real profile and your files come back. In most cases a reboot or two restores your normal account.

Repair Windows System Files With DISM, Then SFC

If you can reach a desktop, whether your own account or another administrator account, but the sign-in components stay flaky, corrupted system files may be the culprit. Two built-in repair tools fix this, and the order matters.

First, open an elevated Command Prompt. Type cmd in the Search box, right-click Command Prompt in the results, then select Run as administrator. Run the DISM command first, because it fetches the files needed to repair your corrupted system files:

  1. 1.Run DISM.exe /Online /Cleanup-image /Restorehealth and wait until you see The operation completed successfully.
  2. 2.Then run sfc /scannow in the same window.

The System File Checker scans protected system files and replaces corrupted ones with a cached copy. Do not close this Command Prompt window until the verification is 100% complete, or the repair may be left unfinished.

Create a Fresh User Profile and Move Your Files Across

When only one account is affected and a reboot will not clear it, the profile itself may be corrupted. The remedy is to build a clean account and copy your files into it. First, add a new user account and configure it as an administrator, then sign in to it.

  1. 1.In File Explorer, go to C:\Users\<Old_Username>.
  2. 2.Select all of the files and folders in this folder, then copy them.
  3. 3.Open C:\Users\<New_Username>.
  4. 4.Paste the copied files into the new folder.

Important: Do not change File Explorer view options to show hidden files and folders or to show hidden protected operating system files while you do this, because copying those system files can carry the corruption into the new profile. After the copy finishes, restart and sign in as the new user. Email and some apps may need to be reconfigured in the fresh profile.

Run Startup Repair From the Recovery Environment as a Last Resort

If Windows cannot reach a usable sign-in screen at all, the Windows Recovery Environment offers an automated fix. When you restart your PC, press and hold the Shift key while you select Power > Restart to enter recovery.

From there, choose Troubleshoot > Advanced options > Startup Repair. This tool automatically scans for and fixes problems such as missing or damaged system files and corrupted boot data, which can be what is preventing the login screen from working. Note: if you have encrypted your device, you will need your BitLocker key to complete this task, so locate it before you begin.

Frequently Asked Questions

Why does Windows say my password is wrong when I know it is correct?

The usual reasons are case-sensitivity, Caps Lock being on, or an on-screen keyboard set to the wrong language, so retype carefully after a restart. A Microsoft account can also reject a valid password when the PC is offline, so confirm your connection by selecting Network on the lock screen. If those check out, you may be entering a password when Windows is asking for a PIN, or vice versa.

How do I reset my password if I forgot it completely?

For a Microsoft account, use the recovery tool at go.microsoft.com/fwlink/?linkid=2273955 from another device to verify your identity with a code and set a new password. For a local account, use the reset option at the sign-in screen and answer your security questions, or use a password reset disk if you made one earlier.

Does Safe Mode help when I cannot sign in?

Yes. Safe Mode with Networking loads Windows with minimal drivers and can get you past a broken lock screen. Reach it through Troubleshoot > Advanced options > Startup Settings > Restart, then select 5 or press F5. If your password lets you in there, you know the password itself is correct.

What does "We can't sign in to your account" mean?

It means Windows could not load your normal profile and signed you in with a temporary one instead, and files saved there are lost at sign-out. Restart, sometimes more than once, and sign back in to your original profile; you can also restart into Safe Mode to check whether your real profile and files return. Avoid saving anything important while on the temporary profile.

Will repairing system files delete my files?

No. Running DISM.exe /Online /Cleanup-image /Restorehealth followed by sfc /scannow only repairs or replaces corrupted Windows system files and does not touch your personal documents. Just run them from an elevated Command Prompt in that order and leave the window open until verification reaches 100%.

Share