Jump to content

KMS / MAK Product Keys in Autounattend.xml


Recommended Posts

Hi,

How to handle KMS/MAK product keys in autounattend.xml ?

When i enter Vol license key in product key section of winpe, setup throws an error "The unattend answer file contains an invalid product key...."

How to handle this?

Thanks in advance..

Link to comment
Share on other sites


Thank you..

Is it just sufficient to add the key in specialize section as below or do need to do something more.

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>ComputerNam</ComputerName>

<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>

</component>

</settings>

Link to comment
Share on other sites

I've only made one image with a MAK key in it and that was on Monday. I did a test and sysprep the OS, but it said I needed to manually activate. I am not allowed to activate KMS keys because they aren't ours so I didn't see if it needed to be online to do it or not.

Link to comment
Share on other sites

I specify our MAK or KMS keys in both the WinPE and Specialize passes, under Microsoft-Windows-Shell-Setup <ProductKey></ProductKey> and Microsoft-Windows-Setup <Key></Key>. Windows will automatically activate within a few days using the key provided during install.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...