Hi
@Jasmeet SinghFortunately, Blue Prism has the Blue Prism Login Agent. This commponent give you the possibility to login into your Virtual Machine. Here you have the official documentation for this:
https://bpdocs.blueprism.com/bp-6-10/en-us/Guides/login-agent/login-agent.htmAll of the password in Blue Prism are saved in the Credential Manager. This component encrypt the password and stores it securely. Here you have the article of this component:
https://bpdocs.blueprism.com/bp-6-10/en-us/helpCredentials.htmThen... when you talk about execute a process through a command, you mean to execute a command in the CMD or Powershell? If this is it, you can use the action "Start Process" from the VBO Utility - Environment (Here you have the DX Asset:
https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment)
And finally, for logout, you can use again the "Start Process" action and call the "shutdown" command with the argument "/l".
So, finally, you need to create a full process that:
1.- Login in the VM by using the Login Agent
2.- Execute your process with the Start Process action
3.- And logout using the the command "shutdown /l"
This process should be executed from the Blue Prism scheduler this will allow you to launch automatically
Hope this helps you! And if this solves the problem, remember mark as the best answer!
See you in the Community, bye :)
------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------