Often the VPS needs to keep running a macro after disconnecting from the remote desktop, and this does not happen.
To resolve this issue, you will need to configure the default resolution of the VPS. To do so, follow the steps below:
- Connect to the VPS.
- Search for "CMD" in the Windows search bar.
- Right-click on "Command Prompt" and click "Run as Administrator".
- Run the command below (in this example it will set 1024x768. You can change it to the desired resolution):
mstsc /admin /w:1024 /h:768 - Restart the VPS.
After this, the VPS will maintain this resolution even after leaving the remote desktop, and the macro will not be affected by a resolution change.
