Hello everyone.
We are currently introducing UiPath into our project. We have built an Azure Virtual Desktop (remote desktop) to carry out our automated tests. How can I start and stop the VM automatically during the test execution.
Thanks
Hi @amel237
Your query is quite confusing could you be more specific…?
hello @mkankatala.
thank you very much for the feedback. my question is:
How can I start and stop an Azure Virtual Desktop automatically. Is there a UiPath activity to start/connecting on the remote desktop?
Your VM should be running before the bot kicks in. Login part bot will handle through unattended license and machine template you create.
There is no option to start the VM before login into from UiPath. Either you will have to do it manually or normally it’s managed by admin team.
so you dont need to perform any separate tasks…only thing is when you close the vdi…make sure you only logout but not shutdown…bot will login and logout when needed…credentails and all are to be provided in orchestartor under tenant → Machines
cheers
Thank you for the feedback.
How can I provide the login information and everything else in the Orchestrator under “Tenant → Machines”? I have no way of configuring the VM here. See image
Follow this to configure Robot account.
In machines you would allocate licenses and get the machine template details
Go to manage access tab under tenant and that is where you create a user, assign robot role and under unattended setup option you have the option to provide the user credentials …
So the combination of machine and license is used
Cheers
hello @Anil_G, thanks for the feedback. I have already created a robot with this setting and it works well. See image below.
But if I start a process from orchestrator and my remote desktop is disconnected or unlocked, the process in orchestrator is pending until I manually reconnect the remote desktop. My question is:
How can I set up the robot so that when I start a process from orchestrator, the remote desktop automatically establishes the connection and carries out the processes?

and when I start the process it says pending:
but if I log in manually in Remote Desktop and start UiPath assistant, the process runs again.
My question is:
How can I set up the Robot so that when I start a process from orchestrator, the remote desktop automatically establishes the connection, start UiPath assistant and carries out the processes?
please follow these steps
- click start menu
- select the person icon
- select sign out
the point here is the vm should be running but user should be signed out…if you shutdown the vm is not available
and is the robot installed in service mode on the vm?
cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.


