If Windows 11 won’t let you set up a PIN, the problem is usually a corrupted NGC folder, a misconfigured Group Policy, or a pending Windows Update. You can fix it by clearing the PIN cache, resetting Windows Hello settings, or running a few built-in troubleshooters — all without reinstalling Windows.
Why Windows 11 PIN Setup Fails
Windows 11 uses a PIN as part of Windows Hello, which is tied to your Microsoft account and the device’s Trusted Platform Module (TPM). When you try to set a PIN, the system writes encrypted data to a folder called NGC (Next Generation Credentials) inside C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft. If that folder is corrupted, has wrong permissions, or is locked by another process, the setup wizard either crashes, shows “Something went wrong,” or simply does nothing after you click OK.
Other common triggers include:
- Group Policy settings that disable Windows Hello for Business (even if you’re a home user).
- Pending Windows updates that leave the credential service in an inconsistent state.
- Third-party security software that blocks access to the TPM or the NGC folder.
- An outdated or faulty TPM driver.
Before You Start: Check These Basics
First, make sure your account is set up correctly. A PIN only works if you’re signed in with a Microsoft account (or a local account that has a password). If you’re using a local account without a password, Windows may not offer the PIN option at all — you’ll need to set a password first.
Also, verify that your TPM is working. Open Device Manager (right-click the Start button) and expand Security devices. You should see Trusted Platform Module 2.0 with no warning icon. If it’s missing or has an error, update the driver from the manufacturer’s website or check your BIOS settings to enable it.
Finally, make sure Windows is fully updated. Go to Settings > Windows Update and click Check for updates. Install any pending updates and restart before trying again.
Fix 1: Delete the NGC Folder (Most Common Fix)
The NGC folder stores your PIN and Windows Hello data. Deleting it forces Windows to recreate it from scratch. This is safe — you’ll just need to set up your PIN again.
- Press Win + R, type
services.msc, and press Enter. - Find Windows Hello Face Recognition and Windows Hello Fingerprint services. Right-click each and select Stop (if they’re running).
- Open File Explorer and navigate to
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft. You may need to enable View > Show > Hidden items to see theAppDatafolder. - Right-click the NGC folder and rename it to NGC.old (if you can’t rename, take ownership first — right-click > Properties > Security > Advanced > Change owner to your user account).
- Restart your PC, then go to Settings > Accounts > Sign-in options and try setting up a PIN again.
If the folder is locked, boot into Safe Mode and repeat the steps.
Fix 2: Use the Windows Hello Troubleshooter
Windows 11 includes a dedicated troubleshooter for Windows Hello issues.
- Open Settings > System > Troubleshoot > Other troubleshooters.
- Find Windows Hello (or Windows Hello Face) and click Run.
- Follow the prompts — it will detect and fix common problems automatically.
If you don’t see it, run the generic Accounts troubleshooter as well.
Fix 3: Reset Windows Hello via Group Policy (Pro/Enterprise)
If you’re on Windows 11 Pro or Enterprise, a Group Policy setting might be blocking PIN setup. Even on Home, the policy can be present if you’ve ever joined a domain or used certain security tools.
- Press Win + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Hello for Business.
- Double-click Use Windows Hello for Business. Set it to Not Configured or Enabled (if it’s currently Disabled).
- Also check Turn off Windows Hello for Business — make sure it’s Not Configured.
- Close the editor and run
gpupdate /forcein an elevated Command Prompt.
For Home users, you can use the registry instead. Navigate to HKLM\SOFTWARE\Policies\Microsoft\PassportForWork and delete the Enabled value (or set it to 1).
Fix 4: Re-register Windows Hello and Check TPM
Sometimes the Windows Hello biometric stack gets out of sync. You can re-register it via PowerShell.
- Right-click the Start button and select Terminal (Admin).
- Run this command:
Get-PnpDevice -Class Biometric | Enable-PnpDevice -Confirm:$false(if any device is disabled). - Then run:
Get-PnpDevice -Class SecurityDevices | Enable-PnpDevice -Confirm:$false. - Restart and try again.
If the TPM is the issue, open TPM Management (type tpm.msc in Run). It should say “The TPM is ready for use.” If not, clear the TPM from your BIOS (this will reset all encryption keys — back up anything protected by BitLocker first).
Fix 5: Create a New User Account
If none of the above works, the problem may be your user profile. Create a new local administrator account, sign in to it, and try setting a PIN there. If it works, you can migrate your files and settings. If it fails on the new account too, the issue is system-wide — try a repair install using the Windows 11 ISO (keep files and apps).
Frequently Asked Questions
Why does Windows 11 say “Something went wrong” when I try to set a PIN?
This generic error usually means the NGC folder is corrupted or the Windows Hello service can’t write to it. The NGC folder fix above resolves it in most cases. If not, check that your TPM is enabled and that you haven’t disabled Windows Hello via Group Policy.
Can I set up a PIN without a Microsoft account?
Yes, but only if your local account has a password. If your local account has no password, Windows won’t allow a PIN because it’s used as a replacement for the password at sign-in. Set a password first, then try the PIN option.
Will deleting the NGC folder delete my fingerprints or face data?
Yes, it removes all Windows Hello data — PIN, fingerprint, and face recognition. You’ll need to set them up again. Your files and apps are not affected.
Is a PIN less secure than a password?
No. A PIN is tied to the specific device and the TPM, so it’s actually more secure against remote attacks. Someone can’t steal your PIN and use it on another machine. It also supports more complex characters if you enable them.
Why is the PIN option grayed out in Settings?
This usually means Windows Hello is disabled by policy or the TPM is not available. Check Group Policy (as described above) and verify TPM is enabled in BIOS. Also, ensure you’re using an administrator account — standard users can’t change sign-in options without admin approval.
Do I need a PIN to use Windows Hello?
Yes, the PIN is the fallback for Windows Hello biometric sign-ins. Even if you use face or fingerprint, you must set a PIN first. If you can’t set one, you can’t use any Windows Hello feature.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Hogwarts Legacy Microsoft Visual C Runtime Error Fix
- Set Up UPI Payments Through WhatsApp
- Pair Oppo Enco Earbuds with Android, iPhone & Windows
- Fix Administrator Account Disabled Error in Windows 11
- How to Play Kodi on Smart TV from PC
- Factory Reset on Samsung Galaxy: What It Erases