windows 11 unattend.xml

srihari 1 Reputation point
2021-11-01T04:44:00.66+00:00

Hi,

I have been trying to install "windows 11" with winpe boot image with unattend.xml. However the installation is failing with the following error.

The product key entered does not match any of the windows images available for installation. Enter a different product key.

I have a proper product key and putting it under Userdata section of unattend.xml as below.

      <UserData>
            <AcceptEula>true</AcceptEula>
            <ProductKey>
              <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
              <WillShowUI>Never</WillShowUI>
           </ProductKey>
        </UserData>

The same procedure is working for "windows 10" OS. Any inputs in resolving this problem is highly appreciated.

Thanks
Srihari

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,248 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,381 Reputation points
    2021-11-03T09:21:25.783+00:00

    Hi there,

    If it is a product key error make sure it is retail and transferrable. If you are planning to deploy using the unattend.xml, I suggest you to test & Prepare your lab environment.

    A USB drive, formatted with two partitions:

    A PC that has:

    A folder called C:\temp\lab with the following media downloaded:
    Windows installation media
    The most recent version of the Microsoft Office OPK
    Language and Optional Features ISO
    OPK App Update or Inbox Apps ISO
    Windows ADK installer
    WinPE ADK Add-on
    Drivers for your image (if needed)
    Deployment scripts

    You can get more info from here https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/oem-deployment-of-windows-desktop-editions?view=windows-11

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments