If you see the error 0x80090027 when trying to set up or use a Windows PIN, it means the system’s Credential Guard or the NGC (Next Generation Credentials) service couldn’t process your request, often due to corrupted security keys or a recent system change. The fix usually involves resetting the Windows Hello PIN through the Settings app or clearing the NGC folder in File Explorer, then restarting your PC. Below, we explain why this happens and walk you through the most reliable solutions.
What Is Error 0x80090027?
Error 0x80090027 is a Windows Hello-related error code. It appears when the operating system fails to read or write the cryptographic keys that protect your PIN. The PIN itself is not stored on your device; instead, Windows creates a key pair that is tied to your device’s Trusted Platform Module (TPM) chip. When that key becomes corrupted, or when the system’s security policies block the NGC service, Windows throws this error.
You might see this error in several situations:
- When trying to set up a PIN for the first time after a Windows update.
- After changing your Microsoft account password or security settings.
- When the user profile folder has been renamed or moved.
- After using third-party system cleanup tools that delete essential security files.
Why Does This Error Happen?
The most common cause is a corrupted NGC folder. This folder (located at C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc) contains the cryptographic keys for Windows Hello. If these keys are damaged, Windows cannot verify your PIN. Another frequent trigger is a recent Windows update that changes security policies, or a conflict with third-party antivirus software that interferes with the TPM.
In some cases, the error is caused by a misconfigured Group Policy. For example, if an administrator disabled Windows Hello for Business, the standard PIN setup may fail with this error. Similarly, if your device is joined to a domain and the domain policy requires a specific PIN complexity, a mismatch can trigger the error.
Fix 1: Reset the PIN from Settings
The simplest fix is to remove and re-add your PIN. This forces Windows to generate a new set of cryptographic keys.
- Open Settings (Win + I) and go to Accounts > Sign-in options.
- Click on Windows Hello PIN.
- Click Remove (you may need to verify your account password).
- Restart your PC.
- Go back to Sign-in options and click Add under Windows Hello PIN.
- Follow the prompts to set up a new PIN.
If the Remove button is grayed out, you can try the next fix.
Fix 2: Delete the NGC Folder
If the Settings method fails, you can manually delete the NGC folder. This forces Windows to recreate the security keys from scratch.
- Press Win + R, type
services.msc, and press Enter. - Find Windows Hello Face and Windows Hello PIN services. Right-click each and select Stop.
- Open File Explorer and navigate to
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft. - Right-click the Ngc folder and select Delete. (If you get a permission error, you may need to take ownership of the folder.)
- Restart your PC. Windows will recreate the folder automatically.
- Go to Settings > Accounts > Sign-in options and set up a new PIN.
Warning: Deleting the NGC folder will remove your existing PIN, so you’ll need to sign in with your password afterward. It also clears any biometric data (fingerprint or face) tied to Windows Hello.
Fix 3: Use Group Policy to Re-enable Windows Hello
If the error persists, a Group Policy setting may be blocking Windows Hello. To check:
- 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 Enabled or Not Configured, then click OK.
- Restart your PC.
Note: Group Policy Editor is only available on Windows Pro, Enterprise, or Education editions. On Windows Home, you can skip this fix.
Fix 4: Run the System File Checker
Corrupted system files can also cause this error. Run the built-in System File Checker to repair them:
- Open Command Prompt as administrator (right-click Start and select Command Prompt (Admin) or Windows PowerShell (Admin)).
- Type
sfc /scannowand press Enter. - Wait for the scan to finish (it may take 15-20 minutes).
- If it finds errors, restart and run the scan again.
You can also run DISM /Online /Cleanup-Image /RestoreHealth to repair the Windows image before running SFC.
Frequently Asked Questions
Will I lose my files if I delete the NGC folder?
No. The NGC folder only contains Windows Hello cryptographic keys, not your personal files. Deleting it will only remove your PIN and biometric sign-in options. Your documents, photos, and other data remain untouched.
Can I use my Microsoft account password instead of a PIN?
Yes. You can always sign in with your Microsoft account password. To switch, go to Settings > Accounts > Sign-in options and choose Password as the primary method. However, a PIN is more secure and faster, so it’s worth fixing the error.
Why does the error appear after a Windows update?
Windows updates sometimes change security policies or reset the NGC service. If the update corrupts the existing keys, the error appears. The fixes above usually resolve it. If not, you can try uninstalling the latest update, but only as a last resort.
Is there a way to bypass the error and use a password only?
Yes. You can disable Windows Hello entirely via Group Policy (as shown in Fix 3) or by setting the AllowWindowsHelloForSecurity registry key to 0. However, this removes the PIN option, and you’ll need to use your password or a picture password instead.
What if none of these fixes work?
If the error persists, you may need to create a new user account. This is a drastic step, but it often resolves deep profile corruption. Go to Settings > Accounts > Family & other users, add a new user, and sign in with that account. You can then transfer your files.
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
- How to Turn Off Shutter Sound on iPhone
- VPN Setup on iPhone SE: Step-by-Step Guide
- Fix Internet Not Working on Windows 11
- How to Limit Ad Tracking on iPhone Apps
- Fix Right Click Not Working in Firefox
- Compare Two Columns with Comma Separated Values in Excel