Pcornel
Windows · Installation & Deployment

Unattended Installation

Cheat sheet · https://pcornel.dk/topic.php?topic=2942

Back to the Topic

Answer

Unattended installation runs Windows Setup with an answer file that supplies disk layout, product key, language, accounts and settings, so installations complete without anyone clicking through.

Remember

  • An answer file holds settings for each Setup pass.
  • Test it in a VM before production.
  • Answer files can contain secrets; protect them.

First checks

  • Get-ComputerInfo -Property BiosFirmwareType — UEFI or legacy BIOS
  • Get-Disk | Select Number,PartitionStyle — GPT or MBR
  • Get-Content C:\Windows\Panther\setupact.log -Tail 50 — setup log
  • dism /Get-WimInfo /WimFile:<install.wim> — images in a WIM

Verify in this order

setup finds answer file → applies settings per pass

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=2942

Confirmation

Confirm action

Continue?