Installation & Deployment
Cheat sheet · https://pcornel.dk/topic.php?topic=2936
Answer
Windows installation and deployment covers installing Windows from media or the network: Windows Setup, Windows PE, WIM images, answer files, PXE boot, the ADK, and UEFI and GPT disk layouts.
Remember
- Firmware mode decides GPT/MBR.
- Missing storage drivers stop Setup seeing disks.
- Logs live 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
Commands
DISM- Service and repair Windows images, for example DISM /Online /Cleanup-Image /RestoreHealth.
Sysprep- Generalize a Windows installation for imaging (sysprep /generalize).
Verify in this order
boot media/PXE → WinPE → setup applies image → specialize → OOBE
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=2936