Skip to content

Headless Hosts

On a Windows 11 streaming server with no physical monitor attached (or a DisplayPort/HDMI monitor powered completely off), Sunshine’s startup encoder probe (video::probe_encoders()) and DXGI Desktop Duplication can fail if zero active displays exist when Windows boots.

  1. Edit %ProgramData%\zerovdd\config.toml and set headless_standby = true:

    config.toml
    schema_version = 1
    headless_standby = true
  2. Restart zerovdd-svc from an elevated PowerShell prompt:

    Terminal window
    Restart-Service zerovdd-svc
  3. Confirm the standby monitor is active:

    Terminal window
    zerovdd display list
  1. When zerovdd-svc starts and queries the active console display topology, if zero displays are active, it automatically attaches a 1920x1080@60 standby virtual monitor named zerovdd-headless-standby.
  2. Sunshine initializes its GPU hardware encoders cleanly against the standby display.
  3. When a Moonlight client connects, zerovdd-svc transitions directly to the client’s exact resolution, refresh rate, and HDR profile (preserving any physical monitors if one was later plugged in).
  4. When the stream ends, if no physical monitor is connected, zerovdd-svc re-attaches zerovdd-headless-standby instead of leaving Windows with zero displays.