About Remote desktop resolution of the application at startup.

start zerokara 0 Reputation points
2024-11-27T14:47:19.9566667+00:00

-----poor english-----

(Is it okay to write in Japanese?)

Here is what I want to do.

https://howto.hyonix.com/article/how-to-make-your-mt4-mt5-automatically-start-after-a-vps-reboot/

With this method, I can start the application at startup, but the application screen becomes strange (first it is displayed at 1920x1080? size, then it is expanded to 3840x2160 size).

This seems to be because "local user settings" are used instead of "remote desktop settings" at startup.

The destination I'm connecting to via remote desktop is a VPS, so there is no real display connected.

I wonder if the display information is written directly to the registry?

But I don't know where to write it.

(Or maybe it's written somewhere in the default settings of Windows Server)

Can you tell me how to deal with this?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,625 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,671 Reputation points Microsoft Vendor
    2024-11-28T06:54:35.49+00:00

    Hello,

    You could change your settings in your default rdp file:

    Open mstsc -> click show options to expand more settings -> choose save / save us to save your rdp file.

    Change your default settings by changing the file.

    You can find these options:

    dynamic resolution

    Syntax: dynamic resolution:i:<value>

    Description: Determines whether the resolution of a remote session is automatically updated when the local window is resized.

    Supported values:

    0: Session resolution remains static during the session.

    1: Session resolution updates as the local window resizes.

    Use this link as a official reference:

    https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files


    If the Answer is helpful, please click "Accept Answer" and upvote it.


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.