I've used this tool with great success for both W10/11 to do unattended installs instead of asking an LLM: https://schneegans.de/windows/unattend-generator/