ProductKey contains settings that specify which edition of Windows to install. The product key that you purchase determines which edition you can install.
For more information about product keys, see the topic Work with Product Keys and Activation in the Windows Assessment and Deployment Kit (Windows ADK).
Comparison of Product Key Settings
Specifies the Windows image to install during Windows Setup.
Specifies a product key to activate Windows with. This setting can be used with microsoft-windows-setup-\UserData\ProductKey\Key, and the two product keys can be different.
If you are using a Volume License Multiple Activation Key (MAK), you must specify the MAK by using this setting.
|Key||Specifies the product key.|
|WillShowUI||Specifies the circumstances in which the user interface (UI) for the product key will be displayed.|
Valid Configuration Passes
For the list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.
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>