banner

[UserData]

Answer File = Unattend.txt and Sysprep.inf

The [UserData] section contains entries for specifying user settings during Setup.

Entry Description
ComputerName Specifies the computer name.
FullName Specifies the end userÆs full name.
OrgName Specifies an organizationÆs name.
ProductKey Specifies the Product Key for each unique installation of Microsoft® Windows®.

Sample

This sample demonstrates one use of the [UserData] section of Unattend.txt.

[UserData]
ComputerName = MYCOMPUTER
FullName = "Pat Coleman"
OrgName = "Woodgrove Bank"
ProductKey = "12345-ABCDE-12345-ABCDE-12345"

ComputerName

Specifies the computer name.

Syntax ComputerName = computer_name
Value computer_name
Registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
    ComputerName\ComputerName
Example
ComputerName = MYCOMPUTER
Comments

If the ComputerName entry is empty or missing, the end 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.

icon Return to top

FullName

Specifies the end userÆs full name.

Syntax FullName = string
Value string
Registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\
    CurrentVersion\RegisteredOwner
Example
FullName = "Pat Coleman"
Comments If the entry is empty or missing, the end user must enter a name, so that Setup can finish unattended.

icon Return to top

OrgName

Specifies an organizationÆs name.

Syntax OrgName = string
Value string
Registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\
    CurrentVersion\RegisteredOrganization
Example
OrgName = "Woodgrove Bank"

icon Return to top

ProductKey

Specifies the Product Key for each unique installation of Windows.

Syntax ProductKey = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
Value "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
Example
ProductKey = "12345-ABCDE-12345-ABCDE-12345"
Comments

Each x is either an alphabetic character or a number. Requires the quotation marks and the hyphens.

Important

  • You must always specify a value for the ProductKey entry.
  • The Product Key that you use to activate the installation must match the number on the Certificate of Authenticity (COA) sticker that accompanies the retail product or that is physically attached to the computer case by the original equipment manufacturer (OEM).
  • Standard licensing agreements specify that you can use a given Product Key only to activate one installation of Windows XP on one computer. Windows Product Activation (WPA) enforces this requirement.
  • If you preinstall Windows XP or Windows Server 2003 family 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, this entry assigns the same Product Key to all computers on which you install Windows XP or a member of the Windows Server 2003 family.
  • 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.

icon Return to top