Windows Server 2012 R2 in AWS EC2, change resolution beyond 1280×1024

amazon ec2screen-resolutionwindows-server-2012-r2

I have a Windows Server 2012 R2 instance running in EC2 performing some UI tests while nobody is connected to it. I use the following script to disconnect from Remote Desktop:

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
  %windir%\System32\tscon.exe %%s /dest:console
)

The instance is using the Microsoft Basic Display Adapter driver which has a maximum resolution of 1280×1024. I would like to use 1920×1200 resolution if possible.

I've tried the following hack to upgrade the driver to a patched version using this process.

But it doesn't work, maybe because the drivers are different, or maybe because the server is not really "headless" (see the process above).

Is there any way I could increase the resolution on EC2 Windows Server 2012 R2 instances without using the instances with graphics card? I do not need acceleration, just higher resolution.

Best Answer

One option that i am aware of is not a really god one, but resolves the issue: create RDP connection from instance to itself and it will force it to use reflected display driver provided by RDP so you will be able to specify resolution using mstsc parameters.