Managing Microsoft's Remote Installation Services: A Practical Guide

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 = MYCOMPUTERFullName = "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 |
<span class="fixed">ProductKey = "12345-ABCDE-12345-ABCDE-12345"</span> |
| Comments | Each x |