Question/Problem Description
I am configuring a Lenovo T 560 with Hardware Hush Configuration in Microsoft AutoPilot in Windows 10/11, Microsoft 365 and Hybrid environments.
The Hardware Hush as the following steps:
Step 1: Power on PC and connect to ethernet.
Step 2: Press Shift + F10 at the Region selection screen.
Step 3: Type: Powershell > Enter in the command prompt.
Step 4: Insert USB Drive into the machine.
Step 5: Type: Get-Volume > Enter.
Step 6: Got the .CSV file.
Step 7: Go to MEM (Microsoft Enpoint Manager).
Steo 8: Import th .CSV file.
Step 9: Restart the laptop
Step 10: Select the Windows AutoPilot Provisioning option, but the following error message shown:
Windows Autopilot Configuration. TPM attestation failed. Error: 0X81039022
Step 11: Click on the RESET option will start the above procedure again.
Any suggestions fix the Windows Autopilot Configuration. TPM attestation failed. Error: 0X81039022?
Solution #1
Check if there’s a firmware update available for TPM module: TPM Firmware Update Utility -ThinkPad
Solution #2
Execute the following command using elevated command prompt to check whether you have TPM 2.0 and Attestation is enabled:
tpmtool getdeviceninformation
Solution #3
Execute the following command using elevated command prompt to check whether the AIK URL and certificate are valid
certreq -enrollaik -config “”
Update it if needed.
Solution #4
Run the following Autopilot Attestation Troubleshooting PowerShell script:
Install-Module -Name Autopilottestattestation -force
set-executionpolicy unrestricted
import-module -Name Autopilottestattestation
test-autopilotattestation
If the script runs OK it’s likely to simply be a timeout issue either with your own connection or M$ servers.
Reference: House of the Dragon: The Game of TPM’s