Pcornel
Windows · Installation & Deployment

Windows PE

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

Back to the Topic

Answer

Windows PE is a small Windows used to install, deploy and repair Windows. It runs from USB, ISO or PXE, includes cmd, DISM and diskpart, and can be extended with drivers and PowerShell.

Remember

  • WinPE is a small temporary Windows for setup and repair.
  • Add drivers and optional components like PowerShell.
  • It restarts after 72 hours.

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

WinPE boots → drivers → network/storage → deployment tools

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

Confirmation

Confirm action

Continue?