microsoft / SurfaceDeploymentAccelerator

Surface Deployment Accelerator (SDA) is a script-driven tool to create Windows images (WIM) for test or deployment that are similar in configuration to Bare Metal Recovery (BMR) images, minus certain preinstalled applications like the Surface UWP application.
MIT License
77 stars 25 forks source link

ProductKey installation failed (0x80070057) #2

Closed goxia closed 4 years ago

goxia commented 4 years ago

ProductKey installation failed (0x80070057) at specialize phase. check the unattend.xml file to find that the product default to an empty value.

cluberti commented 4 years ago

Two options before I commit a tested change:

  1. Edit the Unattend.xml that matches the version you are deploying and add the KMS setup key for that SKU. https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys

  2. Remove the ProductKey section entirely. This is what I will be testing.

cluberti commented 4 years ago

I believe my recent check-in to master should resolve this - for some reason the XML was created with a blank key instead of a blank element. This should be fixed now.

goxia commented 4 years ago

I believe my recent check-in to master should resolve this - for some reason the XML was created with a blank key instead of a blank element. This should be fixed now.

Thanks a lot.