Jump to content

Recommended Posts

Posted (edited)

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

Posted

If you try it on a computer that Windows 10 have been already installed before note that since Windows 8 the Product Key is hardcoded in the BIOS.

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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