If this device is running a Windows Insider Preview build, reinstall a supported Windows 11 General Availability Channel build before attempting Autopilot again, because Insider builds do not meet the documented Autopilot software requirement.^1^
1. Verify the Windows build
At the failed setup screen:
- Press Shift+F10.
- Run
winver.
- If it identifies an Insider Preview build, have IT reimage the device with a supported Windows 11 Pro, Enterprise, Education, Pro Education, or Pro for Workstations GA release.
- Start enrollment again after reimaging.
If the device is already on a supported GA build, continue below. Microsoft does not publish a definitive standalone meaning for 0x81039022; because the first failure occurs at Securing your hardware, collect Autopilot and TPM diagnostics rather than treating the later MDM and account errors as separate failures.
2. Export Autopilot and TPM diagnostics
Connect a USB drive, note its drive letter, and then press Shift+F10. For a physical device using pre-provisioning or self-deploying mode, run:
w32tm /resync /force
mkdir E:\AutopilotLogs
mdmdiagnosticstool.exe -area Autopilot;TPM -cab E:\AutopilotLogs\Autopilot.cab
dir E:\AutopilotLogs
exit
Replace E: with the USB drive letter. For user-driven deployment, use -area Autopilot without ;TPM. The CAB includes event logs, TPM information, Autopilot settings, enrollment data, and application status.^2^
Give that CAB file and the device serial number to the Intune administrator. Useful files include:
-
TpmHliInfo_Output.txt
-
microsoft-windows-moderndeployment-diagnostics-provider-autopilot.evtx
-
microsoft-windows-devicemanagement-enterprise-diagnostics-provider-admin.evtx
-
microsoft-windows-provisioning-diagnostics-provider-admin.evtx
-
MDMDiagReport_RegistryDump.reg^3^
3. Checks for the Intune administrator
- Confirm the deployment mode and hardware
- Pre-provisioning and self-deploying mode require a physical device supporting TPM 2.0 and TPM attestation; virtual machines are unsupported.^4^
- Confirm TPM 2.0 is enabled and ready in UEFI/BIOS.
- Install the latest OEM BIOS and TPM firmware before another deployment attempt.
- Check network access
- Autopilot requires working DNS and access over ports 80, 443, and UDP 123.
- Pre-provisioning/self-deploying TPM attestation also requires access to
*.microsoftaik.azure.net.
- Ensure authenticated proxies, SSL inspection, or restrictive firewalls are not blocking Microsoft Entra, Intune, Autopilot, or TPM-provider endpoints.^1^
- Review the Enrollment Status Page timeout
- In the Intune admin center, go to Devices → Device onboarding → Enrollment → Windows → Enrollment Status Page.
- Open the assigned ESP profile.
- Enable Turn on log collection and diagnostics page for end users.
- If diagnostics show that required applications are still installing rather than failing, increase Show an error when installation takes longer than specified number of minutes from its default 60 minutes.^5^
- If an app has
InstallationState = 4, investigate that app instead of merely extending the timeout; ESP stops processing applications after such an error.^2^
4. TPM reset only as a last resort
Do not clear the TPM as the first action. Clearing it removes TPM-protected keys and can cause data loss or loss of access to BitLocker-protected data. Back up the device and recover any BitLocker recovery keys first, then have IT or the hardware vendor perform the reset if diagnostics show that the TPM is not ready or not trusted.^6^
If several devices of the same model fail at the identical stage, escalate the CAB files to the OEM to check for model-specific BIOS or TPM firmware issues. If only this device fails, compare its OS build, TPM firmware, clock, and network path with a successfully enrolled device.
References
- Windows Autopilot requirements
- Troubleshooting the Enrollment Status Page
- Troubleshooting Microsoft Entra device registration and Windows Autopilot
- Windows Autopilot for pre-provisioned deployment
- Set up the Enrollment Status Page
- Windows enrollment attestation