How to configure Studio and Orchestrator for a single Unattended Robot to run jobs?
Scenario:
- UiPath Assistant shows that the machine is connected but unlicensed
- Orchestrator shows that their 1 production unattended license is 100% utilized, but if the user clicks the Disconnect button then Orchestrator shows 0% of their production licenses are used
- Jobs started manually in Orchestrator are stuck in pending state where the Job Details popup indicates that: “This job cannot run with the current folder configurations. Windows process. This job can only run on a windows machine and there is none connected to this folder. Please fix the folder configuration to resume job execution.”
- However, if the user is logged into the bot’s account when a job is kicked off from Orchestrator, the job is able to start successfully as opposed to sitting in the pending state.
Resolution:
- Confirm Studio is installed in Service mode, else reinstall using Custom > Unattended Robot.
- Confirm instructions to set up user's machine in correct folder.
- Confirm Studio is installed in service mode by opening Task Manager (Win+X, third from the bottom), selecting the Services tab and any item in it and searching for "UiPath Robot". If that service is not active, uninstall and reinstall Studio, selecting Custom>Unattended Robot on the respective screens.
- In Orchestrator, select the Orchestrator icon on the left, then Tenant > Machines. Find the user's entry and select the "Copy" icon next to the "More Actions" icon (three dots) on the right side. That will copy the machine key for the next step.
- Select "Manage access", find the user's entry again and select the "More Actions" icon on the right side. On the Robot setup stage, ensure that the user has "Machine login credentials" selected and filled in.
- Next, look at the Orchestrator folder to which the package is published. It is recommended to use "Modern" folders, rather than "Classical". If cursor is hovered over the folder, "Classical" folders are shown in reddish-orange. Assume using a Modern folder, select it.
- On the right panel, select "Machines", then the blue "Manage Machines in Folder" button on the right side, and finally the "Add machine" button, where you'll paste Corey's machine key.
- Following these steps, Assistant should show the user's machine as "Connected, licensed" and the Unattended Robot should pick up jobs as expected.