When we try to run the robot through task scheduler we get this error
RemoteException wrapping System.Runtime.InteropServices.COMException: A required privilege is not held by the client. (Exception from HRESULT: 0x80070522) .
Interesting is that when we restart the VM, the process is ran, but as soon we sign out, the process fails to run on the second try.
Did that already, nothing helped. But now I see when I kill the services from Task Manager and then restart them from Services, evrything works fine. After I sign out and try to start the script the error pops again.
Yes, if we set the account as Admin everything is fine, but for security reasons we cant. Interesting is that on another machine the accounts are not admins and they work fine. We’ve checked everything and the set up is the same. The only different thing is the studio version - 18.4
Can you @loginerror help with that issue?
It is really hard to say. We officially support unattended automation only via Orchestrator, with the legacy possibility to use the Task Scheduler method.
If you are an enterprise customer, with a very specific use-case, I would advise you to contact our technical support for further consultation: