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.

Child Elements


Specifies the product key.


Specifies the circumstances in which the user interface (UI) for the product key will be displayed.

Valid Configuration Passes


Parent Hierarchy

Applies To

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

XML Example

The following XML output shows how to set user data.

  Copy Code

See Also