Sample Answer file for unattended windows 2003 server setup. This text files provides answers to questions normally asked during setup, such as where to install, which options to include (or not), basic network configuration, drivers to be installed, etc.
When using customized installation files (e.g. you've added vendor-specific drivers) and created a customized setup CD, or you want to install from a network share, uou need to boot from a suitable boot medium, then start setup with the winnt.exe (DOS boot) or winnt32.exe (32bit Windows boot) command + switches to indicate the location of your (modified) setup files. This can be done in a batch file :
REM CD Drive = M: set AnswerFile=.\win2k3srv.txt set SetupFiles=M:\i386 M:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang
[Data]
MsDosInitiated="0"
UnattendedInstall="Yes"
AutoPartition=1
[Unattended]
UnattendMode=FullUnattended
OemPreinstall=Yes
TargetPath=win2k3dc
OemSkipEula=Yes
OemFilesPath="A:\"
OEMPnPDriversPath = "3C509"
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=105
OemSkipWelcome=1
[UserData]
ProductKey=MBFBD-D2WKH-RH82B-XD3YP-VRY8M
FullName="Ned Admin"
OrgName="Useless Publications Unlimited"
ComputerName=SRV01
[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=60
[LicenseFilePrintData]
AutoMode=PerServer
AutoUsers=5
[RegionalSettings]
LanguageGroup=1
Language=00000813
[Branding]
BrandIEUsingUnattended=Yes
[URL]
Home_Page=http://www.google.be/
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1
[GuiRunOnce]
Command0="ping 192.168.1.254 >> h:\setupfiles\ping.txt"
Command1="dcpromo /answer:h:\setupfiles\dcinst.txt"
[Identification]
JoinDomain=KICKS
[Networking]
InstallDefaultComponents=No
[NetAdapters]
Adapter1=params.Adapter1
[params.Adapter1]
;INFID=*pnpTCM5095
[NetClients]
MS_MSClient=params.MS_MSClient
[NetServices]
MS_SERVER=params.MS_SERVER
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress=192.168.1.33
SubnetMask=255.255.255.0
DefaultGateway=192.168.1.254
DNSServerSearchOrder=192.168.1.254,195.130.131.2
WINS=No
NetBIOSOptions=1
[SetupMgr]
DistFolder=k:\
[FavoritesEx]
Title1="AFS Interculturele Programmas.url"
URL1="http://www.afsvlaanderen.be/"