I want to run uipath robot automatically. What ways can it?

Please some advice for me.
I’d like to run uipath robot automatically through task scheduler, remote(ex. Sc.exe, bat, powershell and so on) and other ways, tools.

If you have any experiences, please share your ways.

*Environment detail
OS:Windows Server2008 R2(64bit)
Uipath version: 2019.9.2 Enterprise Edtion
Robot version: 2019.9.2

1 Like

How about orchestrator @tomo007

We can do alot of things with our robot using the orchestrator!

cheers :smiley:

Happy learning :smiley:

Hi @tomo007,

If you want to run on windows server you can use windows task scheduler with bat file.


I appreciate for your reply!
As far as I know, the unattended robot is able to run by orchestrator. But I don’t know what the robot I use is unattended type.
Please teach me how can I check.

1 Like

Thank you for your reply.
Umm, I already try the below way. But I could not start up robot processes.

  • Task scheduler
  • Task scheduler with bat
  • Task scheduler with powershell

But I didn’t try the way, will try it!

Thanks you!

C:\Users\PCName\AppData\Local\UiPath\app-19.10.0\UiRobot.exe -file C:\Users\PCName\Documents\UiPath\ProjectFolder\Main.xaml

You copy paste above line in a notepad and save as .bat file.
You call this batch file from windows task scheduler and it will run automatically as per given time in task scheduler. you can define different timings in the scheduler.
Hope my inputs are useful.

1 Like

@rkelchuri, @Sat
I tried the way, but the uipath robot is not run automatically. It means a robot process(Uipath.Service.UseHost.exe) does not appear task manager.

When I w-clicked a bat file, a robot process started but the uipath xaml file was not run.
Do you know any reasones?

Kindly check once whether the file path of xaml and the uipath.exe file is correctly referred
That could be the reason
And one more thing windows task scheduler is not supported any more in uipath
So we got ORCHESTRATOR to handle this.
And while creating robot in ROBOT tab in orchestrator we can set the type of robot whether It has to be a unattended or attended robot

Hope this would help you
Cheers @tomo007

Please find entries as follows:

This will work 1000% as many ppl are using it. You just need to make sure correct path.

Please use only 1st line entries. 2nd line is only for format explanation.

@Palaniyappan @rkelchuri
Umm, The bat file I made is corectly, I think.
I write down the entries:
I shortened some sentances.

“C:\Users****\AppData\Local\UiPath\app-19.9.2\UiRobot.exe" -file "D:\Uipath*\Main.xaml”

It’s correctly, isn’t it?

1 Like

No need to use “” (quotes)


We can do alot of things with our robot using the orchestrator!

Please let me teach how to start up robot with using Orchestrator.

1 Like

I tried. but the bat does not run via task scheduler.
Do you have any reason why the bat does not run.

Since the last UiPath update task scheduler gives the error 0xFFFFFFFF when running .bat. Does anybody have a workaround?