Set resolution headless server

  1. Open regedit, navigating to
    HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration
    
  2. Select key starting with SIMULATED, then child key 00
  3. Change the decimal value of PrimSurfSize.cx to the desired horizontal resolution (i.e 1920)
  4. Change the value PrimSurfSize.cy to the desired vertical resolution (i.e. 1080)
  5. Change the value Stride (for 1920×1080 this is 7680: ((1920 * 32 + 7) / 8))
  6. Select the child key of 00, also named 00, and change ActiveSize.cx to the same horizontal resolution value above
  7. Change the value of ActiveSize.cy to the same vertical resolution above
  8. While you can change the other values in this key that are set to 1024 and 768, I haven’t noticed an impact.
Close Menu