Export (0) Print
Expand All

ProductKey

ProductKey specifies the product key to apply for each unique installation of the Windows operating system.

There are two Product Key settings you can configure.

  • Use this ProductKey setting to specify the Windows image to install during Windows Setup. This product key specified by this setting is stored on the computer after installation. If you choose to activate Windows, this product key will be used.
  • Use the ProductKey setting to specify a different product key to activate Windows. For example, you can specify one product key to install Windows with the ProductKey in Microsoft-Windows-Setup component, and then specify a different product key to activate Windows with ProductKey

If you specify a product key in the windowsPE configuration pass with ProductKey (Microsoft-Windows-Setup), then Windows Welcome will prompt for a product key. If you specify the ProductKey (Microsoft-Windows-Shell-Setup) setting during the specialize pass, then Windows Welcome will not prompt for a product key.

Child Elements

 

Key

Specifies the product key.

WillShowUI

Specifies in what circumstances to display the user interface (UI) for the product key.

Valid Passes

Parent Hierarchy

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

UserData

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft