Access denied if run from Scheduler

Hi,

If I try to run the robot from windows scheduler or via SSH using “UiRobot.exe execute --process NameProcess”, I get access denied. If I put this command in a bat file and run it from that file, the process starts normally. The problem only occurs with UiPath, for robots written in Python everything works fine. Any ideas?

@pikut

Does your robot which is running it has required permissions to start the job?

Cheers

@Anil_G

The script is scheduled to run from my account, which is an admin account, just like when I connect through SSH using the admin account. However, it still returns an access denied error. If I manually run the script file, it works correctly.

@pikut

May be it is using the local host instead of your user to cell the script

Cheers

Hi, I got the same issue using Windows Task Scheduler. I realized it is due to the security options. When I chose run without log on or with high privileges, I got ‘Access denied’ message. In my case, I think this option is enough for me:

Cheers,
Azeem

Why are you guys trying to run via the scheduler, the assistant has the ability to schedule robots so you can start them when you need to?

I am pretty sure the Task Scheduler is not supported.

1 Like