Use this when Windows Setup behaves unexpectedly.
Windows Setup
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.
1. Phases: WinPE, offline servicing, specialize, OOBE.
2. Logs: X:\Windows\Panther (WinPE), C:\Windows\Panther.
3. Errors in setuperr.log.
4. Disk/driver issues in WinPE.
5. Fix and rerun.
setup.exe → copies image → reboots through phases
Context & applicabilityCommon mistakes · platform/version boundaries
- Setup cannot see the disk: missing storage driver (Intel VMD/RST) — load it with Load driver.
- "Windows cannot be installed to this disk" — partition style does not match boot mode.
- Setup loops at OOBE — check
setuperr.logand the unattend file. - Product key or edition mismatch with
ei.cfg/PID.txt.
Operational reference
Fast context before you go deeper.
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.
- Setup runs passes: windowsPE, specialize, oobeSystem.
- Command-line switches automate it.
- Logs are in Panther folders.
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
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Windows Setup phases (configuration passes):
| Pass | When | Typical settings |
|---|---|---|
| windowsPE | In WinPE | Disk partitioning, image selection, product key |
| offlineServicing | Image applied, offline | Drivers, packages |
| specialize | First boot | Computer name, domain join, network |
| oobeSystem | OOBE | Local accounts, privacy, auto-logon |
| generalize / auditSystem / auditUser | Sysprep/audit mode | Image preparation |
Logs: X:\Windows\Panther\setupact.log (WinPE phase), C:\Windows\Panther\setupact.log and setuperr.log after the image is applied, C:\Windows\Panther\UnattendGC for oobe.
ReferenceConfiguration & state2 sections · depth on demand
Setup phases
1. windowsPE: language, disk partitioning, image selection, product key.
2. Apply image to the target partition, configure boot files.
3. specialize: computer name, domain join, network settings (after first reboot).
4. oobeSystem: accounts, region, privacy settings.
Logs: X:\Windows\Panther\setupact.log during WinPE, C:\Windows\Panther\ afterwards (setuperr.log for errors). Shift+F10 opens a command prompt during setup.
Setup logs
| Phase | Log |
|---|---|
| Windows PE | X:\$Windows.~BT\Sources\Panther\setupact.log |
| After apply | C:\$Windows.~BT\Sources\Panther\ |
| Specialize / OOBE | C:\Windows\Panther\setupact.log, setuperr.log |
| Unattend processing | C:\Windows\Panther\UnattendGC\ |
Press Shift+F10 during setup for a command prompt.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Installation & Deployment → Windows Setup. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/deployment/ · confidence 94%