azureblog.co.uk
← cd ~/intune-errors
// intune-errors · Autopilot

0x80180022Autopilot device enrollment failed with error HRESULT = 0x80180022

Autopilot enrolment failed because the device being provisioned is running Windows Home edition.

Hex0x80180022
Decimal-2145910750 (unsigned 2149056546)
AreaAutopilot

How to fix it

Upgrade the device to Pro edition or higher.

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 "0x80180022" | Format-List TimeCreated, Id, Message

Other autopilot errors

Search all 116 codes →