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




2. Create a batch file using the above script


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



  A. In Triggers > New >  Specify the trigger criteria



  B. Actions > New > browse the batch file


C. Additionally specify Conditions and Settings.