Command to connect Robot to Orchestrator

Hi Folks,

A UI Path novice here! I have a very basic question.

I’ve installed the UiPath Studio v20 application. I have executed the command (“C:\Program Files (x86)\UiPath\Studio\UiRobot.exe” --connect -url ***** -key ***) to successfully connect the Robot to the Orchestrator. My question, does this command have to be run on every logon/restart or, does this command only need to be run once after the initial install. Thanks in advance.

Hello @NiallB

Welcome to UiPath community…!

After running this command can you see in the assistant as connected and licensed? You can also check the method to do it via UI.


Hi @NiallB ,

Welcome to UiPath forum.

The command line is one of the way to connect the robot to orchestrator. once yu run the command in the command prompt it will automatically connect the robot to orchestrator.

You could use the UI to connect the robot to orchestrator that is UiPath assistant. you need to enter the machine key and URL of the orchestrator. you no need to connect the bot to orchestrator each and every time you login to the VM.
whenever you login Bot will automatically connect to orchestrator.

please review the below link for further guidance what are the multiple ways to connect the robot to orchestrator. thanks.

1 Like

Thanks for your help Rahul! Yes, I can see it’s connected. Do I need to run this command every time I boot my machine or does this command only need executing once on a client? I don’t understand if the connection gets broken after a reboot or if it’s always in place.

No. You’re configuring a setting. The setting stays configured.

1 Like

Thanks Kiran, Thank you. I think you’ve answered my question, the command must be run every time I log into the windows VM where the Studio client is installed. Thanks

No. Just like if you connected it through the interface, you are configuring it to tell it where to connect. It remembers this configuration. You don’t have to do it every time.

1 Like

Paul, you Legend, that’s exactly what I was hoping to hear. Thank you Sir.

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