Home News How to PXE Boot and Install Windows 10 & 11 Unattended?
How to PXE Boot and Install Windows 10 & 11 Unattended?
PXE boot Windows 10 or Windows 11 by loading WinPE over HTTP with iPXE and wimboot, mounting the full Windows ISO contents over SMB, partitioning the disk with DiskPart, and running setup.exe with an autounattend.xml file that selects the exact edition index and skips OOBE prompts.

How does PXE booting Windows 10 and 11 differ from Linux?
Unlike Linux installers that fetch a single kernel and initrd over HTTP, Windows 10 and Windows 11 Setup (setup.exe) requires a booted WinPE RAM environment plus access to the full extracted ISO directory (containing sources\install.wim or install.esd) over an SMB share. Using TNTCloud PXE Commercial or an equivalent iPXE + wimboot stack, the flow takes four steps:
- Network boot WinPE: iPXE loads
wimboot,BCD,boot.sdi, andboot.wimover HTTP. - Mount the Windows 10/11 share: Inside WinPE,
startnet.cmdinitializes networking (wpeinit) and maps the SMB share holding the extracted Windows 10 or 11 ISO. - Partition and install: A deterministic DiskPart script wipes and formats the target drive (GPT + EFI/MSR for UEFI, or MBR for Legacy BIOS), then runs
setup.exe /unattend:Z:\autounattend.xml. - First-boot OOBE and remote access:
autounattend.xmlskips the Windows Welcome (OOBE) screens, creates the local administrator account, and enables RDP or SSH.
1. Pick the exact Windows 10 / 11 edition index
Consumer and multi-edition Windows 10 and Windows 11 ISOs pack multiple editions (Home, Pro, Education, Enterprise) inside one install.wim. If your autounattend.xml omits the edition index or specifies the wrong one, Setup stops and asks the user to pick an edition.
Inspect the available indexes before publishing your template (using dism /Get-WimInfo on Windows or wiminfo from wimlib on Linux), then lock the exact index in the windowsPE pass of autounattend.xml:
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>6</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>3</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
2. Skip OOBE and hardware prompts cleanly
For unattended Windows 10 and Windows 11 installs, the oobeSystem pass must suppress interactive network, privacy, and Microsoft Account prompts:
- Skip OOBE screens: Set
<HideEULAPage>true</HideEULAPage>,<HideOnlineAccountScreens>true</HideOnlineAccountScreens>,<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>, and<ProtectYourPC>3</ProtectYourPC>. - Windows 11 TPM / Secure Boot checks: On older bare-metal servers or lab VMs lacking TPM 2.0 or Secure Boot, Windows 11 Setup rejects the install unless the hardware is compliant or the standard
LabConfigbypass registry keys are set in WinPE before launchingsetup.exe. - Use
install.wiminstead ofinstall.esdwhen needed: Official Media Creation Tool ISOs often shipinstall.esd, which is slower to decompress and incompatible with some offline servicing tools; standard VLSC/MVS ISOs shipinstall.wim.
3. Verify after first reboot
Confirm the installation succeeded by checking three things after Windows boots from the local disk: the machine booted from disk rather than looping into PXE, the static IP or DHCP reservation is reachable, and Remote Desktop (or WinRM/OpenSSH) accepts the provisioned local administrator credentials.
For WinPE preparation details, see our WinPE over PXE guide, or explore Windows PXE deployment.
Questions worth asking first
Can I PXE boot and install Windows 10 and Windows 11 without WDS?
Yes. Boot WinPE over HTTP using iPXE and wimboot, mount the extracted Windows 10 or 11 ISO over SMB, and run setup.exe with an autounattend.xml answer file.
Why does Windows 10/11 PXE setup stop and ask which edition to install?
Multi-edition install.wim images require an explicit /IMAGE/INDEX or /IMAGE/NAME metadata block in autounattend.xml; otherwise Setup prompts interactively.
How do I skip the Microsoft Account and OOBE screens on Windows 11?
Configure HideOnlineAccountScreens, HideEULAPage, and a local UserAccounts block in the oobeSystem pass of autounattend.xml.
Why does Windows 11 PXE setup say 'This PC cannot run Windows 11'?
Windows 11 Setup checks for TPM 2.0, Secure Boot, and minimum RAM/CPU requirements in WinPE unless your server hardware meets them or you configure WinPE pre-check policies for lab testing.