Is there a working solution to set the display resolution of Windows 11 on an Azure VM?

Onur 25 Reputation points
2024-03-12T17:05:53.6433333+00:00

Hello,

There is a Windows 11 installation on an Azure VM and we realized that upon boot of the Windows (with autologon), the display resolution is 1024x768. This is a low resolution for our automated UI tests to run properly.

The tests are executed after system reboot, we are not connecting with Remote Desktop during the tests. If we connect with Remote Desktop, then resolution is set as determined by Remote Desktop Configuration. However, we should not be connected with Remote Desktop during the tests, they should be running automatically after reboot of the VM.

We tried to increase the resolution via Display Settings of Windows, but that option is grayed out.

After that, we tired several registry modification options as suggested by:

https://learn.microsoft.com/en-us/answers/questions/1043145/how-to-change-azure-vm-(windows)-resolution

https://learn.microsoft.com/en-us/answers/questions/1395952/how-to-change-azure-vm-resolution

None of them changed the resolution.

Any working solution suggestions will be appreciated.

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 49,715 Reputation points MVP Volunteer Moderator
    2024-03-12T17:11:48.45+00:00
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.