Hi! I have a python code that at some point invokes a UiPath project. I use the uirobot.exe facility.
I have included this python script into a task that is executed by mu Windows Task Scheduler. If I run the python code manually 100% of it works well, however, if I use the Windows Task Scheduler to initiate it, it only works the % of the script that does not include the UiPath parts. I always receive a message as “Access denied” when it comes to the uirobot.exe section. Where is the problem? Why does the python code run well when launched manually but fails to execute the UiPath section when launched from Windows Task Scheduler? What can I do fix it?
Thanks in advance.
When tunning from task scheduler try to run as admin and check
Also open event viewer logs and check the error you see there to understand the difference better
Cheers