azureblog.co.uk
← cd ~/intune-errors
// intune-errors · 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 lines
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

Other autopilot errors

Search all 116 codes →