When starting or unlocking a Windows 11 computer, encountering the message “Something went wrong and your PIN isn’t available” alongside error code 0xd000a002 blocks desktop access. This error occurs within the Windows Hello authentication subsystem, signifying that the cryptographic container responsible for storing and decrypting your PIN – managed by the Next Generation Cryptography (NGC) service and the motherboard’s Trusted Platform Module (TPM) – has become corrupted, unreadable, or de-synchronised.
Sign In with Password or Alternate Sign-in Options
Before modifying system files, access the Windows desktop using an alternative authentication method.
- On the Windows 11 lock screen, locate the blue Sign-in options link positioned directly beneath the PIN entry field.
- Click the link to reveal available authentication methods.
- Select the Key icon to sign in using your standard Microsoft Account password or local account password.
- Enter your password and press Enter to access your desktop.
Clear and Rebuild the NGC Security Folder
Windows Hello stores encrypted PIN credentials inside a hidden system directory named NGC. Deleting the contents of this folder forces Windows to generate a fresh, uncorrupted security container.
- Press Windows Key + E to open File Explorer.
- Click View on the top toolbar, hover over Show, and ensure Hidden items is ticked.
- Navigate to the following directory path:
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\ - Locate the folder named NGC. Right-click it and select Properties.
- Navigate to the Security tab and click Advanced.
- Click Change next to the Owner line, type your Windows username, click Check Names, and click OK.
- Tick the box labelled Replace owner on subcontainers and objects, then click Apply and OK.
- Double-click the NGC folder to open it, select all files and folders inside (Ctrl + A), and press Delete.
- Restart your computer.
Reconfigure Windows Hello PIN in Settings
Once the NGC container has been purged, create a fresh PIN through Windows 11 Settings.
- Press Windows Key + I to open Settings.
- Navigate to Accounts in the left sidebar and select Sign-in options.
- Click on PIN (Windows Hello) to expand the section.
- Click Set up (or Remove followed by Add).
- Verify your identity by entering your Microsoft Account password.
- Enter a new PIN, confirm it in the secondary box, and click OK.
Clear TPM Cryptographic Keys via Device Security
If error 0xd000a002 persists after rebuilding NGC, the cryptographic keys stored on the motherboard’s TPM 2.0 security chip may be desynchronised.
- Press Windows Key + S, type Windows Security, and press Enter.
- Click on Device security in the left pane.
- Under the Security processor heading, click Security processor details.
- Click Security processor troubleshooting.
- Under the Clear TPM section, click the Clear TPM button.
- Click Clear and restart. Your computer will reboot and prompt you during UEFI/BIOS post to confirm clearing the TPM keys (typically by pressing F12 or F1).
- Once Windows boots back up, configure your PIN afresh under Account Settings.
Restart the IPsec and Credential Manager Services
Windows Hello relies on the CNG Key Isolation and Credential Manager services to validate security tokens during login.
- Press Windows Key + R, type services.msc, and press Enter.
- Locate CNG Key Isolation in the list. Double-click it, ensure its Startup type is set to Manual, and verify that the service status indicates Running.
- Locate Credential Manager. Ensure its startup type is set to Manual and the status is Running.
- Close the Services window and restart Windows 11 to test PIN unlocking.