I’m not able to start my robot process from the command line using another user account. Currently I’m starting the process like this:
“C:\Program Files (x86)\UiPath Studio\UiRobot.exe”
/file:“C:\Users\UserName\Documents\UiPath\UiPath\Robot\Main.xaml” /executor /monitored
It works fine but the automation starts under the user account that launches the command. According to the instructions I should use the /target argument but I can’t get it to work properly. I’ve tried arguments like:
I’ve added both, the domain\UserName as well as UiPath:user=domain\UserName to Windows Credentials. The domain\UserName user also has Log on as batch job privileges.
Does anyone have examples how this should be done?