autounattend.xml
Cheat sheet · https://pcornel.dk/topic.php?topic=2943
Answer
autounattend.xml is an answer file that Windows Setup automatically picks up from the root of the install media or USB, automating disk setup, edition, accounts and settings in each configuration pass.
Remember
- Setup finds autounattend.xml at the root of the install media.
- It must validate against the schema.
- It may contain passwords.
First checks
Get-ComputerInfo -Property BiosFirmwareType— UEFI or legacy BIOSGet-Disk | Select Number,PartitionStyle— GPT or MBRGet-Content C:\Windows\Panther\setupact.log -Tail 50— setup logdism /Get-WimInfo /WimFile:<install.wim>— images in a WIM
Verify in this order
autounattend.xml read in windowsPE pass → answers setup
Where it usually breaks
First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2943