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