Jump to content

autounattend.xml that asks for ProductKey


Zabex

Recommended Posts

I'm trying to prepare an Win10-Setup-Image (using sysprep + autounattend.XML  + Acronis) that could be installed on several PCs.

But using my autounattend.xml the Setup does not ask for the Win10 ProductKey.

I'v tried by adding in "Microsoft-Windows-Setup" (both X86 and amd64)

   <UserData>
     <AcceptEula>true</AcceptEula>
     <ProductKey>
       <WillShowUI>Always</WillShowUI>
     </ProductKey>
   </UserData>

But that does not work.

Removing an existing Key with

slmgr.vbs /upk

before sysprep does not help.

I have no <ProductKey> entry in"Microsoft-Windows-Shell-Setup".

The complete autounattend.XML file (with changed Passwords) is attached.

Any idea, what I could Change?

 

autounattend_anonymous.xml

Edited by Zabex
file attached
Link to comment
Share on other sites


It is designed to prompt for a product key unless one of these conditions are met:

1. The ProductKey/Key value is specified in the XML
2. The Edition or explicit path is specified in the XML with "/image/index" in ProductKey/Key value.
3. Specify edition in ei.cfg and have the associated default product key specified in pid.txt.

Here is info about ei.cfg and pid.txt.

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-edition-configuration-and-product-id-files--eicfg-and-pidtxt

So take a look if your ei.cfg and pid.txt are causing the supression of the product key prompt.

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...