Sample Answer Files for Unattended Setup |
The following answer file installs Windows 2000 Advanced Server with Windows Clustering.
; Microsoft Windows 2000 Advanced Server.
; © 1994–1999 Microsoft Corporation. All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Advanced Server so that the Setup program
; runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
TargetPath = Advsrv
FileSystem = ConvertNTFS
OemPreinstall = Yes
OemSkipEula = Yes
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
AdvServerType = Servernt
OemSkipWelcome = 1
; The OemSkipRegional key allows Unattended Setup to skip
; RegionalSettings when the final location of the computer is unknown.
OemSkipRegional = 1
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "50"
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid the use of spaces in the
; ComputerName value.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 70
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
[Identification]
JoinDomain = YourCorpNet
DomainAdmin = YourCorpAdmin
DomainAdminPassword = YourAdminPassword
[NetAdapters]
; In this example there are three network adapters, Adapter 01,
; Adapter 02, and Adapter 03. The adapter specified here as 01 is not
; always LAN connection 1 in the user interface. The network adapters
; in this example are not identical.
Adapter01 = Params.Adapter01
Adapter02 = Params.Adapter02
Adapter03 = Params.Adapter03
[Params.Adapter01]
; Specifies which adapter is number one.
; Note that the NetCardAddress key must match a valid address of the
; adapter in the system. For example, a valid address might look like
; the following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = CorpNet
[Params.Adapter02]
; Specifies which adapter is number two. Note that the
; NetCardAddress key must match a valid address of the adapter
; in the system. For example, a valid address might look like the
; following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = VendorNet
[Params.Adapter03]
; Specifies which adapter is number three. Note that the
; NetCardAddress key must match a valid address of the adapter
; in the system. For example, a valid address might look like the
; following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = PrivateNet
[NetClients]
; Installs the Client for Microsoft Networks.
MS_MSClient = Params.MS_MSClient
[Params.MS_MSClient]
[NetProtocols]
; Installs only the TCP/IP protocol.
MS_TCPIP = Params.MS_TCPIP
[Params.MS_TCPIP]
; This section configures TCP/IP properties.
AdapterSections = Params.MS_TCPIP.Adapter01,params.MS_TCPIP.Adapter02,params.MS_TCPIP.Adapter03
[Params.MS_TCPIP.Adapter01]
; CorpNet on Adapter01 uses DHCP server information.
SpecificTo = Adapter01
DHCP = Yes
DNSServerSearchOrder = 172.31.240.226, 172.31.240.225
DNSSuffixSearchOrder = CorpNet, dns.domain.com
DNSDomain = CorpNet
[Params.MS_TCPIP.Adapter02]
; VendorNet on Adapter02 uses local DHCP information.
SpecificTo = Adapter02
DHCP = Yes
[Params.MS_TCPIP.Adapter03]
; PrivateNet on Adapter03 uses static information.
SpecificTo = Adapter03
DHCP = No
WINS = No
IPAddress = 10.2.0.41
SubnetMask = 255.255.0.0
DefaultGateway = 2.2.2.2
DNSServerSearchOrder = 10.2.0.253, 10.2.0.254
[NetServices]
; Installs File and Print services.
MS_Server = Params.MS_Server
[Params.MS_Server]
[Components]
; Installs Windows Clustering and Administration components on
; Advanced Server when you set the value to On.
Cluster = On
[Cluster]
Name = CorpCluster
Action = Form
Account = CorpAdmin
Domain = CorpNet
IPAddr = 172.31.240.227
Subnet = 255.255.248.0
Network = CorpNet,ALL
Network = VendorNet,ALL
[GuiRunOnce]
; You can automate the running of Cluscfg.exe by placing Cluscfg.exe
; in the [GuiRunOnce] section of the Unattended answer file. This
; executes Cluscfg.exe and configures clustering on the first startup
; after GUI mode Setup has completed.
; You must include the full path to the program between the quotes.
"
[NetOptionalComponents]
NETMONTOOLS = 1