Use this when a Windows deployment stops in WinPE, Setup or OOBE and you need the logs and the failing pass.
Deployment Troubleshooting
Troubleshoot Windows deployment with setupact.log and setuperr.log in Panther folders, missing storage or network drivers in Windows PE, answer file errors, disk layout mismatches and PXE or WDS logs.
1. Phase that fails and error code.
2. Logs: Panther setupact/setuperr, SMSTS.log (ConfigMgr).
3. Drivers missing in WinPE (no disk/network).
4. Answer file errors.
5. Disk/firmware mismatch (GPT/UEFI).
boot → WinPE → apply → specialize → OOBE; failure located
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and when it is fixed Verify boundary
Known-good means the intended image installs to the intended disk, firmware boots it without installation media, required drivers are healthy, expected edition/build/settings are present and the post-deployment acceptance workload succeeds. Broken evidence includes phase-specific setup errors, wrong boot mode/partition, missing device driver or post-install task failure. The limit of what it shows is that reaching the desktop shows OS boot, not complete deployment; read back required configuration and repeat the actual management/application acceptance test after reboot.
Step 2 Common mistakes Narrow the fault
- Not reading
setupact.log/setuperr.log.
Step 3 Native failure isolation and next-check logic Narrow the fault
If Setup cannot see or partition the target disk, stay at firmware/storage-controller/driver boundaries. If image application succeeds but the machine cannot boot, verify UEFI/BIOS mode, system partition and boot configuration before reimaging. If specialize/OOBE fails, inspect setup logs and the exact unattend/package/driver action around the failure; if Windows reaches desktop but management/domain/app provisioning fails, move to that post-install dependency instead of blaming image application. Reproduce with the same image and one controlled variable change.
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.
- Panther folders hold setupact.log and setuperr.log.
- Missing storage or network drivers in WinPE stop deployment.
- Answer file errors stop specific passes.
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
ReferenceHow it works1 section · depth on demand
How it works
Windows deployment failures cross boot media/firmware, storage detection, image servicing, setup phases, driver injection, unattend logic and post-install enrollment or role configuration. Setup can copy an image successfully yet fail during specialize/OOBE because a driver, answer-file setting, package action or domain/management dependency is invalid. Preserve the deployment method, image/build, firmware mode, disk identity and the setup phase/error before restarting, because a clean retry otherwise destroys the first failing step.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Let SetupDiag read the logs first
SetupDiag analyses Windows Setup log files and reports known failure signatures.
C:\> SetupDiag.exe /Output:C:\Temp\SetupDiagResults.log
C:\> type C:\Temp\SetupDiagResults.log
Matching Profile found: CompatScanOnly - 5A1F...
Error: SetupDiag reports abrupt down-level failure.
Last Operation: Finalize
Error: 0xC1900101 - 0x30018
Where the logs are
| Phase | Location |
|---|---|
| Down-level (old OS running setup) | C:\$WINDOWS.~BT\Sources\Panther\setupact.log, setuperr.log |
| Rollback | C:\$WINDOWS.~BT\Sources\Rollback\ |
| After a successful upgrade | C:\Windows\Panther\ |
| Out-of-box (OOBE) | C:\Windows\Panther\UnattendGC\ |
| Driver installation | C:\Windows\INF\setupapi.dev.log |
Decode the result code
Upgrade errors have two parts: result code and extend code (phase.operation).
| Code | Typical cause |
|---|---|
| 0xC1900101 - 0x2000C / 0x30018 / 0x40017 | Driver problem in that phase — update or remove drivers (storage, display, security software) |
| 0xC1900208 | Incompatible app blocks upgrade |
| 0x80070070 | Not enough disk space |
| 0xC1900200 / 0xC1900202 | Hardware does not meet requirements |
| 0x8007042B - 0x4000D | Process or service terminated during setup (often security software) |
Unattended deployment issues (images)
| Symptom | Check |
|---|---|
| Unattend settings ignored | Right configuration pass and architecture (processorArchitecture="amd64") in unattend.xml; Panther\setupact.log shows which file was used |
| Domain join during setup fails | C:\Windows\debug\NetSetup.log |
| Sysprep fails | C:\Windows\System32\Sysprep\Panther\setupact.log — often provisioned Store apps |
| Drivers missing after deployment | Driver injection into the image (DISM /Add-Driver) or deployment tool driver groups |
Fix one cause at a time and rerun; setup failures are often layered (a driver problem hiding a space problem).
*The SetupDiag failure and hexadecimal status are illustrative upgrade diagnostics, not a captured installation log.*
Method
Deployment troubleshooting finds why automated Windows installation or provisioning failed — in Setup, imaging, task sequences or Autopilot.
| Area | Logs and checks |
|---|---|
| Windows Setup | C:\$WINDOWS.~BT\Sources\Panther\setupact.log, setuperr.log; C:\Windows\Panther |
| Unattend issues | C:\Windows\Panther\UnattendGC\setupact.log |
| MDT/ConfigMgr | smsts.log (location changes by phase), BDD.log |
| Autopilot | Event log ModernDeployment-Diagnostics-Provider, mdmdiagnosticstool.exe -area Autopilot -cab C:\Temp\ap.cab |
| Drivers | Missing storage/NIC drivers in WinPE |
Get-AutopilotDiagnostics # community script, or use Intune troubleshooting portal
Common causes: missing WinPE drivers, network/proxy blocking content download, invalid answer file syntax, and Autopilot profile or Enrollment Status Page app failures.
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 → Deployment Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/deployment/ · confidence 94%