Windows Hello: "Something went wrong" and the PIN is refused
The container that holds the Hello credential is unreadable or no longer matches the account, so the PIN cannot be used.
What you see
The sign-in screen offers the PIN and rejects it, or offers only "Set up my PIN" which then fails. Common after a TPM clear, a domain change or a profile restore.
What is actually wrong
The NGC container is bound to the TPM and to the account. Clearing the TPM, rejoining the domain or restoring a profile from another machine breaks that binding, and the container has to be rebuilt.
Codes and articles
Fixes (2)
Get back in without the PIN
The PIN is the only option shown.
Click "Sign-in options" below the PIN box — the password option is there but not shown by default when a PIN exists.
If the account is a Microsoft account and the password is not known, reset it at account.live.com from another device first.
If only the PIN is offered and the password option is absent, the machine may be configured for passwordless sign-in. Use "I forgot my PIN", which authenticates against the account online and issues a new one.
On a domain machine with no network, a cached password sign-in still works — connect it to the network if the account has never signed in here before.
Rebuild the Hello container
You can sign in another way and want the PIN working again.
Try the supported route first: Settings → Accounts → Sign-in options → PIN → I forgot my PIN. This re-provisions cleanly and is enough most of the time.
If that fails, take ownership of the NGC folder and clear it. Note the folder is protected, so this needs the permission change first.
takeown /f C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /r /d yicacls C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /grant administrators:F /t
Remove the container contents.
Remove-Item 'C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc\*' -Recurse -ForceThis deletes every Hello credential on the machine, for every user — not just the broken one. Everyone will have to set their PIN up again, so it is worth telling them before rather than after.
Restore the default permissions on the folder afterwards.
icacls C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc /reset /tRestart and set up the PIN again from Settings.
Get-Tpm | Format-List TpmReady,TpmPresentRelated faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.