All Products
Search
Document Center

:Change the screen resolution of a UEFI-based Windows instance connected via VNC

Last Updated:Aug 19, 2026

Resolve screen resolution issues on UEFI-based Windows instances by adjusting the resolution in UEFI Firmware Settings after connecting with VNC.

Problem description

After you connect to a Windows instance that runs a UEFI image by using VNC, the screen resolution cannot be changed.

Cause

UEFI-based operating systems use a different graphical output mode than Legacy BIOS-based systems. Remote desktop protocols, such as VNC, may be unable to control the display settings on UEFI systems, preventing screen resolution changes.

Solution

Note

The following steps use Windows Server 2022 as an example. Steps may vary by operating system.

  1. (Optional) Create snapshots for the disks attached to the instance to back up data.

  2. Connect to the instance by using VNC.

    See Connect to an instance by using VNC.

  3. Restart the instance in recovery mode.

    1. Open Windows Settings and click Update & Security.

    2. In the left-side navigation pane, click Recovery.

    3. Click Restart Now.

      Important

      Restarting may interrupt running services. Back up instance data during off-peak hours before restarting.

  4. Open UEFI Firmware Settings.

    1. Click Troubleshoot.

      image

    2. Click UEFI Firmware Settings.

      image

    3. Click Restart to load the UEFI Firmware Settings menu.

      image

  5. Change the screen resolution in UEFI Firmware Settings.

    1. Select Device Manager and press Enter.

      image

    2. Select OVMF Platform Configuration and press Enter.

      image

    3. Change Preferred is selected by default. Press Enter.

      image

    4. Select a resolution (such as 1280×760) from the drop-down list and press Enter.

      image

    5. Press F10 to save, enter Y to confirm, and press Esc to exit.

      image

  6. Restart the instance from within the instance.

    Important

    If you restart the instance from the ECS console instead, the screen resolution resets when you reconnect via VNC. Repeat these steps to change it again.

  7. Reconnect to the instance and verify the screen resolution.

    Right-click the desktop and select Display settings to check the resolution.

References

See Best practices for ECS instance boot modes.