Export (0) Print
Expand All

ProductKey

Updated: August 1, 2012

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

ProductKey contains settings that specify which edition of Windows to install. The product key that you purchase determines which edition you can install.

noteNote
For more information about product keys, see the topic Work with Product Keys and Activation in the Windows Assessment and Deployment Kit (Windows ADK).

 

Microsoft-Windows-Setup\UserData\ProductKey\Key

Specifies the Windows image to install during Windows Setup.

Microsoft-Windows-Shell-Setup\ProductKey

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.

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>

See Also

Concepts

UserData

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft