Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Windows PE

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

When to use this

Use this when using or customizing Windows PE.

First 30 seconds

1. WinPE from the ADK add-on.

2. Add drivers: Dism /Add-Driver to boot.wim.

3. Network in WinPE: wpeutil initializenetwork, ipconfig.

4. Storage visible: diskpart → list disk.

5. Logs X:\Windows\Panther.

Operational verification

WinPE boots → drivers → network/storage → deployment tools

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Missing network or storage drivers in WinPE (drvload or add with DISM).
  • Old WinPE versions that do not support new hardware.
  • WinPE has a 72-hour session limit — it reboots automatically.
  • Forgetting that WinPE runs from RAM (X:), so changes are lost at reboot.
Platform / version applicability
Windows servicing, deployment and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows servicing, deployment and recovery
Scope / prerequisiteUse this when using or customizing Windows PE.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • WinPE is a small temporary Windows for setup and repair.
  • Add drivers and optional components like PowerShell.
  • It restarts after 72 hours.
Key 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
ReferenceWhy it matters1 section · depth on demand

Using Windows PE

  • Create media with the ADK + WinPE add-on: copype amd64 C:\WinPE and MakeWinPEMedia /UFD C:\WinPE E:.
  • Add drivers (dism /Add-Driver) and optional components (PowerShell, WMI) as needed.
  • Used by Setup, MDT/ConfigMgr, WDS and recovery (WinRE is based on WinPE).

WinPE restarts every 72 hours and is not a general-purpose OS.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Windows PE is a minimal Windows used to install, deploy and repair Windows. Build it with the ADK and the WinPE add-on:

copype amd64 C:\WinPE_amd64
Dism /Mount-Image /ImageFile:C:\WinPE_amd64\media\sources\boot.wim /Index:1 /MountDir:C:\WinPE_amd64\mount
Dism /Add-Package /Image:C:\WinPE_amd64\mount /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
Dism /Add-Driver /Image:C:\WinPE_amd64\mount /Driver:C:\drivers\storage /Recurse
Dism /Unmount-Image /MountDir:C:\WinPE_amd64\mount /Commit
MakeWinPEMedia /UFD C:\WinPE_amd64 E:

WinPE restarts after 72 hours, runs from RAM (X:) and needs storage/NIC drivers for newer hardware.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Building WinPE media

copype amd64 C:\WinPE_amd64
Dism /Mount-Image /ImageFile:C:\WinPE_amd64\media\sources\boot.wim /Index:1 /MountDir:C:\WinPE_amd64\mount
Dism /Add-Package /Image:C:\WinPE_amd64\mount /PackagePath:"...\WinPE-PowerShell.cab"
Dism /Unmount-Image /MountDir:C:\WinPE_amd64\mount /Commit
MakeWinPEMedia /UFD C:\WinPE_amd64 F:

Documented example, not captured output. Requires the ADK and the WinPE add-on.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows servicing, deployment and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Installation & Deployment → Windows PE. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/deployment/ · confidence 94%
Confirmation

Confirm action

Continue?