How to Automatically Close UiPath Robot After a Period of Inactivity?

How to automatically close UiPath Robot after a period of inactivity?

Create a batch file and schedule it using Task scheduler which disconnects the Robot on idle timeout and Follow the steps below:

1. Run command : UiRobot.exe --disconnect to disconnect the Robot from Orchestrator

 

Image_2019-11-05_11-34-39.png

 

2. Create a batch file using the above script

 

3. Create a Task Scheduler which runs the above batch file on idle timeout

Image_2019-11-05_11-42-26.png

 

  A. In Triggers > New >  Specify the trigger criteria

  Image_2019-11-05_11-39-44.png

 

  B. Actions > New > browse the batch file

Image_2019-11-05_11-40-48.png

C. Additionally specify Conditions and Settings.