autounattend.xml文件,通常这么取名,也叫answer file,在windows answer file这一章节里面有介绍如何利用windows的SIM(windows system image manager)工具生成autounattend.xml文件。
SIM工具下载链接: https://learn.microsoft.com/zh-cn/windows-hardware/get-started/adk-install
answer file创建方式链接:https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs?view=windows-11
两个链接在windows 11 pro上验证过。另外:windows image指的是windows 的iso解压之后里面的install.wim文件.
总体思路:
- 准备iso文件,取出install.wim
- 根据该install.wim创建catalog file,以clg为文件格式
- 之后创建answer file
下图boottoaudit-x64.xml便是answer file文件