Common Elements for Windows Answer Files

By | 2022-Jan-06

An answer file makes it possible to deploy Windows with “zero touch”, meaning that all of the installation parameters are specified and the installation will proceed without further input from the technician.

Warning! If your answer file is fully automated and includes a partitioning scheme, you run the risk of unintentionally wiping out a production system if you accidentally boot it with installer media that implements your answer file.

This page details the elements that you need to create a “zero touch” deployment, and includes additional elements for custom logos, wallpapers, OEM support information, etc. You should substitute your own information for values encapsulated in [SQUARE BRACKETS].

Components > amd64_Microsoft-Windows-International-Core-WinPE_neutral
ElementValue
InputLocaleen-US
SystemLocaleen-US
UILanguageen-US
UILanguageFallbacken-US
UserLocaleen-US
SetupUILanguage\UILanguageen-US
SetupUILanguage\WillShowUIOnError
Components > amd64_Microsoft-Windows-Setup_neutral > DiskConfiguration > 1 windowsPE
ElementValue
DiskConfiguration\WillShowUIOnError
DiskConfiguration\Disk\ID0
DiskConfiguration\Disk\WillWipeDisktrue
DiskConfiguration\CreatePartitions\CreatePartition\Order1
DiskConfiguration\CreatePartitions\CreatePartition\Size300
DiskConfiguration\CreatePartitions\CreatePartition\TypePrimary
DiskConfiguration\CreatePartitions\CreatePartition\Order2
DiskConfiguration\CreatePartitions\CreatePartition\Size100
DiskConfiguration\CreatePartitions\CreatePartition\TypeEFI
DiskConfiguration\CreatePartitions\CreatePartition\Order3
DiskConfiguration\CreatePartitions\CreatePartition\Size128
DiskConfiguration\CreatePartitions\CreatePartition\TypeMSR
DiskConfiguration\CreatePartitions\CreatePartition\Order4
DiskConfiguration\CreatePartitions\CreatePartition\Extendtrue
DiskConfiguration\CreatePartitions\CreatePartition\TypePrimary
DiskConfiguration\ModifyPartitions\ModifyPartition\Order1
DiskConfiguration\ModifyPartitions\ModifyPartition\PartitionID1
DiskConfiguration\ModifyPartitions\ModifyPartition\FormatNTFS
DiskConfiguration\ModifyPartitions\ModifyPartition\LabelWINRE
DiskConfiguration\ModifyPartitions\ModifyPartition\TypeIDDE94BBA4-06D1-4D40-A16A-BFD50179D6AC
DiskConfiguration\ModifyPartitions\ModifyPartition\Order2
DiskConfiguration\ModifyPartitions\ModifyPartition\PartitionID2
DiskConfiguration\ModifyPartitions\ModifyPartition\FormatFAT32
DiskConfiguration\ModifyPartitions\ModifyPartition\LabelSystem
DiskConfiguration\ModifyPartitions\ModifyPartition\Order3
DiskConfiguration\ModifyPartitions\ModifyPartition\PartitionID3
DiskConfiguration\ModifyPartitions\ModifyPartition\Order4
DiskConfiguration\ModifyPartitions\ModifyPartition\PartitionID4
DiskConfiguration\ModifyPartitions\ModifyPartition\FormatNTFS
DiskConfiguration\ModifyPartitions\ModifyPartition\LabelWindows
DiskConfiguration\ModifyPartitions\ModifyPartition\LetterC
Components > amd64_Microsoft-Windows-Setup_neutral > ImageInstall > OSImage > InstallTo > 1 windowsPE
ElementValue
ImageInstall\OSImage\InstallTo\DiskID0
ImageInstall\OSImage\InstallTo\PartitionID4
Components > amd64_Microsoft-Windows-Setup_neutral > UserData > 1 windowsPE
ElementValue
AcceptEulatrue
FullName[DEPARTMENT]
Organization[COMPANY]
UserData\ProductKey[PRODUCT KEY]
UserData\WillShowUIOnError
Components > amd64_Microsoft-Windows-International-Core_neutral > 4 specialize
ElementValue
InputLocaleen-US
SystemLocaleen-US
UILanguageen-US
UILanguageFallbacken-US
UserLocaleen-US
Components > amd64_Microsoft-Windows-MicrosoftEdgeBrowser_neutral > FavoriteBarItems > FavoriteBarItem > 4 specialize
ElementValue
ItemKey1
ItemName[LINK NAME]
ItemUrl[LINK ADDRESS]
Components > amd64_Microsoft-Windows-Shell-Setup_neutral > OEMInformation > 4 specialize
ElementValue
OEMName[COMPANY]
ProductKey[PRODUCT KEY]
OEMInformation\Logo%windir%\system32\OEM\logo.png
OEMInformation\Manufacturer[COMPANY]
OEMInformation\Model[MODEL]
OEMInformation\SupportHours[HOURS]
OEMInformation\SupportPhone[SUPPORT PHONE NUMBER]
OEMInformation\SupportProvider[SUPPORT DEPARTMENT NAME]
OEMInformation\SupportURL[SUPPORT LINK]
Components > amd64_Microsoft-Windows-International-Core_neutral > 7 oobeSystem
ElementValue
InputLocaleen-US
SystemLocaleen-US
UILanguageen-US
UILanguageFallbacken-US
UserLocaleen-US
Components > amd64_Microsoft-Windows-Shell-Setup_neutral > OOBE > 7 oobeSystem
ElementValue
HideEULAPagetrue
ProtectYourPC1
Components > amd64_Microsoft-Windows-Shell-Setup_neutral > Themes > 7 oobeSystem
ElementValue
BrandIcon%windir%\system32\OEM\icon.png
DesktopBackground%windir%\system32\OEM\wallpaper.png
ThemeName[THEME NAME]
WindowColor0xff[COLOR HEX VALUE]
Packages > Foundation > amd64_Microsoft-Windows-Foundation-Package > Packages

Microsoft-Windows-Subsystem-Linux: Enabled

Packages > OnDemandPack > amd64_OpenSSH-Client-Package > Packages

(no settings)

One thought on “Common Elements for Windows Answer Files

  1. Pingback: Customizing the Windows Installer Media – One Zero One

Comments are closed.