Robot stops working if I close virtual machine

Hi,
I have a robot running in a virtual machine and while I run it in both debug and the orchestrator, when I minimize or close the virtual machine, it stops detecting the elements of the page where the robot is working. It is the only robot I have this problem with, the rest I can leave the machine closed and it continues working.

Greetings

The robot can normally start on its own without you opening the VM right? Does it error if you leave it entirely logged off, and run the process without entering the VM?

@RPA_NOZAMA,

In debug mode, it’s may not work as it would running as attended mode but if it isn’t working in Unattended mode also, check if the robot is installed as Service mode or not.

Thanks,
Ashok :slight_smile:

@RPA_NOZAMA

ideally after you start the process you should not minimize or logout

you can let the bot itself login so that you dont see any issues

cheers

Hello, I understand about having UiPath installed in service mode but if it were bad no project would work and only this project is the one that gives me the problem, I can run the rest of the projects by closing the virtual machine and they continue working.

What I normally do is enter the virtual machine and run the robot and then close the virtual machine. The problem is that as long as I have the virtual machine on the screen looking at what the robot is doing, it works, but as soon as I minimize the virtual machine window or close it it stops working.

@RPA_NOZAMA,

Ohh ok if the current project is facing the issue then it must be input method for U/se Application/Browser. Change it to Simulate and it would work in background as well.

Thanks,
Ashok :slight_smile:


In what option?

There is your problem then, thats not how it works. When you start a process the robot can log in by itself and run the process. If you dont do it like this the desktop effectively closes when you close the VM, so various Ui activities will fail.

Can you confirm what type of licence and robot you are using?

1 Like

@RPA_NOZAMA,

Input mode should be Stimulate