Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Reset Forgotten Windows 11 PIN Without Losing Data

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can reset a forgotten Windows 11 PIN without losing any files, apps, or settings. The PIN is stored locally on your device, and resetting it does not touch your personal data. The easiest method is to use the “I forgot my PIN” link on the sign-in screen, which verifies your Microsoft account or local account password. If that fails, you can use your Microsoft account online, or as a last resort, use the Windows Recovery Environment (WinRE) to access advanced options — all without erasing your data.

What You'll Need

  • Access to your Microsoft account password (if you use a Microsoft account) or your local account password.
  • A second device (phone or another computer) to receive a verification code if you use two-step verification.
  • Internet connection (for Microsoft account verification).
  • Your device must be plugged in if the battery is low.

Step-by-Step

  1. Try the “I forgot my PIN” link on the sign-in screen. On the Windows 11 lock screen, click “I forgot my PIN” below the PIN entry box. This is the most direct method and does not require any extra tools.
  2. Verify your identity. Windows will ask you to sign in with your Microsoft account password (or local account password). If you use a Microsoft account, you may also need to enter a code sent to your recovery email or phone number. Follow the on-screen prompts.
  3. Create a new PIN. After verification, Windows will take you to the “Set up a PIN” screen. Choose a new PIN (at least 4 digits, but you can make it longer). Confirm it, and you'll be signed in with the new PIN. Your files and apps remain untouched.
  4. If the link is not available or doesn't work, use your Microsoft account online. On any device, go to account.microsoft.com and sign in with your Microsoft account credentials. If you don't remember the password, use the “Forgot password” link and follow the recovery steps (email, phone, or authenticator app). Once signed in, you don't need to change anything online — just return to your PC.
  5. Restart your PC and try the “I forgot my PIN” link again. Sometimes a fresh sign-in attempt after verifying your account online clears the issue. If the link still doesn't appear, sign in with your Microsoft account password (if you know it) by clicking “Sign-in options” and choosing the key icon. Once signed in, go to Settings > Accounts > Sign-in options, click “PIN (Windows Hello)”, then “Change” and follow the prompts to set a new PIN.
  6. If you don't know your Microsoft account password either, reset it online first. Follow the password reset process at account.live.com/password/reset. After resetting, use the new password to verify and set a new PIN as described above.
  7. If you're using a local account and forgot the password, you'll need to use the Windows Recovery Environment (WinRE). This is more advanced and should be a last resort, but it does not delete your files. Restart your PC and press the power button three times to force shutdown when the Windows logo appears. On the third restart, Windows will enter WinRE.
  8. In WinRE, go to Troubleshoot > Advanced options > Startup Settings. Click “Restart”. After restart, press 4 or F4 to boot into Safe Mode.
  9. In Safe Mode, sign in with the built-in Administrator account. This account is often disabled by default, but if it's enabled, you'll see it on the sign-in screen. If not, you may need to use a different method (see Troubleshooting). Once signed in, open Control Panel > User Accounts, select your account, and click “Change the password”. Set a new password, then restart normally.
  10. After restarting normally, sign in with the new password. Then go to Settings > Accounts > Sign-in options and set a new PIN under “PIN (Windows Hello)”. Your data is safe throughout this process.

Common Mistakes

  • Using the wrong Microsoft account. If you have multiple Microsoft accounts, make sure you're using the one tied to your Windows login. You can check by looking at the email shown on the lock screen (if it displays).
  • Skipping the verification code. If you have two-step verification enabled, you must enter the code sent to your phone or email. Check your spam folder if you don't see it.
  • Forcing shutdown too many times. The three-time shutdown trick works, but doing it more than three times may cause Windows to show automatic repair instead of WinRE. If that happens, choose “Advanced options” from the repair screen.
  • Trying to reset the PIN via Command Prompt without proper permissions. Some online guides suggest using net user commands, but these often fail in WinRE because the system drive is not accessible. Stick to the Safe Mode method.

Tips

  • Always keep your Microsoft account password written down in a safe place. Since the PIN is tied to your account, knowing the password is the simplest recovery path.
  • Use a PIN that's easy to remember but hard to guess. Avoid birthdays or simple sequences like 1234. You can also enable “Include letters and symbols” in PIN settings for a stronger PIN.
  • Set up a security key or fingerprint as an alternative sign-in. This gives you a backup if you forget the PIN.
  • If you have a recovery drive or installation media, create one beforehand. It can help in advanced recovery scenarios, but it's not necessary for PIN reset.

Troubleshooting

  • “I forgot my PIN” link is not visible. This can happen if you're offline or if Windows Hello is not fully set up. Connect to the internet, then restart. If it still doesn't appear, sign in with your password (if known) and reset the PIN from Settings.
  • Verification code not received. Check your phone's signal, spam folder, or use a different verification method (e.g., authenticator app). If you have no access to the recovery methods, you may need to use the online account recovery form, which can take up to 24 hours.
  • Safe Mode doesn't show the Administrator account. By default, the built-in Administrator is disabled. You can enable it by booting from a Windows installation USB and using Command Prompt, but that's more complex. Alternatively, you can use a third-party password reset tool (from a trusted source) that allows you to reset the local account password without data loss. Only use reputable tools.
  • WinRE doesn't appear after three shutdowns. If you see the spinning dots, wait for Windows to try to boot, then force shutdown again. If you still don't get to WinRE, you can create a Windows 11 installation USB on another PC and boot from it, then choose “Repair your computer”.
  • After resetting the PIN, you're still prompted for the old PIN. Restart your PC completely. If the issue persists, sign in with your password and check that Windows Hello is enabled in Settings > Accounts > Sign-in options.

Frequently Asked Questions

Will resetting my PIN delete my files?

No. Resetting the PIN only changes the sign-in credential. Your files, apps, and settings remain exactly as they were.

Can I reset my PIN without a Microsoft account password?

If you have a Microsoft account, you must verify your identity with the password or a recovery code. If you've forgotten the password too, you can reset it online using the account recovery process. For a local account, you'll need to use Safe Mode or a password reset tool.

What if I don't have access to my recovery email or phone?

You'll need to go through the Microsoft account recovery form (account.live.com/acsr), which asks for details like previous passwords and subject lines of emails. It can take a few hours to a day. For a local account, you may need to use a third-party password reset tool.

Is the “I forgot my PIN” link always available?

It appears on the lock screen when Windows Hello PIN is enabled. If you're offline or the link is missing, you can still sign in with your password and change the PIN from Settings.

Can I use a command prompt to reset the PIN?

There is no built-in command to reset a Windows Hello PIN directly. You can reset the local account password via Command Prompt in Safe Mode, but the PIN must be changed through the Settings app after signing in.

Will this work if I use a work or school account?

If your device is managed by an organization, the PIN might be managed by IT policies. In that case, you may need to contact your IT administrator. The “I forgot my PIN” link might not work for managed devices.