Hi,
To skip the product key during Server 2022 installation via MDT, you need to set the SkipProductKey
property to YES
in the CustomSettings.ini file. Here's an example of how to add it:
[Default]
SkipProductKey=YES
Alternatively, you can set a generic product key in the configuration pass for Windows Setup (WindowsPE or specialize). Here's an example of how to add it in WindowsPE:
[WindowsPE]
[Unattended]
ProductKey=N2KJX-J94YW-TQVFB-DG9YT-724CC
If you have already tried to edit the Unattend.xml file and it didn't work, double-check that the file is in the correct location and that MDT is using the updated file. You may also want to verify that the edition of Server 2022 you are trying to install matches the product key you are using, as some editions have different product keys.