(Unattended Installation)
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
The [UserData] section contains entries for specifying user settings during the setup process.
Answer File Entries for the [UserData] Section
Entry | Description |
---|---|
ComputerName |
Specifies the computer name. |
FullName |
Specifies the user’s full name. |
OrgName |
Specifies an organization’s name. |
ProductKey |
Specifies the product key for each unique installation of Microsoft Windows. |
Specifies the computer name.
ComputerName = computer_name
Value | Description |
---|---|
computer_name |
Computer name |
[UserData]
ComputerName = MYCOMPUTER
If the ComputerName entry is empty or missing, the user must enter a computer name. If the value is *, Setup generates a random computer name based on the organization name specified.
If computer_name is longer than 63 characters, the string truncates to 63 characters.
Specifies the user’s full name.
FullName = user_name
Value | Description |
---|---|
user_name |
User name |
[UserData]
FullName = "Ben Smith"
If the entry is empty or missing, the user must enter a name, so that Setup can finish the unattended installation.
Specifies an organization’s name.
OrgName = organization_name
Value | Description |
---|---|
organization_name |
Organization name |
[UserData]
OrgName = "Adventure Works"
None.
Specifies the product key for each unique installation of Windows.
ProductKey = "#####-#####-#####-#####-#####"
Value | Description |
---|---|
"#####-#####-#####-#####-#####" |
Product key. |
[UserData]
ProductKey = "12345-ABCDE-12345-ABCDE-12345"
Each # is either a letter or a number. The value requires the quotation marks around it and the hyphens.
This entry always requires a product key.
When using the answer file, this entry assigns the same product key to all computers on which you install Windows XP or Windows Server 2003.
Standard licensing agreements specify that you can use a given product key to activate only one installation of Windows XP on one computer. Windows Product Activation (WPA) enforces this requirement.
If you preinstall Windows XP or Windows Server 2003 under a volume license agreement, consult your specific license agreement to determine the number of installations allowed per product key.
When using the Unattend.txt file, enter the ProductKey in both the Unattend.txt file and the Sysprep.inf file. Sysprep deletes the ProductKey entry in the Unattend.txt file and replaces it with the entry specified in Sysprep.inf.