Fix: "0xc00000bb" Error - PIN Unavailable on Windows? Here's How to Restore Access
If you are encountering the frustrating error message that states “Something went wrong and your PIN isn’t available” accompanied by the specific status code “0xc00000bb” on your Windows 10 or Windows 11 PC, you’re dealing with a particular authentication issue. This error typically arises in environments utilizing Windows Hello for Business (WHFB), especially when certificate-based or key trust authentication methods are in play. Understanding the root cause is the first step towards resolving this problem and regaining access to your device using your PIN.
The primary symptom is the inability to sign in with your PIN, even if it was previously working correctly. Instead, you are presented with the aforementioned error messages. This can prevent users from accessing their systems conveniently and efficiently, necessitating the use of alternative sign-in methods like passwords, which defeats the purpose of having a PIN setup via Windows Hello.
Understanding the “0xc00000bb” Error¶
The “0xc00000bb” status code points towards a specific issue within the authentication process, particularly concerning the validation of credentials. In a Windows domain environment configured for Windows Hello for Business, authentication isn’t just about verifying your PIN; it often involves verifying a digital certificate or a cryptographic key associated with your identity and device.
When you attempt to sign in using your WHFB PIN, your client machine interacts with a domain controller to validate your credentials. This validation process, especially in a certificate trust deployment model, relies heavily on verifying the digital certificate presented by the client. The domain controller’s Key Distribution Center (KDC) service is responsible for performing this crucial validation step.
The Role of the NTAuth Store¶
A critical component in the KDC’s validation process is the NTAuth store. This is a specific location within Active Directory and subsequently replicated to local machine registries that holds the certificates of trusted Certificate Authorities (CAs) authorized to issue authentication certificates for domain users and devices. The KDC checks if the CA that issued the client’s authentication certificate is listed and trusted in this NTAuth store.
The NTAuth store is primarily managed within Active Directory and is replicated to the following registry key on domain controllers and member computers via Group Policy:
HKLM\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificates
If the certificate of the CA that issued the WHFB authentication certificate is missing from this NTAuth store, the domain controller cannot validate the client’s certificate. Consequently, the authentication attempt fails, leading to the “Your credentials could not be verified” message, which in turn triggers the “Something went wrong and your PIN isn’t available (status: 0xc00000bb)” error on the client device.
Essentially, the domain controller doesn’t trust the certificate presented by your computer because it doesn’t recognize the authority that issued it (the CA) as a legitimate source for issuing authentication certificates within the domain.
Diagnosing the 0xc00000bb PIN Unavailable Issue¶
Before attempting a fix, it’s important to confirm that the missing CA certificate in the NTAuth store is indeed the cause. This diagnostic process involves checking network connectivity, identifying the correct issuing CA certificate, and verifying its presence in the relevant registry location on a domain controller.
Here are the steps to diagnose the issue:
- Verify Network Connectivity: Ensure the affected Windows device can communicate effectively with the domain controllers, the Certificate Authority server, and any other required infrastructure like Azure AD or AD FS endpoints if applicable to your WHFB configuration. Network issues can sometimes masquerade as authentication failures. Use tools like
pingorTest-NetConnectionto check connectivity to the domain controller and CA. - Identify the Issuing Certificate Authority (CA): You need to determine which CA is responsible for issuing the certificates used for Windows Hello for Business authentication in your environment. This is typically the Enterprise CA integrated with your Active Directory.
- Locate the CA Certificate Thumbprint:
- Open the Certificate Authority snap-in (
certsrv.msc) on a server where the CA is installed or manageable. - Right-click the name of your issuing CA server in the left pane and select Properties.
- Navigate to the General tab. If your CA has multiple certificates (due to renewal or key rollover), select the current, active CA certificate.
- Click the View Certificate button.
- Go to the Details tab of the certificate window.
- Scroll down and find the attribute named Thumbprint. Select it and copy the hexadecimal string displayed in the lower pane. This thumbprint uniquely identifies the CA certificate. Note this thumbprint down carefully.
- Open the Certificate Authority snap-in (
- Check the NTAuth Store on a Domain Controller:
- Log in to a Domain Controller with administrative privileges.
- Open the Registry Editor (
regedit.exe). - Navigate to the following registry key:
HKLM\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificates - Examine the subkeys (folders) listed under
Certificates. These subkey names should be the thumbprints of the CA certificates that are currently published to the NTAuth store in Active Directory and replicated to this server. - Compare the thumbprint you obtained from the issuing CA certificate (in step 3) with the names of the subkeys present under the
Certificateskey.
If the thumbprint of your issuing CA certificate is missing from the list of subkeys under HKLM\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificates on the domain controller, then the missing CA certificate in the NTAuth store is the highly likely cause of the “0xc00000bb” PIN unavailable error. This confirms that the KDC cannot find the issuing CA in its trusted list.
Fixing the “0xc00000bb” PIN Unavailable Error¶
The solution involves publishing the missing issuing CA certificate to the NTAuth store within Active Directory and ensuring this change replicates throughout the domain, particularly to the domain controllers responsible for authentication and the affected client machines.
This process requires administrative credentials with sufficient permissions to manage enterprise CAs and Active Directory objects, typically Enterprise Admin rights.
Follow these steps carefully:
-
Export the Issuing CA Certificate:
- Go back to the Certificate Authority snap-in (
certsrv.msc) on the server hosting your issuing CA. - Right-click the issuing CA server name, select Properties, and go to the General tab.
- Select the current CA certificate and click View Certificate.
- In the Certificate window, go to the Details tab.
- Click the Copy to File… button at the bottom. This will open the Certificate Export Wizard.
- Click Next.
- Select the export format. The default “DER encoded binary X.509 (.CER)” or “Base-64 encoded X.509 (.CER)” is suitable. Click Next.
- Specify a file name and location to save the certificate file (e.g.,
C:\Temp\IssuingCA.cer). Click Next. - Click Finish. You should see a message confirming the export was successful.
- Go back to the Certificate Authority snap-in (
-
Publish the CA Certificate to the NTAuth Store in Active Directory:
- Copy the exported
.cerfile (e.g.,IssuingCA.cer) to a Domain Controller. - Open a Command Prompt or PowerShell window as an administrator on the Domain Controller.
- Navigate to the directory where you saved the
.cerfile (e.g.,cd C:\Temp). - Execute the following command to publish the certificate to the NTAuth store in Active Directory:
certutil -dspublish -f IssuingCA.cer NTAuthCA
This command publishes the certificate (IssuingCA.cer) to theNTAuthCAobject in Active Directory. The-fflag forces the publication even if the certificate might appear to be already present, which can be useful if the AD object exists but the certificate data is somehow corrupted or incomplete.
- Copy the exported
-
Add the CA Certificate to the Local NTAuth Store on the Domain Controller (Optional but Recommended):
- While publishing to Active Directory is the primary step for KDC trust, explicitly adding it to the local store on the DC ensures consistency. Execute this command:
certutil -enterprise -addstore NTAuth IssuingCA.cer
This command adds the certificate from the file to theNTAuthcertificate store on the local computer (the domain controller).
- While publishing to Active Directory is the primary step for KDC trust, explicitly adding it to the local store on the DC ensures consistency. Execute this command:
-
Force Active Directory Replication:
- Changes made to Active Directory need to replicate to all domain controllers. You can wait for natural replication cycles, but for faster resolution, you can force replication.
- Open Active Directory Sites and Services (
dssite.msc). - Navigate to
Sites > [Your Site] > Servers > [Your Domain Controller] > NTDS Settings. - Right-click on the connection objects under NTDS Settings (these represent replication links) and select Replicate Now. Repeat this for connections to other domain controllers, especially those clients might authenticate against.
- Alternatively, use the
repadmin /syncall /AdePcommand from an administrator command prompt on a DC to force replication across sites and partitions.
-
Force Group Policy Update on Domain Controllers:
- The local NTAuth store registry key is populated via Group Policy. After replication, force a Group Policy update on the domain controllers.
- Open an administrator command prompt and run:
gpupdate /force - Verify the CA thumbprint exists under
HKLM\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificateson the domain controller where you rangpupdate /force. The folder name should match the thumbprint you noted earlier.
-
Force Group Policy Update on Client Machines:
- The affected client machines also need to receive the updated NTAuth store information via Group Policy.
- Instruct users on the affected machines to run an administrator command prompt and execute:
gpupdate /force - They may need to restart their computer after the Group Policy update for the changes to fully take effect, especially for services and processes that load certificates upon startup.
- After restarting, they should be able to check their local registry at
HKLM\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificatesto see if the CA thumbprint folder has been created.
After completing these steps and ensuring replication and Group Policy updates have occurred, the domain controllers should now trust the issuing CA. When the client device attempts to authenticate using its WHFB certificate, the KDC will find the issuing CA’s certificate in its NTAuth store, validate the client certificate, and allow the PIN authentication to proceed successfully.
Summary of Fix Commands¶
| Command | Purpose | Location Executed |
|---|---|---|
certutil -dspublish -f IssuingCA.cer NTAuthCA |
Publishes the CA certificate to the NTAuth store in Active Directory. | Domain Controller |
certutil -enterprise -addstore NTAuth IssuingCA.cer |
Adds the CA certificate to the local NTAuth store on the computer. | Domain Controller |
gpupdate /force |
Forces a refresh of Group Policy settings. | DC and Client Machines |
repadmin /syncall /AdeP (Optional) |
Forces Active Directory replication across all domain controllers/sites. | Domain Controller |
Troubleshooting if the Issue Persists¶
If the error continues after performing the steps above, consider these additional troubleshooting steps:
- Verify Certificate Validity: Ensure the exported CA certificate is not expired or revoked.
- Check Active Directory Replication Status: Use
repadmin /showreplon domain controllers to confirm replication is healthy and the changes have propagated. - Examine Event Logs: Check the System and Security event logs on both the domain controller and the client machine for errors related to authentication (Event ID 4769 for KDC TGS requests on DCs), certificate validation, or Group Policy processing. Look for error messages that provide more specific details about the failure.
- Review WHFB Configuration: Double-check your Windows Hello for Business configuration in Group Policy or Intune to ensure it’s correctly set up for your chosen deployment model (certificate trust or key trust).
- Check Time Synchronization: Ensure the client machine and domain controllers have their clocks synchronized. Time differences can cause certificate validation failures.
- Test with a Different Client: See if the issue affects multiple client machines or just one. This can help isolate whether the problem is client-specific or environment-wide.
- Consider Key Trust Model: If you are using a certificate trust model, verify that all necessary certificate infrastructure (CA, certificate templates, auto-enrollment) is functioning correctly. If using a key trust model, ensure key registration services are available.
For complex scenarios or persistent issues, gathering diagnostic logs and contacting Microsoft Support might be necessary. They have tools and expertise to delve deeper into the authentication flow and identify subtle configuration problems.
Related Windows Hello PIN Errors¶
While this article specifically addresses the “0xc00000bb” error related to WHFB certificate trust, users may encounter other PIN-related errors. These often point to different underlying causes:
- Something went wrong and your PIN isn’t available Error Code 0xd000a002, 0xc000006d, 0x80090011, 0x80090027, 0xd0000225: These error codes can indicate issues ranging from corrupted PIN profiles, problems with the Trusted Platform Module (TPM), issues with Windows Hello registration, or underlying service failures unrelated to the NTAuth store specifically.
- “Something happened and your PIN isn’t available” (without a specific 0xc… status code): This is a more generic error often resolved by signing in with a password via ‘Sign-in options’, removing the existing PIN, and setting up a new one. Sometimes, deleting the contents of the
NGCfolder (C:\Windows\ServiceProfiles\LocalSystem\AppData\Local\Microsoft\NGC), which stores PIN information, can resolve corruption issues (ensure you have backups and understand the implications before deleting).
Frequently Asked Questions¶
How to solve “Something happened and your PIN isn’t available”?¶
This is a common issue, often simpler than the “0xc00000bb” error. First, try signing in using another method like your password via the “Sign-in options” link on the login screen. Once logged in, go to Windows Settings > Accounts > Sign-in options, find Windows Hello PIN, and choose the option to Remove it. After removing the PIN, restart your computer and then go back to the Sign-in options settings to add a new PIN. If you cannot remove the PIN normally, or if the NGC folder is suspected of corruption, you might need to boot into a recovery environment or Safe Mode to access and potentially rename or delete the NGC folder contents (requires elevated permissions). If you’ve forgotten your password entirely, you might need to use advanced recovery options or, in a domain environment, potentially work with an administrator to reset your password.
Why does it say PIN is unavailable?¶
The message “Your PIN isn’t available” or “Something went wrong and your PIN isn’t available” indicates that Windows is unable to use your configured Windows Hello PIN for authentication at that moment. The reasons can be diverse, depending on the specific error code (like 0xc00000bb pointing to the NTAuth store issue) or the context. Common causes include:
* A corrupted PIN profile or NGC folder contents.
* Issues with the Trusted Platform Module (TPM), which is often used to secure PIN credentials.
* Changes in system configuration or group policies affecting Windows Hello.
* Network or domain connectivity problems preventing validation (as seen with 0xc00000bb).
* Problems with the underlying Windows Hello for Business setup, including certificate trust, key trust, or registration issues.
* Pending Windows updates or system file corruption.
Identifying the exact error code or the context in which the message appears is crucial for diagnosing the specific cause.
Conclusion¶
The “Something went wrong and your PIN isn’t available (status: 0xc00000bb)” error is a specific symptom of a larger issue within a Windows Hello for Business deployment relying on certificate trust. It highlights the critical dependency on proper certificate infrastructure and the correct configuration of the NTAuth store on domain controllers. By ensuring the issuing CA certificate is correctly published to Active Directory and replicated to the necessary systems, you can restore trust in the authentication certificates and resolve this particular PIN unavailability issue. While troubleshooting Windows Hello can sometimes be complex due to its integration with various system components and directory services, systematically checking the certificate trust chain and the NTAuth store is a direct path to resolving the 0xc00000bb error.
Have you encountered this specific 0xc00000bb error or similar Windows Hello PIN issues? Share your experiences and how you resolved them in the comments below. Your insights could help others facing similar challenges!
Post a Comment