Windows Setup
Cheat sheet · https://pcornel.dk/topic.php?topic=2938
Answer
Windows Setup (setup.exe) is the installer that partitions disks, applies the image, installs drivers and runs specialize and OOBE passes. It can be automated with answer files and switches like /unattend.
Remember
- Setup runs passes: windowsPE, specialize, oobeSystem.
- Command-line switches automate it.
- Logs are in Panther folders.
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
setup.exe → copies image → reboots through phases
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=2938