Follow-up to #9 (closed). On 2026-04-22 we confirmed the root cause: bodies where hydrabody directly launches sunshine.exe (without registering the SunshineService Windows service) show the Sunshine console/terminal window on top of the kiosk. Bodies where SunshineService is registered (spawned by C:\Sunshine\tools\sunshinesvc.exe, parent services.exe, running as LocalSystem) do not show a console.
Evidence:
SunshineService registered → hydrabody direct-launches sunshine.exe → console visible. Manually ran New-Service today to register it; console disappeared.SunshineService already registered → no console visible. Someone had run install-service.bat on that machine at some point.C:\Sunshine\ tree including tools\sunshinesvc.exe (the service wrapper binary) and scripts\install-service.bat (the registration script). So the tooling is present; registration is just missing.Update hydrabody/pkg/provider/provision_windows.go so that after installProvider() extracts the Sunshine distribution, it also:
C:\Sunshine\scripts\install-service.bat (or equivalently calls New-Service / sc create) to register SunshineService with binPath=C:\Sunshine\tools\sunshinesvc.exe, start=auto, obj=LocalSystem.C:\Sunshine\scripts\autostart-service.bat (sets auto-start).startProvider should check for the service first and only fall back to direct-launch if the service is not registered — or remove direct-launch entirely).SunshineService already exists, skip registration but verify start=auto.Fleet-wide cosmetic fix (no Sunshine console ever visible to kiosk viewers). Also: the service approach is what Sunshine's own installer does, so we stop diverging from upstream defaults.