Run UiRobot process from Windows 10 Task Scheduler



I want to have UiRobot loaded and running process if restart of computer because of update happens. I have community edition of Ui Path studio and I’m running Windows 10 (english version) 64x. This is what I have
Location of UiRobot.exe
Location of process I want to run
C:\Users\TOM\Documents\UiPath\TEST 1\Main.xaml
Location of package

I tried to make something out of


but no win there.
Please advice how to solve this

UiPath Scheduler Button
Abbyy OCR


The only drawback is that CE autoupdates. Next time UiRobot might be located in another app-xxx folder. I guess that can be automated too with a script, not with UiPath.


Thanks for that warning. As I’m targeting just start up, I added shortcut to startup in windows, but now, with UiRobot changing folder location, that doesn’t work in the long run. Thanks


This only works if you run it in an active session. I have tried a number of options to run it session 0. Including:

  • Having sequence that launches the Workflow Interactive
  • adding /process or /invoker.
    Can uipath please provide clear documentation on how to best schedule a task to run irrespective if the user is logged on or not? There are a number of articles, but none seem to be conclusive.


Hi @thuylam,
DId you get any solutions for the same problem? I am also facing the same problem.
@badita can you please help us on the same?



+1. I’m looking towards a resolution to this, as well.


Even though the documents say this is unsupported this works for me. Note that if you are logged into the virtual server and run the schedule to test you will be immediately logged out.

  • Open Credential Manager->Choose Windows Credentials and add a** new Generic Credentials** with the following format
    • Internet or network address: UiPath:user=<domain\username>*
    • User name: domain\username
    • Password: Your user’s password

Docs are here:


Hi, @bobpeers.
I have done same as mentioned but no success for both logged in & logged out session
Do we have to mention a version of UiPath in Windows generic credential? as shown in document

UiPath=user:<domain\username> v8.1.5855.24349 - v2016.1.5942.30558


Hi @Neeraj83,

actually if the user is always logged in then you don’t need the UiPath=user part I just have the robot to run only when the user is logged in and in the actions you need:

“C:\Program Files (x86)\UiPath Platform\UiRobot.exe”

Plus the arguments look like:

-file “path to file.xaml” --monitor

If I manually start the script I am then logged off the server and the robot runs. This robot runs every night at 1am without issues.


Hi @bobpeers
Thanks for reply!!
I have achieved the scenario if the user is logged in now I want to try for non logged in user.
as per given steps below configuration is done.
a) Task schedule through Windows Task Scheduler with all above steps
b) Set Windows Generic Credential
c) Set Run whether user is logged on or not in Windows Task Scheduler.

All above points are configured still the process is not getting executed.


Any updates on this? I am also having the same problem. Thanks


Hi @ahiller,

This feature is no longer supported. We recommend using UiPath Orchestrator to schedule all your automation projects.