Work in CMD but not in Task Scheduler

cmd
tasks

#1

When I run the following command in CMD everything works:

C:\Users\Administrator\AppData\Local\UiPath\app-17.1.6414\UiRobot.exe /file:“C:\Users\Administrator\Documents\UiPath\Telelink\Main.xaml”/monitor

But when doing the command from the task scheduler I get 2 errors:
Task Scheduler failed to launch action “C:\Users\Administrator\AppData\Local\UiPath\app-17.1.6414\UiRobot.exeC:\Users\Administrator\AppData\Local\UiPath\app-17.1.6414\UiRobot.exe” in instance “{82d58d78-2afc-4761-b582-426c304d7df9}” of task “\UIPath Telelink job”. Additional Data: Error Value: 2147942402.

and

Task Scheduler failed to start “\UIPath Telelink job” task for user “WIN-C0SHE18Q5NF\Administrator”. Additional Data: Error Value: 2147942402.

What could be wrong?


#2

[quote=“Alex_b, post:1, topic:8648”]
Hi,

Does the computer has admin privileges? can you launch the task manager as admin and check :slight_smile:


#3

Ok fount the issue.

Had to chance to this setup:

Program script section:
C:\Windows\System32\cmd.exe

Arguments:
/c C:\Users\Administrator\AppData\Local\UiPath\app-17.1.6414\UiRobot.exe /file:“C:\Users\Administrator\Documents\UiPath\Telelink\Main.xaml”/monitor

Now I tried to move this to the SQL job agent, but with no success. Did you have any experience with this?


#4

Hi @ddpadil
I am Creating a scheduling Process in task Scheduler to automate the certain task at a particular time. In that we have two scenarios
i) run only when user is logged on
ii) Run whether the user is logged on or not.

In the first scenario, it’s working fine. But in the second scenario is not working ?

Is there any Possibilities to work on this issues or this features is supported by UiPath ?
any idea!!!

Regards
RaviDevaraj