I have an application on my server that will take a screenshot of the desktop of the server while it's running. It's working well when I'm connected to the server with RDP, but when I disconnect, the resolution is decreased dramatically. It seems to be decreased to 640x480 if I'm not mistaken.

My server is a virtual server hosted by a third party and I do not know which hypervisor they use. I only have RDP access to it. I am using a workaround to send my current RDP session to the console. I run this command: tscon <session#> /dest:console

This works well, except for the fact that the resolution is decreased when the application I started is running in this session.

Does anyone know how I can increase the default resolution of the console session on a virtual machine?

  • Two down votes? Would anyone care to help me improve the question? – Niels Brinch Feb 26 '13 at 19:19
  • To increase the size of my virtual console, I go into Q:\Utilites\DosBox\0.74\conf ... See the problem? (Well, the main problem, at least). – HopelessN00b Feb 26 '13 at 19:33
  • Can you log into the console directly at the keyboard and set a resolution to something normal and then do your RDP session AFTER that? – TheCleaner Feb 26 '13 at 19:49
  • @HopelessN00b I hoped that referencing the other question would allow people to see what I meant, rather than repeating the entire other ticket in here. – Niels Brinch Feb 26 '13 at 21:02
  • @TheCleaner I can only connect to it via RDP, which I think is always the case with a virtual server, even if you go to the physical server that's hosting the virtual server. – Niels Brinch Feb 26 '13 at 21:12

Well, the resolution of the session would be changed to match the resolution of the (virtual) console it is being attached to. If 640x480 is not enough for your purposes, change it.

If you absolutely can't ask for console access from your hosting provider, installing VNC and connecting to the VNC socket would give you the "physical" console screen and let you change the console resolution via GUI tools. You also could try either using the QRes utility or a PowerShell script to change the resolution via the command line.


You can connect with VNC in order to SET the good resolution in Console mode.

After you set the resolution you don't need VNC anymore and you can use mstsc.

When you know the compatible resolution with the graphic card, you can automate the process with QRes tool : http://home.no/aksoftware/

Connect to the machine in mstsc and the this bat file : SwitchScreenResolution.bat

TSCON 2 /Dest:Console                --Replace 2 with the good Id Session (see in taskManager / Users Tab / ID value)
timeout 10
QRes.exe /x 1920 /y 1200          -- Replace with the compatible resolution (you can see all compatible resolution with VNC)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.