From 05a44af161c38f32b50d9fbc24b3075b6cdd72f2 Mon Sep 17 00:00:00 2001 From: nocode Date: Wed, 8 Jul 2026 23:57:28 +0200 Subject: [PATCH] feat(gameboot-windows): add windows 11 offline unattend answer file template Add unattend.offline.xml.tmpl for Windows 11 deployment via fws-windows-deploy. This offline answer file handles specialize and oobeSystem passes after wimlib image application. It configures: - Computer name and locale settings - BitLocker and OOBE registry tweaks - Local admin gaming account with temporary auto-login - FirstBoot PowerShell script execution Tokens (__HOSTNAME__, __USER__, __DISPLAY__, __LOCALE__, __INPUT__, __FIRSTBOOT__) are substituted by fws-windows-deploy via sed. --- .../unattend.offline.xml.tmpl | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 configs/releng/airootfs/usr/local/share/fws/gameboot-windows/unattend.offline.xml.tmpl diff --git a/configs/releng/airootfs/usr/local/share/fws/gameboot-windows/unattend.offline.xml.tmpl b/configs/releng/airootfs/usr/local/share/fws/gameboot-windows/unattend.offline.xml.tmpl new file mode 100644 index 0000000..9f10138 --- /dev/null +++ b/configs/releng/airootfs/usr/local/share/fws/gameboot-windows/unattend.offline.xml.tmpl @@ -0,0 +1,95 @@ + + + + + + + __HOSTNAME__ + + + + + + 1 + reg add "HKLM\SYSTEM\CurrentControlSet\Control\BitLocker" /v PreventDeviceEncryption /t REG_DWORD /d 1 /f + + + 2 + reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f + + + + + + + + __INPUT__ + __LOCALE__ + + __LOCALE__ + + + + true + true + true + true + true + 3 + + + + + __USER__ + __DISPLAY__ + Administrators + + + + + + true + __USER__ + 5 + + + + 1 + FWS Gameboot first boot + powershell.exe -NoProfile -ExecutionPolicy Bypass -File "__FIRSTBOOT__" + + + + + +