RDP Azure Virtual Machine incorrect behavior

Stickyamp 1 Reputation point
2022-10-04T16:17:36.807+00:00

Alright, so i am trying to automatize some procedures in a windows virtual machine with azure. I use RDP to connect to the VM and set up everything. I am using a macro recorder so, i start it and it works perfectly but when i minimize or close the RDP connection it stops. I've been reading some post and it might be related to the fact that in RDP close/minimize, screen display is disabled and that's why its not working.

So my question is, what can i do in order to make this macro recorder work properly? Because i want to connect to the RDP VM, set it up and then close the RDP connection to leave it perfectly working.

Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
242 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,124 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2022-10-05T09:51:16.793+00:00

    Hi,

    Can you try to RDP to the VM using Azure Bastion. The reason for this suggestion is that the RDP via Bastion happens over browser and when you minimise the browser, there will not be any disruption to your recorder.

    Regards,
    Karthik Srinivas

    0 comments No comments