Windows 11 PIN Not Working? How to Fix Sign-In Errors
Windows Hello PIN problems tend to arrive at the worst possible moment: the laptop reboots after an update, you type a PIN you have used for months, and the screen answers with "Something went wrong and your PIN isn't available" plus a code like 0xd0000072. The good news is that this is almost never a corrupted account. The PIN lives in a separate container from your password, and the fix is usually a controlled reset of that container. This guide walks through the diagnosis and every repair path in the order that does the least damage, with the actual menu paths, commands, and error codes you will see.
What the PIN errors actually mean
Before clicking anything, read the error code. Each of the common codes points at a different layer of the sign-in stack, and picking the wrong fix wastes a reboot cycle. Windows Hello stores PIN data in the TPM (Trusted Platform Module) chip and a protected local folder called NGC. An error can come from the TPM refusing a request, from the NGC folder being unreadable, from a policy change, or simply from an expired credential on a Microsoft account.
| Code shown on screen | What it usually means | Where to start |
|---|---|---|
| 0xd0000072 | The PIN credential on the device no longer matches the account; common after a motherboard or TPM change | Reset the PIN (Step 2), NGC clear if it loops |
| 0xc000005b | The credential file in the NGC folder is unreadable or partially written | NGC folder clear (Step 4) |
| 0x801c03ed / 0x801c0006 | The device can no longer reach or re-register with the account (Microsoft account or domain/Azure AD join issue) | Check account connectivity and re-register (Step 5) |
| 0x8009002d | The TPM is rejecting the operation; often after BIOS updates or TPM clear | Check TPM status (Step 5), then re-create PIN |
| "You've entered an incorrect PIN too many times" | Not a fault - a lockout after repeated wrong entries, typically 3 attempts on consumer devices | Wait out the lockout window, then use "I forgot my PIN" |
Step 1 - Confirm the failure is the PIN, not the account
On the lock screen, click Sign-in options under the password field. You should see several tiles: the face/fingerprint option if your device has biometrics, the PIN tile, and a password key icon. Switch to the password tile and sign in with your Microsoft account password. Two outcomes are possible, and they lead to different fixes.
If the password works, the account is healthy and the problem is confined to the PIN container. That is the common case, and Steps 2 through 4 will resolve it. If the password is also rejected, you have an account-level problem: the device may have lost its connection to the Microsoft account, or the local profile is damaged. In that situation, do not keep guessing passwords; the lockout counter applies to passwords too. Get online first (the lock screen has a network icon in the corner), because a Microsoft account password check requires connectivity on a device that has not cached credentials recently.
Step 2 - Reset the PIN from the lock screen
Switch back to the PIN tile and look for I forgot my PIN underneath the input box. On consumer devices this link opens the reset flow directly. Enter your account password when prompted, confirm any verification code sent to your recovery email or phone, and then Windows asks you to create a new PIN. Choose something you have not used before; Windows keeps a short history of recent PINs and will reject a reused one.
This path is the least invasive because it goes through Microsoft's identity servers rather than touching the local credential store by hand. It works when the NGC data is merely stale (error 0xd0000072 is its signature). The important boundary case: if you created the account as a local account rather than a Microsoft account, there is no server to reset against. Local accounts only get a PIN reset if a security-question answer was set up beforehand. If you never configured security questions and cannot sign in at all, the recovery options narrow to restoring from a recovery drive or performing the clean-install path documented in our clean install walkthrough.

Step 3 - Reset from Settings when you are signed in
If you can still sign in with a password (Step 1 succeeded), the cleanest reset happens inside Windows. Open Settings > Accounts > Sign-in options > PIN (Windows Hello). Click Remove this sign-in option, confirm with the account password, wait about ten seconds, then click Set up on the same screen and create the PIN again.
The remove-and-recreate sequence is deliberate. Windows rebuilds the NGC entry from scratch during "Set up", which produces a fresh credential tied to the current TPM state. Simply re-entering an old PIN does not do this. After the new PIN is created, restart the machine and sign in with it once before trusting it; a PIN that survives a full reboot has been committed properly, while one that only worked immediately after setup has a history of failing at the next restart.
Step 4 - Clear the NGC folder when the reset loops
Sometimes the reset fails silently: you complete "I forgot my PIN", the new PIN is accepted, and at the next boot the same error returns. That loop usually means the NGC folder itself is unreadable, so every new PIN is written into a container the TPM cannot later read back. The repair is to clear the folder and let Windows rebuild it.
You need to be signed in with an administrator account. Open File Explorer, enable View > Show > Hidden items, and navigate to:
C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc
Windows will deny deletion even for administrators on the first attempt, because the folder belongs to the LocalService account. To take ownership, open Terminal (Admin) from the Start button and run these commands in order:
takeown /f C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc /r /d y
icacls "C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc" /grant Administrators:F /t
Then delete the contents of the Ngc folder (not the folder itself). Reboot, go to Settings > Accounts > Sign-in options, and set the PIN up again. The first setup after an NGC clear takes a few seconds longer than usual because Windows is provisioning a new TPM-backed credential.
Step 5 - Fix the underlying causes so it does not come back
A PIN that breaks once is bad luck. A PIN that breaks every few weeks has a structural cause, and three of them cover most repeat cases.
First, check the TPM. Press Win+R, run tpm.msc, and confirm the panel says the TPM is ready for use with specification version 2.0. If the status says the TPM is in a reduced-functionality mode, or the readiness shows errors, PINs will keep failing because the credential is sealed against TPM state. A BIOS update that clears or reconfigures the TPM is the usual trigger; if you just flashed a BIOS, expect to re-create the PIN once and treat it as normal.
Second, check the system clock. Sign-in tokens carry timestamps, and a clock that is off by more than about five minutes (common after a dead CMOS battery on desktop machines) can make the identity service reject valid credentials. Verify the date and time at Settings > Time & language, and enable automatic time sync.
Third, if the device is joined to a work or school account, the organization may push policies through Intune that control PIN complexity, expiry, or history. The relevant switches live in the Windows Hello for Business policy rather than local Settings, and a policy change can invalidate PINs fleet-wide on a specific date. If colleagues report the same failure on the same morning, this is the cause, and the fix belongs to your IT administrator, not to the local NGC folder.
Boundary cases and failure troubleshooting
The "I forgot my PIN" link is missing. That happens when the device cannot reach the internet, or when the account is local with no security questions. Get online from the lock screen first; the link only appears when the reset flow can contact the identity service.
Safe Mode rejects the PIN. Windows Hello credentials are intentionally unavailable in Safe Mode. Sign in there with your account password, not the PIN. This is by design, not a new fault, and people often mistake it for the original problem returning.
You never set a password, only a PIN. A Microsoft account always has a password, so use the password tile. A purely local account can be passwordless in Windows 11; in that case, after an NGC clear there is no fallback credential, and recovery requires the reset options in the account settings or external recovery media. This is exactly why we recommend keeping a working password alongside the PIN.
The PIN box is greyed out entirely. Check whether "For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device" was toggled on in Sign-in options, or whether a group policy removed the option. Toggle it off, reboot, and the PIN tile returns.
Biometrics stopped too. Face and fingerprint credentials live in the same NGC/TPM container as the PIN. If clearing NGC fixed the PIN but broke face unlock, simply re-enroll the face data; that is expected, not a regression.
Where to go next
Sign-in trouble is often the first visible symptom of a bigger storage or system-health issue, and it is worth ruling those out while the machine is in front of you. If reboots and update failures have been appearing alongside the PIN errors, work through our guide to fixing a stuck or failed Windows update, because a half-applied servicing stack can corrupt credential containers as a side effect. If the machine also shows slowdowns, check SSD and drive health with our diagnostic walkthrough, since failing storage commonly produces exactly this class of "something went wrong" errors at boot. And if you are already planning a bigger repair, our step-by-step clean install of Windows 11 from USB is the documented fallback that resolves PIN problems permanently by removing the old container entirely.
Editorial review
- First published
- Last reviewed
- Applies to
- Diagnosing and fixing Windows Hello PIN sign-in errors on Windows 11 (error code table, lock-screen and Settings reset paths, NGC folder rebuild, TPM and time checks, managed-device boundary cases)
- Reviewed by
- The TechFix Guide editorial team
New guide. Verified the Sign-in options tiles on the Windows 11 lock screen, the Settings path Accounts > Sign-in options > PIN, the takeown/icacls command syntax against the NGC path C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc, tpm.msc status fields, and the Safe Mode PIN-unavailable behavior against Windows 11 24H2.
Menu paths, option names and file paths in this guide were checked against the version named above. We do not claim to have tested every brand of hardware, so if your build shows something different, tell us and we will correct the page. How we check our guides · Report an error