Compartilhar via


UserData

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

UserData specifies user settings.

Child Elements

AcceptEula

Specifies whether to automatically accept the Microsoft Software License Terms.

FullName

Specifies the name of the end user.

Organization

Specifies the name of the organization that owns the computer.

ProductKey

Specifies the product key to use, which determines the edition of Windows to install.

Valid Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | UserData

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows how to set user data.

<UserData>
   <AcceptEula>true</AcceptEula>
   <FullName>EndUserName</FullName>
   <Organization>Fabrikam</Organization>
   <ProductKey>
      <Key>12345-12345-12345-12345-12345</Key>
      <WillShowUI>Never</WillShowUI>
   </ProductKey>
</UserData>

See Also

Concepts

Microsoft-Windows-Setup