Smart Systems for Home

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

Windows 10/11 PIN Not Working? Fixed (Step-by-Step)

· 5 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

If your Windows 10 or 11 PIN suddenly stops working, the quickest fix is to restart your PC, then sign in with your Microsoft account password or local account password, and then remove and re-add the PIN. If that doesn't work, you'll need to delete the PIN database files or use the "I forgot my PIN" recovery link. Below is the full step-by-step guide.

What You'll Need

  • Your Microsoft account password (or local account password) to sign in when the PIN fails.
  • Administrator access to your PC (to delete system files if needed).
  • A stable internet connection (for Microsoft account verification).

Step-by-Step

Step 1: Restart and Sign In with Password

  1. Click the power icon on the sign-in screen and select Restart.
  2. After restart, on the sign-in screen, click Sign-in options and choose the Password icon (keyboard icon).
  3. Enter your account password. If you have a Microsoft account, use your Microsoft account password; if local, use your local password.
  4. Once signed in, go to Settings (Win + I) > Accounts > Sign-in options.
  5. Under PIN (Windows Hello), click Remove and confirm. This will delete the current PIN.
  6. Then click Add and follow the prompts to set up a new PIN. You may need to verify your account password again.

Step 2: Use "I forgot my PIN" (If You Can't Sign In)

  1. On the sign-in screen, click I forgot my PIN (or PIN forgotten).
  2. You'll be redirected to a Microsoft account verification page. Enter your Microsoft account password and follow the prompts (may include a code sent to your email or phone).
  3. Once verified, you'll be able to set a new PIN immediately.

Step 3: Delete the PIN Database (If Steps 1–2 Fail)

  1. Sign in with your password (as in Step 1).
  2. Open File Explorer and navigate to: C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc. You may need to enable viewing hidden files and folders (View > Options > View > Show hidden files).
  3. Right-click the Ngc folder and select Properties. Go to the Security tab, click Advanced, and change the owner to your user account (click Change, type your username, check names, OK).
  4. After taking ownership, grant yourself Full control (in the same Advanced Security settings, click Add, select principal, give full control).
  5. Now delete the contents of the Ngc folder (or the folder itself if allowed).
  6. Restart your PC. Windows will recreate the folder automatically. Then go to Settings > Accounts > Sign-in options and set up a new PIN.

Step 4: Check for Windows Updates and System File Corruption

  1. Open Settings > Windows Update and click Check for updates. Install any pending updates and restart.
  2. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin) or Windows Terminal (Admin)).
  3. Run sfc /scannow and wait for completion.
  4. Then run DISM /Online /Cleanup-Image /RestoreHealth. This may take a while.
  5. Restart and try setting up a new PIN.

Common Mistakes

  • Not signing in with the correct password: If you have a Microsoft account, the password is the one you use for Outlook/email, not a local account password.
  • Deleting the Ngc folder without taking ownership: You'll get an access denied error. Always take ownership first.
  • Skipping the restart after removal: Changes may not take effect until you restart.
  • Using the wrong sign-in options icon: The password icon looks like a keyboard, not a fingerprint or face.

Tips

  • Always keep your Microsoft account password written down or stored securely.
  • If you use a local account, ensure you remember the password hint.
  • After fixing the PIN, consider setting up a recovery email or phone number for your Microsoft account to avoid lockouts.
  • If you have BitLocker enabled, you may need your recovery key when changing PIN settings—keep it safe.

Troubleshooting

If the above steps didn't work, try these additional checks:

  • Check if the PIN is actually disabled: Go to Settings > Accounts > Sign-in options and see if the PIN section is greyed out. If so, you may need to enable Windows Hello first.
  • Create a new local administrator account: If you can't sign in at all, restart in Safe Mode (Shift + Restart from sign-in screen, then Troubleshoot > Advanced options > Startup Settings > Restart > press 4). Then create a new local admin account via Control Panel > User Accounts.
  • Reset your PC: As a last resort, you can reset Windows while keeping your files (Settings > System > Recovery > Reset this PC > Keep my files). This will remove apps and settings but keep personal files. It will also remove the PIN, so you'll set it up again.
  • Contact Microsoft Support: If nothing works, visit the official Microsoft support website for further assistance.

Frequently Asked Questions

Why did my PIN stop working suddenly?

Common causes include Windows updates, corrupted PIN database files, or changes to your Microsoft account password. Sometimes the PIN becomes invalid if the system's security policies change.

Can I reset my PIN without my password?

No, you need your account password to reset the PIN. If you forgot your password, you'll need to reset it using Microsoft's online recovery process (for Microsoft accounts) or use a password reset disk (for local accounts).

Will deleting the Ngc folder affect my files?

No, the Ngc folder only contains PIN-related data. Deleting it will not touch your personal files, but it will remove the current PIN, and you'll need to set up a new one.

What if I'm using a local account and forgot the password?

You'll need to use a password reset disk if you made one, or you may have to reinstall Windows (which erases all data). Microsoft account password reset is easier because you can do it online.

Why does the PIN option not appear in Settings?

This can happen if Windows Hello is not set up or your device doesn't support it. Check if your PC has a TPM (Trusted Platform Module) and that Windows Hello is enabled in the same Settings page.

Is there a way to bypass the PIN entirely?

Yes, you can remove the PIN and use only a password. After signing in with your password, go to Settings > Accounts > Sign-in options and remove the PIN. You can also disable the lock screen requirement entirely via Settings > Accounts > Sign-in options > "If you've been away, when should Windows require you to sign in?" set to Never.