Hello,
You could check if has downloaded the ADK tool for Windows srv2022 to create the answer file.
Meanwhile, monitor WDS Server Logs. Examine the logs generated by WDS to identify any errors or warning messages related to the unattended installation. The logs might provide insight into why the .xml file is not being applied correctly.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.