Bot only runs successfully when I disconnect from vm (click "x").

Badge +3

Hi all, I am having issues with running a bot in a VM.


The bot fails to run at scheduled times. Also when I'm inside the vm and I sign out and run it, it still fails. It is successful only if I disconnect from the vm (click "x") and then run the bot. (AA highly recommends to only sign out of VMs).


The failures keep pointing to a path issue, but that is not the case because the bot works when I disconnect from the vm.


Please let me know if you have any advice.

2 replies

Userlevel 6
Badge +16

Hi @Eric Sullivan​ ,


I'd recommend opening a support ticket with AA using below link>


if you don't have access to the above link, Send an email to AA Support team "" to get the access.

Userlevel 6
Badge +15

Hi @Eric Sullivan​ 


It seems that the user console session is not getting disconnected properly after first run. Can you please try to logoff from machine using attached batch file(run the batch file as admin) and then deploy the tasks.


Please execute the batch file using the admin mode, after the schedule task , give it try. I hope this will help you to resolve the issue.