Fix Windows 11 PIN Not Working: Quick Guide
In this article
If your PIN is not working on Windows 11, the issue is usually caused by a temporary system glitch, corrupted security components, or a mismatch between the local authentication service and Microsoft’s servers. The most effective immediate fix is to restart your computer to clear temporary caches, followed by resetting the Windows Hello infrastructure if the problem persists. You will need access to your Microsoft account password as a fallback login method.
What You'll Need
- A Windows 11 PC with administrative privileges
- Your Microsoft account password (in case you must switch back to password login)
- A stable internet connection for syncing account changes
Step-by-Step
- Restart Your Computer: This is the simplest and most common fix. Click Start > Power > Restart. Wait for the machine to fully boot up. Try entering your PIN again. If it works, the issue was a temporary cache error.
- Verify Internet Connection: Windows Hello PINs often rely on cloud verification for the first sign-in after a reboot or update. Ensure you are connected to Wi-Fi or Ethernet. If you see an offline icon, reconnect before trying to log in.
- Switch to Password Login: At the sign-in screen, click "Sign-in options." Select the key icon (Password) instead of the keypad icon (PIN). Enter your Microsoft account password. This allows you to bypass the broken PIN temporarily to perform fixes inside Windows.
- Delete Corrupted PIN Files: Once logged in via password, press
Win + R, typeC:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc, and press Enter. If prompted for admin rights, confirm. Delete all files in this folder. These are the cached PIN data; deleting them forces Windows to recreate them fresh. Note: This removes your current PIN, so you will need to set up a new one afterward. - Reset Windows Components: Open Command Prompt as Administrator (search "cmd" in Start, right-click > Run as administrator). Type
net stop wlidsvcand press Enter. Then typenet stop CryptSvcand press Enter. Next, rename the Ngc folder to backup it: typeren C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc Ngc.oldand press Enter. Finally, restart the services by typingnet start CryptSvcandnet start wlidsvc. - Re-register Your PIN: Go to Settings > Accounts > Sign-in options. Under "Windows Hello PIN," click "Remove." Confirm the removal. Then click "Set up" to create a new PIN. Follow the prompts to verify your identity and choose a new code.
- Check Group Policy (Enterprise/Pro Users): If you are on Windows 11 Pro or Enterprise, open
gpedit.msc. Navigate to Computer Configuration > Windows Components > Credential Manager. Ensure "Allow users to log on using biometrics" and related policies are not disabling PIN access. If unsure, leave these at default.
Common Mistakes
Users often try to reset the PIN without first deleting the corrupted Ngc folder. If the old corrupted files remain, Windows may reject the new PIN attempt repeatedly. Another mistake is attempting to fix the PIN while offline; cloud-dependent PINs require an active connection during initial setup or after major updates. Additionally, some users confuse the Microsoft account password with the local user password; ensure you are entering the correct credential when switching sign-in options.
Tips
Always keep your Microsoft account password handy when troubleshooting Windows Hello issues. If you frequently encounter PIN failures, consider enabling a secondary sign-in method like a fingerprint or face recognition (if your hardware supports it) as a backup. Regularly updating Windows 11 helps prevent bugs in the authentication subsystem. Avoid using complex special characters in your PIN if possible, as some older security modules handle non-alphanumeric codes inconsistently.
Troubleshooting
If the steps above do not resolve the issue, try these additional measures:
Run System File Checker: Open Admin Command Prompt and type sfc /scannow. This repairs corrupted system files that might affect authentication.
Check for Updates: Go to Settings > Windows Update and install any pending updates. Bug fixes for Hello often arrive here.
Disable Fast Startup: Go to Control Panel > Hardware and Sound > Power Options > Choose what power buttons do. Uncheck "Turn on fast startup" and save changes. This prevents deep hibernation states from locking authentication services.
Safe Mode: Boot into Safe Mode to see if third-party antivirus software is blocking the PIN service. If the PIN works in Safe Mode, disable or uninstall recent security software.
Frequently Asked Questions
Why does my PIN work sometimes but not others?
This usually indicates a connectivity issue or a corrupted cache. If it fails after a restart, check your internet connection. If it fails randomly, delete the Ngc folder as described in Step 4.
Can I use my Microsoft account password instead of a PIN permanently?
Yes. In Settings > Accounts > Sign-in options, you can remove the PIN entirely and stick to password authentication. However, PINs are generally faster and more secure for local access.
Does resetting the PIN delete my personal files?
No. Deleting the Ngc folder or removing the PIN only affects the authentication method. Your documents, photos, apps, and settings remain completely intact.
What if I forgot my Microsoft account password?
You must reset it online at account.microsoft.com. Without it, you cannot verify your identity to set up a new Windows Hello PIN. Use another device to recover it if locked out.
Is the PIN different from my BIOS password?
Yes. The Windows PIN is for logging into the operating system. A BIOS/UEFI password is set at the motherboard level and appears before Windows loads. They are unrelated.
Why does Windows say 'Something went wrong' when setting a new PIN?
This error typically means the Ngc folder permissions are corrupted or the Windows Identity Foundation service is not running. Running the command prompt steps in Section 2 usually resolves this.