Change your password through Settings on Windows 10 and 11

The fastest way to change your password is through the Settings app. Open Settings by pressing the Windows key and typing "settings," then click the Settings app. Go to Accounts in the left menu, then select Sign-in options. Under the "Password" section, click Change.

Windows will ask you to enter your current password first. Type it in and click Next. Then create your new password — Windows requires at least 8 characters, and it's stronger if you mix uppercase letters, lowercase letters, numbers, and symbols. Enter the new password twice to confirm you typed it correctly, add a password hint if you want one (though don't make it too obvious), and click Next. Windows will confirm the change was successful.

This method works whether you use a Microsoft account or a local account on your computer. If you use a Microsoft account, the password change syncs across all your devices that use that account.

Key Takeaways

  • Open Settings, go to Accounts, select Sign-in options, and click Change under Password to update your Windows login.
  • Your new password must be at least 8 characters and is stronger when it includes uppercase, lowercase, numbers, and symbols mixed together.
  • If you forget your new password immediately after changing it, you can undo the change within a few minutes by going back to Sign-in options.
  • Changing your Windows password does not automatically change passwords for email, social media, or other websites — those need separate updates.
  • If you use a Microsoft account, your new password will sync to other devices signed in with that same account within a few hours.

What happens if you forget your new password right after changing it

If you realize you made a typo or can't remember the password you just created, Windows gives you a short window to undo the change. Go back to Settings > Accounts > Sign-in options and look for an option to revert or undo the password change — this usually appears within a few minutes of the change. Click it and enter your old password to restore access.

After that window closes (usually within 5 to 10 minutes), you'll need to use your password hint or recovery options to regain access. This is why writing down your new password in a secure place before you click "Finish" is a practical step.

Using Command Prompt if Settings won't open

If the Settings app is frozen or won't respond, you can change your password through Command Prompt. Press the Windows key, type "cmd," right-click Command Prompt, and select Run as administrator. Type the command net user [your username] * and press Enter — replace [your username] with your actual Windows username.

Windows will prompt you to enter a new password. Type it in and press Enter, then type it again to confirm. You won't see the characters as you type — that's normal. Once confirmed, the password is changed immediately. This method works for local accounts; if you use a Microsoft account, use the Settings method instead.

The difference between a strong password and a weak one

A weak password uses only lowercase letters or only numbers, or repeats the same character multiple times — like "password123" or "1111111111". These are fast to guess because attackers use automated tools that try common patterns first. A strong password mixes character types and avoids dictionary words entirely.

An example of a stronger password is "Tr0pic@lSunset42" — it has uppercase and lowercase letters, a number, a symbol, and no dictionary words. You don't need to make it long (though longer is generally better), but the mix of character types matters more than length alone. A 12-character password with only lowercase letters is weaker than an 8-character password with mixed types.

The goal is to make your password hard to guess by automated tools while still being something you can remember without writing it down in an obvious place. If you use a password manager like Bitwarden or 1Password, you can create much longer, more random passwords because the manager remembers them for you.

Why you should change your password periodically

Changing your Windows password every few months reduces the window of time an attacker could use a compromised password. If someone obtained your old password through a data breach at another website, a regular password change means they can't use it forever. This is especially important if you reused that password across multiple sites — changing your Windows password limits the damage if one of those other accounts was breached.

You don't need to change it constantly; security experts generally recommend every 3 to 6 months for a personal computer. If you work in a corporate environment, your IT department may have stricter requirements. The real protection comes from using a unique, strong password in the first place and changing it when you suspect it's been compromised.

Changing your password does not change passwords for other accounts

Your Windows password only controls access to your computer. It does not change your password for email, social media, banking, or any other website or service. If you want to update those passwords too, you need to change them separately on each site.

This is actually a good thing — if someone guesses your Windows password, they can't automatically access your email or bank account. But it also means you have to remember or manage multiple passwords. If you use the same password across different sites, change all of them when you change your Windows password, because they're all at risk if one site was breached.

What to do if you're locked out of your account

If you can't remember your Windows password at all and the undo window has closed, you'll need to use your recovery options. If you set up a recovery email or phone number when you created your account, Windows can send you a reset link. On the login screen, click I forgot my password and follow the prompts to verify your identity through email or phone.

If you don't have a recovery email set up and you're using a local account (not a Microsoft account), you may need to reset Windows or use a password reset disk if you created one earlier. This is more complicated and may require help from someone with administrator access to the computer. This is why setting up recovery options before you need them is worth the few minutes it takes.

Frequently Asked Questions

Can I change my password if I'm not the administrator?

Yes. Any user account can change its own password through Settings > Accounts > Sign-in options. You only need administrator access if you're trying to change someone else's password or reset a forgotten password on the computer.

Will changing my Windows password log me out of everything?

No. You stay logged in after you change your password. The new password takes effect the next time you log in. If you're using a Microsoft account, you may be asked to sign in again on some apps within a few hours as the password syncs across devices.

What if I use a PIN instead of a password?

You can change your PIN through the same Settings > Accounts > Sign-in options menu. Click Change under PIN instead of Password. You'll enter your current PIN, then create a new one. A PIN is usually 4 to 6 digits, though you can make it longer if you want.

Does Windows save my old passwords?

No. Windows does not keep a record of your previous passwords. Once you change it, the old password stops working immediately. If you forget your new password, you can't recover the old one — you'll need to use your recovery email or phone number to reset it.