azureblog.co.uk
Intune error · Autopilot

0x81039023

TPM attestation failed on Windows 11 during pre-provisioning or self-deploying mode.

Hex0x81039023
Decimal-2130472925 (unsigned 2164494371)
AreaAutopilot

How to fix it

Apply the May 2022 cumulative update for Windows 11 21H2 (KB5013943) or later to the device.

Find it on the device

Collect the Autopilot diagnostics on the device (press Shift + F10 during OOBE for a command prompt), then look for the code:

powershell3 lineshover a line number for notes
mdmdiagnosticstool.exe -area "Autopilot;TPM" -cab C:\Temp\autopilot.cab
Get-WinEvent -LogName "Microsoft-Windows-ModernDeployment-Diagnostics-Provider/Autopilot" -MaxEvents 200 |
    Where-Object Message -match "0x81039023" | Format-List TimeCreated, Id, Message
What each line does
  1. Line 2: Reads win event details.
  2. Line 3: Keeps only the items that match the condition.

Other autopilot errors

Search all 116 codes →

Spotted something out of date or wrong? Tell us and we'll fix it.