Resizing the desktop when connected remotely via RDP to Windows Server 2016
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2021
09:05 AM
08-16-2021
09:05 AM
Resizing the desktop when connected remotely via RDP to Windows Server 2016
Hi,
Does anyone know how to change the desktop size after connecting via RDP?
My OS is defaulting to 1024x768 but the application needs 1920x768.
We use the tscon.exe command to swith the session to "con:" which is set at the lower resolution.
I'm thinking we'll have to change that in the VM graphics config but is there any other way of doing it "in code" or OS scripting?
Thanks
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2021
09:39 AM
08-17-2021
09:39 AM
Hi,
Check if
helps.
Regards,
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2021
02:17 AM
08-23-2021
02:17 AM
Hi Alex,
Thanks for the solution which is the best as it changes the console default resolution in the registry. I will give it a try.
As it is I used this which runs first before any applications are opened:
getActiveXObject("WScript.Shell").Run("powershell -command Set-DisplayResolution -Width 1920 -Height 1080 -Force");
Jonathan
