web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to make dynamic se...
Power Automate
Unanswered

How to make dynamic selectors for multiple RDP machines?

(0) ShareShare
ReportReport
Posted on by 2

When I connect to 'RDP machine X' using "MSTSC" command and select some selectors (Ex: Run Command),
it works fine for the current logged-in session. However, when we run the process again for 'RDP machine Y', selectors does not work.

Can someone help me with this issue?

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    For rdp selectors does not work because it takes in image formate 

    Use click on image and see

    But it does not give accurate result 

     

    Hope this helps 

    Usha 

  • RohanUpadhye Profile Picture
    2 on at

    I tried with your solution, but it does not work as well as trying another solution like focusing on the "RDP" screen and performing the action, which also does not work.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Is PAD installed on your local machine and you're trying to automate something on a remote machine, or is it actually installed on the target machine?

     

    To automate a user interface on a remote machine from your own local machine, you would first need install the "agent for virtual desktops" on the target machine. See here for reference: https://learn.microsoft.com/en-us/power-automate/desktop-flows/virtual-desktops

     

    Note that you would need to install this on each remote machine you want to automate.

     

    Otherwise, it would actually be recommended to have PAD installed on the target machine, as it is more flexible and powerful when it's automating the same machine that it's installed on.

     

    If you cannot install applications on the target machines, or do not want to, for whatever reason, you could try using image recognition to just capture images and use Send keys to send keystrokes. But that is a very unstable approach, and is likely to also not work properly when used on several different machines.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard