How to open RDP session using Uipath

Dear all,

I have my studio installed in my local system. I want to do the automation on a differnt server. So I have to access the server using RDP. How to open RDP session using UipAth

1 Like

@MariaJosephina,

Follow below steps:

  1. send hot key Win + r
  2. Then type ''mstsc" and enter using TypeInto activity
  3. Enter server credentials for logging into server.
  4. once logging into server, use Citrix Automation or Computer Vision Scope activity to automate application.

Regards,
Lakshman Ganta.

1 Like

Hi @MariaJosephina

You can follow few steps in your workflow to get it done…

  1. Use the Hot key activity (Win + R) to open the run command of windows
  2. use a type Into activity to type “mstsc” with “Enter” command to open the remote desktop connection app
  3. Again use a type Into activity to provide the server name
  4. Do a click event to sign in
  5. On Element Appear activity, check whether the pop up to enter username and password is visible
  6. When appears, use a Type into activity to type your credentials
  7. Again a hot key or a click activity to sign in…
  8. Once you are in remote server, you can use AI Computer Vision to easily do stuff in remote server.

If you have not downloaded AI computer vision, you might need to get them downloaded to your Studio. For that, refer the link below

Also how can I open an application in remote server

2 Likes

@MariaJosephina,

If the application is on desktop then you can assign one Shortcut key to that. Then use Send HOT Key activity and pass that assigned shortcut key.

2 Likes

No I need to open an application not in desktop.

1 Like

Once you login to RDP, use full screen mode to get full control. You can use the Maximize Window activity to make it full screen… then you can use Hot key activity if you have confugured a lot key for the application yoi are trying to run. Else, you can use CMD to open a app. Or else, computer vision can be helpful on clicking shortcut items on desktop etc.

1 Like

Thank you :slight_smile: makes sense

1 Like

Hello All,

I have to RDP and reboot some x server , Post I need to verify few services started or not pls suggest me how to automate.

Thanks,
S

1 Like

Hi All,
I am not able to send hot keys to remote desktop machine. After logging in to the RDP to open browser i am trying to send hotkeys to open run and send command. But it is not opening or launching run. Please suggest if there is any other way to open a browser in a remote desktop machine.

Thanks
Vinod

1 Like

Hi @vinodcrimson

After open RDP before enter credentials please click->show Options->go to Local Resource tab
->change Apply Windows Key combinations enter On the remote computer and save.
After try Win+r in rdp it will work.

image

1 Like

Thanks @kommijeevan it worked like a champ !

1 Like

I have attached xaml file please follow that one it is useful for u

TestRegex.xaml (17.1 KB)

1 Like

If you got solution please close this topic.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.