How to Fix ‘Something Went Wrong and Your PIN Isn’t Available’ in Windows 11

Attempting to sign in to a Windows 11 workstation only to be stopped by the lock screen alert “Something went wrong and your PIN isn’t available. Click to set up your PIN again” locks users out of their desktops. This error (frequently accompanied by error code 0xd000a002 or 0x80090027) occurs when Windows Hello security keys stored inside the Trusted Platform Module (TPM) lose synchronization with local user identity credentials. This failure typically stems from motherboard BIOS updates resetting TPM states, corrupted files inside the system Ngc directory, or interrupted Windows cumulative updates.

Sign In Using Password or Alternative Sign-in Options

Before modifying system directory permissions, switch to an alternative authentication method to access the desktop environment.

  1. On the lock screen displaying the PIN error, click Sign-in options (located directly beneath the PIN input box).
  2. Click the Key icon to select Password sign-in.
  3. Enter your Microsoft Account password or local account password and press Enter.
  4. If you can log in successfully, navigate directly to Settings > Accounts > Sign-in options, expand PIN (Windows Hello), click Remove, and then click Set up to register a fresh PIN.

Boot into Safe Mode with Networking

If alternative sign-in options do not appear and you cannot bypass the lock screen, booting into Safe Mode provides access to diagnostic command consoles.

  1. On the lock screen, hold down the Shift key on your keyboard while clicking the Power icon in the bottom-right corner and selecting Restart.
  2. The computer will reboot into the Windows Recovery Environment (WinRE).
  3. Navigate to: Troubleshoot > Advanced options > Startup Settings and click Restart.
  4. Upon reboot, press 4 or F4 to enter standard Safe Mode (or 5 for Safe Mode with Networking).
  5. In Safe Mode, Windows disables third-party credential providers and allows standard password authentication.

Take Ownership and Clear the Ngc Folder

Windows Hello stores encrypted cryptographic credentials inside a protected system folder named Ngc. Deleting the corrupted contents of this folder forces Windows to recreate a clean security container.

  1. Once logged into Windows (or via Safe Mode Command Prompt), press Windows Key + R, type cmd, and press Ctrl + Shift + Enter to run as administrator.
  2. Take ownership of the protected Ngc directory by running:
    takeown /f "C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc" /r /d y
    icacls "C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc" /grant administrators:F /t
  3. Delete all files and folders inside the Ngc container:
    rmdir /s /q "C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc"
  4. Restart your computer into normal mode.
  5. Open Settings > Accounts > Sign-in options, click PIN (Windows Hello), and configure a new security PIN.

Verify and Clear the TPM (Trusted Platform Module)

If cryptographic keys within the hardware TPM chip have desynchronised, clearing the TPM security state resets hardware attestation tables.

  1. Press Windows Key + R, type tpm.msc, and press Enter to open the TPM Management console.
  2. Verify that the status reads: The TPM is ready for use.
  3. Under the Actions pane on the right side, click Clear TPM….
  4. Confirm the prompt. Your computer will reboot and display a UEFI confirmation screen asking to verify TPM clearing (press F12 or Volume Up depending on motherboard prompts).
  5. Once Windows boots, log in with your account password and configure Windows Hello afresh.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.