Files
FWS-ISO/configs/releng/airootfs/usr/local/share/fws/gameboot-windows
nocode 11a531003e feat(gameboot-windows): add auto-login and game launch task to fws gameboot installer
Enhance Install-FwsGameboot.ps1 with automatic login and game launch capabilities:

- Add -Password parameter for optional auto-login password configuration
- Verify prerequisites: local admin account and password requirements
- Deploy games.json configuration file alongside scripts
- Implement auto-login via Windows registry (AutoAdminLogon settings)
- Add scheduled task for auto-launching fws-play at user logon
- Tighten file ACLs on deployment directory (SYSTEM/Admins full, Users read-only)
- Replace hibernation note with full reboot explanation
- Enhance documentation with parameter descriptions and prerequisite validation details
- Update user warnings to reflect auto-login kiosk security implications

Workflow: boot → auto-login → fws-play launch → game execution → return to FWS.
2026-07-08 03:21:02 +02:00
..

FWS Gameboot — composant Windows

Composant à déployer dans le Windows 11 gaming (partition bare-metal dédiée) pour le dual-boot orchestré « hibernate-swap » de FWS. Il gère le retour vers FWS après une session de jeu.

⚠️ Statut : v1 non validée sur matériel réel. La sémantique bcdedit /set {fwbootmgr} bootsequence et le retour au boot dépendent du firmware de la carte mère. À tester avant de s'y fier. Voir le plan complet : docs/hibernate-swap-dualboot.md.

Fichiers

Fichier Rôle
fws-return.ps1 Arme le boot suivant (one-shot) vers FWS ou Windows.
fws-play.ps1 Lance Valorant, attend sa fin/crash, puis rebascule vers FWS.
Install-FwsGameboot.ps1 Installe le tout + tâche ONSTART + powercfg /h off.

Installation (dans Windows, PowerShell admin)

Set-ExecutionPolicy -Scope Process Bypass -Force
.\Install-FwsGameboot.ps1

Ces fichiers sont livrés par FWS dans /usr/local/share/fws/gameboot-windows/ ; l'outillage d'installation Windows de FWS (à venir, cf. plan §6) les copiera sur la partition Windows. En attendant, copie ce dossier à la main sur le Windows cible.

Comment ça marche

  1. Depuis FWS : fws-gameboot to-windows hiberne FWS et arme le boot suivant vers Windows.
  2. Windows démarre en bare-metal → Vanguard voit un vrai Windows natif.
  3. Au démarrage, la tâche ONSTART arme le boot suivant vers FWS (filet anti-crash).
  4. fws-play.ps1 (auto au login gaming, ou manuel) ré-arme Windows le temps du jeu, puis, à la fermeture/crash de Valorant, arme FWS et redémarre.
  5. FWS reprend sa session hibernée via resume=.

Filet permanent : côté FWS, BootOrder[0] = FWS est ré-affirmé à chaque démarrage — tout reboot non géré retombe sur FWS.

Rappels

  • BitLocker : ne pas l'activer sans sauvegarder la clé (le flip Secure Boot côté FWS change PCR7 → écran de récupération). manage-bde -status pour vérifier.
  • Ne pas désactiver Secure Boot / TPM / VBS-HVCI : Vanguard les exige.