Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Unattended Installation

Direct answer

Unattended installation runs Windows Setup with an answer file that supplies disk layout, product key, language, accounts and settings, so installations complete without anyone clicking through.

When to use this

Use this when installing Windows without manual steps.

First 30 seconds

1. Answer file present (autounattend.xml on media or unattend.xml).

2. Validate in Windows SIM.

3. Passes correct (windowsPE, specialize, oobeSystem).

4. Logs show which settings applied.

5. Test on a VM.

Operational verification

setup finds answer file → applies settings per pass

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Answer file in the wrong place or with the wrong name (autounattend.xml at the root of the media).
  • Wrong processor architecture (amd64 vs x86) in components — settings are silently ignored.
  • Plain-text passwords in the answer file left on the system (C:\Windows\Panther\unattend.xml).
  • Disk configuration wiping the wrong disk on machines with several drives.
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 installing Windows without manual steps.
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
  • An answer file holds settings for each Setup pass.
  • Test it in a VM before production.
  • Answer files can contain secrets; protect them.
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

How unattended setup works

Setup looks for an answer file (autounattend.xml) on removable media, or uses setup.exe /unattend:<file>. The file contains settings per configuration pass (windowsPE, specialize, oobeSystem). Create and validate it with Windows System Image Manager (WSIM) from the ADK. Sysprep uses unattend.xml for generalised images.

ReferenceHow it works1 section · depth on demand

In depth

Unattended installation answers Setup's questions from an answer file, so installs are identical and hands-off. Setup searches for autounattend.xml in the root of removable media and other implicit locations, or uses setup.exe /unattend:<file>.

Typical content: language/locale, disk layout, image index, product key, computer name, admin account, time zone, domain join, first-logon commands. Validate the file against the image's catalog in Windows System Image Manager (WSIM) to catch typos that otherwise fail silently.

ReferenceImportant terms & boundaries1 section · depth on demand

Configuration passes

PassTypical settings
windowsPEDisk layout, image selection, language
offlineServicingDrivers, updates into the image
generalizeRemoves machine-specific data (Sysprep)
specializeComputer name, domain join, network
oobeSystemLocal accounts, OOBE skip, time zone
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → Unattended Installation. 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?