问题
I scheduled a task to run in the control room but it couldn't run unless I log on to the runner machine. Please let me know how I fix this. I get this message
AAE was unable to unlock or logon onto the machine RUNNERMACHINE to run the task. Check the Login Settings (under Tools->Options) in AAE Client on RUNNERMACHINE. Refer the AAE Client’s help documentation on Auto - Login for more details
回答1:
You need to ensure a couple of things - make sure you have Auto Login enabled in the Options of the AA Client under Login Settings. Also make sure your credentials there are correct. If there is a legal disclaimer, you'll need to use that bypass checkbox.
If you use remote desktop to access your bot runners, you may need to run a batch file to forcibly log yourself off so the Control Room can connect through its RDP to the bot runner.
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
%windir%\System32\tscon.exe %%s /dest:console
)
Rundll32.exe user32.dll, LockWorkStation
Might look something like that.
来源:https://stackoverflow.com/questions/52990560/automation-anywhere-the-scheduled-task-cant-run-on-the-runner