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®. |
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"
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. |
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. |
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" |
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
|