Turning on the PC and not remembering the password is more common than it seems, especially if you have used a PIN or fingerprint for months. Before thinking about reinstalling, there are several official ways to get back in. Which one works depends on a detail: whether you sign in with a Microsoft account or a local account.
In short
- Microsoft account (you sign in with an email): reset online, from the sign-in screen or another device.
- Local account: use security questions, another administrator account or a reset disk.
- Forgetting the PIN is not the same as forgetting the password: the PIN is easier to change.
- If nothing works, you can reset the PC, at the risk of losing data.
- This guide is for the computer’s owner, with official methods.
First: what kind of account do you have?
Look at the sign-in screen:
- If an email address appears under your name (or setup asked for an email), it is a Microsoft account.
- If only a name shows, without email, it is most likely a local account.
On Windows 11 most new computers use a Microsoft account, because setup requires it.
PIN or password?
Windows Hello lets you sign in with a PIN that only works on that machine. The password is your account’s. If you forgot the PIN, click Sign-in options › I forgot my PIN: it asks for your Microsoft account password and lets you create a new one.

Microsoft account: reset the password online
The easiest case, because the password lives in your account, not on the PC.
From the Windows sign-in screen
- On the sign-in screen click I forgot my password (under the password field or after a failure).
- Type the verification characters.
- Choose where to receive the code: alternate email, SMS or the Authenticator app.
- Enter the code and type a new password.
- Sign in with it. The computer needs an internet connection.
From another device
If the PC has no internet or the link does not appear, use your phone or another computer:
- Open
account.live.com/password/resetin the browser. - Type your email, phone or Skype name.
- Follow the same steps: verification code and new password.
- Connect the PC to the internet (by cable if possible) and sign in with the new password.
If you cannot access any verification method, Microsoft offers an account recovery form from the same page. It asks details only the owner knows and review can take a while.

Local account: three options
With a local account the password only exists on the PC. Options depend on what you prepared.
1. Security questions
Since Windows 10, creating a local account with a password asks for three security questions.
- Type any password and press
Enter. - After the error, click Reset password.
- Answer the three questions.
- Type a new password.
2. Another administrator account
If there is another account with administrator rights on the machine (a relative’s, say), that person can set a new password for yours:
- Sign in with the administrator account.
- Open Control Panel › User Accounts › Manage another account.
- Choose your account and click Change the password.
You can also do it from a Terminal (Admin):
net user YourAccountName *
It asks for the new password twice without showing it. If the console is new to you, review basic CMD and PowerShell commands. To learn about Windows’ built-in administrator, see enable the administrator user in Windows. Note: enabling it already needs a session with rights.
Important: when an administrator changes another local account’s password, that account loses access to EFS-encrypted files, certificates and Windows-saved passwords. It does not affect normal use (documents, photos).
3. Password reset disk
If you once created a reset disk on a USB, now is the time:
- Connect the USB.
- After the password fails, click Reset password and choose Use a password reset disk.
- Follow the wizard and create a new password.
This disk only works with local accounts and must be created before you forget: Control Panel › User Accounts › Create a password reset disk.
Method comparison
| Method | Account type | What you need | Lose data? |
|---|---|---|---|
| Online reset | Microsoft | Recovery email or phone | No |
| I forgot my PIN | Microsoft | The account password | No |
| Security questions | Local | Remember the answers | No |
| Another administrator | Local | Another account with rights | No (except EFS) |
| Reset disk | Local | USB made earlier | No |
| Reset the PC | Any | Access to recovery environment | Possibly |

Last resort: reset the PC
If nothing works, you can return Windows to its initial state from the recovery environment:
- On the sign-in screen click the power button, hold Shift and choose Restart.
- Go to Troubleshoot › Reset this PC.
- Choose Remove everything. Without signing in, this is usually the available option.
If the disk is encrypted, Windows asks for the BitLocker recovery key. You will lose files not backed up or in the cloud. You can also do a clean install with a Windows 11 install USB.
How to prevent it happening again
- Check your Microsoft account has an up-to-date recovery email and phone.
- With a local account, create a reset disk today and keep it.
- Store the password in a password manager.
- Have a second administrator account on the computer with its own password.
Frequently asked questions
Are there programs to remove the Windows password? Third-party tools exist but are not official and some tamper with system files. With these methods you do not need them, and if the disk is encrypted they will not work without the key.
Can I get in through Safe Mode without a password? No. Safe Mode also requires signing in with an account on the machine.
I changed the password online and the PC still accepts the old one. The computer has not synced. Connect it to the internet and try the new one; it can take a few minutes.
Can I switch from a Microsoft to a local account to avoid this? Yes, under Settings › Accounts › Your info, click Sign in with a local account instead. But you lose online reset, so make a reset disk.



