Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Windows Hello PIN creation fails: what each error code means (0x80090005, 0x801C03EA, 0x801C000E and more)

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A user signs in on a work or school device and is asked to set up Windows Hello. At the Create a PIN step the screen shows an error with a hexadecimal code, and no PIN is made. Microsoft's page, "Windows Hello errors during PIN creation", opens with the situation: "When you set up Windows Hello in Windows client, you may get an error during the Create a PIN step." It applies to Windows 10 and Windows 11, lists a set of codes with a recommended action for each, and says that for a code that is not listed you should contact Microsoft Support.

Everything before the Fix section only reads information. Some of the actions Microsoft lists change the device, and each of those is placed after its warning below.

What the error means

The code is shown on the screen at the Create a PIN step. Microsoft's page has a picture of the place under the heading "Where is the error code?". Reading down Microsoft's table, the causes fall into four groups. The grouping is ours, not Microsoft's, and it is only a way to find the row quickly:

  • 0x8009… codes carry causes about keys and the TPM, for example NTE_BAD_DATA and "TPM is not set up".
  • 0x801C000… to 0x801C0018 codes carry causes about registration and the federation provider, for example "Registration quota reached" and "User is not authorized to enroll".
  • 0x801C03E9 to 0x801C03F2 codes carry causes about the server's response, for example "Server failed to authorize user or device" and "Windows Hello key registration failed".
  • 0xC00000BB stands alone: "Your PIN or this option is temporarily unavailable."

Microsoft's page gives no more detail on how the codes are built.

Likely causes

Microsoft's mitigation steps open with the generic ones, because "Many errors can be mitigated by one of these steps":

  1. "Try to create the PIN again. Some errors are transient and resolve themselves."
  2. "Sign out, sign in, and try to create the PIN again."
  3. "Reboot the device and then try to create the PIN again."
  4. "Unjoin the device from Microsoft Entra ID, rejoin, and then try to create the PIN again." To unjoin a device, the page says to go to Settings > System > About > Disconnect from organization.

Then: "If the error occurs again, check the error code against the following table to see if there's another mitigation for that error." The table below keeps Microsoft's cause and mitigation in plain words.

Code Microsoft's cause Microsoft's mitigation
0x80090005 NTE_BAD_DATA Unjoin from Microsoft Entra ID and rejoin
0x8009000F The container or key already exists Unjoin and rejoin
0x80090011 The container or key was not found Unjoin and rejoin
0x80090029 TPM is not set up Sign on as an administrator, run tpm.msc, and in the Actions pane select Prepare the TPM
0x8009002A NTE_NO_MEMORY Close programs that use memory and try again
0x80090031 NTE_AUTHENTICATION_IGNORED Reboot; if the error returns, reset the TPM or run Clear-TPM
0x80090035 Policy requires a TPM and the device has none Change the Windows Hello for Business policy so it does not require a TPM
0x80090036 User canceled an interactive dialog The user will be asked to try again
0x801C0003 User is not authorized to enroll Check the user has permission to perform the operation
0x801C000E Registration quota reached Unjoin another device joined with the same account, or increase the maximum number of devices per user
0x801C000F Operation successful, but the device requires a reboot Reboot
0x801C0010, 0x801C0011, 0x801C0012 AIK certificate not valid or trusted; attestation statement invalid; discovery request not valid Sign out and sign in again
0x801C0015 The device must be joined to an Active Directory domain Join the device to an Active Directory domain
0x801C0016, 0x801C0017, 0x801C0018 Federation provider configuration, domain or client configuration URL is empty Go to the FPURL.xml file named on the page and check the file, the FPDOMAINNAME element or the CLIENTCONFIG element
0x801C03E9, 0x801C03EB, 0x801C03EC, 0x801C03EE, 0x801C03EF, 0x801C044E Invalid server response, invalid HTTP status, unhandled server exception, attestation failed, AIK certificate no longer valid, no credentials input received Sign out and sign in again
0x801C03EA Server failed to authorize user or device Check the token is valid and the user may register Windows Hello for Business keys
0x801C03ED Several causes, including multi-factor authentication required but not performed, no token in the Authorization header, and the user lacking permission to join to Microsoft Entra ID Sign out and in; if that fails, unjoin and rejoin; allow users to join under Microsoft Entra Device settings
0x801C03F2 Windows Hello key registration failed (ERROR_BAD_DIRECTORY_REQUEST: another object with the same proxyAddresses value exists) Resolve the duplicate attribute; if there is no sync conflict, check that the mail address in Microsoft Entra ID and the primary SMTP address match
0x801C044D Authorization token does not contain device ID; or unable to obtain user token Unjoin and rejoin; for the token case, sign out and in and check network and credentials
0xC00000BB PIN or option temporarily unavailable; the destination domain controller does not support the sign-in method Use a different sign-in method; the page names a KDC service without the proper certificate to support the sign-in as the case to check

Microsoft's list of "Errors with unknown mitigation" has 0x80070057, 0x80072F0C, 0x80072F8F, 0x80090010, 0x80090020, 0x80090027, 0x8009002D and a series of 0x801C codes (for example 0x801C0001, 0x801C0002, 0x801C000B, 0x801C000C, 0x801C0013, 0x801C0014, 0x801C0019, 0x801C001A, 0x801C001B, 0x801C03F0, 0x801C03F1, 0x801C044C and 0x801c004D). For those codes the page says to contact Microsoft Support.

The page does not rank the codes.

Prove the cause before changing anything

All of these read only.

  1. Write down the exact code and whether the user is on a Microsoft Entra joined, hybrid joined or domain-only device. Several rows depend on that.
  2. Check the join state. Microsoft's dsregcmd page says to run dsregcmd /status as a domain user account, and describes the fields AzureAdJoined, DomainJoined and NgcSet. NgcSet is "Set the state to YES if a Windows Hello key is set for the current logged-in user." Run:
dsregcmd /status

Keep the output with the ticket. It reads state and changes none.

  1. For 0x80090029, 0x80090031 and 0x80090035, read the TPM. In PowerShell, Get-Tpm returns information about the TPM on the current computer, including TpmPresent and TpmReady. It changes nothing.
  2. For 0x801C000E, find how many devices the account already has joined. The page does not say where to read that count.
  3. For 0x801C0016 to 0x801C0018, read the file the page names, FPURL.xml, at the address on the page, and see whether the file or the named element is empty.
  4. For 0x801C03F2, check the mail address in Microsoft Entra ID against the primary SMTP address, as the page describes.

Example (illustrative): at a freight company in Adelaide, a new starter's laptop shows 0x801C000E when she creates her PIN. She has already used the account to join a spare desktop and a home laptop. Registration quota reached is the cause on the page; the mitigation is to unjoin one of the other devices, or raise the maximum.

Fix

Disruptive step: a reboot closes everything the user has open. Ask the user to save work first. To undo it: a restart cannot be undone; unsaved work is lost.

Start with the three actions that change nothing lasting: retry, sign out and in, and reboot.

Reboot the device and try the PIN again.

Unjoin and rejoin

Risk: the steps below disconnect the device from the organisation. Microsoft's page lists no consequences of the disconnect and gives no steps for the rejoin, so plan for the device to stay outside the organisation until someone rejoins it. Do this when an administrator can complete the rejoin the same visit.

Several codes call for this. First save what you are about to remove. Run this as above and keep the output, and note which account joined the device and how (Microsoft Entra joined, hybrid or domain). Make sure an administrator account and the user's credentials are available to rejoin.

dsregcmd /status

Then make the change. On the device, go to Settings > System > About and select Disconnect from organization. Then rejoin the device and try the PIN again.

To undo it: join the device to the organisation again. The page gives no rejoin steps; use your organisation's own process for the join type recorded above.

Prepare the TPM (0x80090029)

Risk: the next step prepares the TPM on the device from the TPM Management console. The page gives this as the mitigation but says nothing about its effects and gives no way to undo it; make sure the device's BitLocker recovery key is stored before you change the TPM state.

First save the recovery information. In an elevated command prompt, run this and confirm a recovery password protector is listed, then confirm the same password is stored where your organisation keeps them:

manage-bde -protectors -get C:

Then make the change. Sign in with an administrator account, select Start, type tpm.msc and open it, then in the Actions pane select Prepare the TPM.

To undo it: the page gives no reverse action. If the TPM ends up in a state you did not intend, stop and look at Microsoft's TPM pages before taking further steps; clearing the TPM is covered in Clear TPM fails with error 0x80290300 and cannot be undone.

Reset or clear the TPM (0x80090031)

Disruptive step: resetting or clearing the TPM removes the keys it holds and the data they protect, as the Troubleshoot the TPM page below says. It has no undo.

The page says to reboot first and, if the error occurs again, "reset the TPM or run Clear-TPM". Microsoft's Troubleshoot the TPM page warns that "Clearing the TPM can result in data loss" and that it removes keys and data protected by them, "such as a virtual smart card or a sign-in PIN". The steps and the recovery key check are in Clear TPM fails with error 0x80290300; do those before clearing, because there is no way back from the clear.

Policy and limit changes (0x80090035, 0x801C000E, 0x801C03ED)

Risk: the steps below change a security policy for every device in its scope; for 0x80090035 the policy will no longer require a TPM, and the tenant settings for 0x801C000E and 0x801C03ED apply to every user in their scope. Apply each change to a test group first.

For 0x80090035 the page says to change the Windows Hello for Business policy so it does not require a TPM. First save the current value: write down the current setting of the policy and the scope it applies to (a screenshot of the policy page also serves).

Then make the change. Change the policy, then try the PIN on an affected device.

To undo it: set the policy back to the value you noted.

For 0x801C000E, the page offers an alternative to unjoining another device: increase the maximum number of devices per user. For 0x801C03ED, the page says to allow users to join to Microsoft Entra ID under Microsoft Entra Device settings. Both change a tenant-wide setting. Record the existing value first; then change it for the scope you need. Setting it back is the undo.

Confirm the fix

  • The Create a PIN step finishes and the user signs in with the PIN.
  • dsregcmd /status shows NgcSet : YES for the user.
  • The device is joined as before, or rejoined, and the user's work resources open.
  • A second sign-out and sign-in uses the PIN without a new error.

What to watch afterwards

  • Spare or old devices still joined to a user's account, which use up the registration quota that 0x801C000E reports.
  • Policy that requires a TPM on devices without one (0x80090035).
  • Clock and network problems. 0x80072F8F, in Microsoft's unknown-mitigation list, is described as a mismatch between the system clock and the activation server's clock; the page gives no mitigation, but the cause names the clock.
  • New codes. The page covers a fixed list. If a code is not on it, the page says to contact Microsoft Support.

Risks and limits

These steps have not been run or lab-tested.

The page does not say which Windows 10 or Windows 11 builds each code occurs on, gives no counts, and contains no steps for rejoining a device or for changing a policy or tenant setting. Its mitigations for several codes (unjoin and rejoin, clear the TPM) change the state of the device and need the warnings above. A code outside the page's tables has no guidance here.

Sources