(Sysprep)

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

[UserData]

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.

ComputerName

Specifies the computer name.

Syntax
ComputerName = computer_name
Value Description

computer_name

Computer name

Example
[UserData]
ComputerName = MYCOMPUTER
Comments

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.

FullName

Specifies the user’s full name.

Syntax
FullName = user_name
Value Description

user_name

User name

Example
[UserData]
FullName = “Ben Smith”
Comments

If the entry is empty or missing, Setup prompts the user for a name.

OrgName

Specifies an organization’s name.

Syntax
OrgName = organization_name
Value Description

organization_name

Organization name

Example
[UserData]
OrgName = “Adventure Works”
Comments

None.

ProductKey

Specifies the product key for each unique installation of Windows.

Syntax
ProductKey = "#####-#####-#####-#####-#####"
Value Description

"#####-#####-#####-#####-#####"

Product key.

Example
[UserData]
ProductKey = “12345-ABCDE-12345-ABCDE-12345”
Comments

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.