Pcornel
Windows

Installation & Deployment

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

Back to the Topic

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

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

Confirmation

Confirm action

Continue?