I am running an unattended BOT on a new VM, but the VM's resolution keeps changing

The VM resolution keeps changing on the on-premises VM, which never happened on the Azure VM.
I’ve already updated the resolution in the UiPath robot through Orchestrator.
I also changed the resolution in the UiPath settings file and set login to console as ‘false’. However, I’m still experiencing this issue, and it seems random—sometimes it works perfectly, but other times it picks the wrong resolution and the process fails.
Can anyone help me with this problem?

@Sofiya_Dalwai

As you have tried basic troubleshooting steps, please raise this with the support team.

Hi @Sofiya_Dalwai

Try to disconnect RDP, not log off & keep LoginToConsole = false; ensure no one opens the VM at another resolution before the robot runs.

Happy Automation

@Sofiya_Dalwai

when it changes check the activity if the vm is opened and left disconnected instead of signout or if the vm is kept open

cheers

VM is generally open without signing out.

@Sofiya_Dalwai

thats not the ideal way..you might need to signout so that the resolution and other settings are taken

cheers

How can I signout from VM?

@Sofiya_Dalwai

click on start(or windows icon) → select the person/account icon → click signout

cheers

can we use PowerShell script to log off?

@Sofiya_Dalwai

When only robot runs it would signout automatically

this is required only when manually someone signs into VM

cheers

Yes, in my situation, only the robot operates on that VM. No one logs in except once a month for patch updates.

@Sofiya_Dalwai

is the issue happening in sync with patch updates only?

if the session is left open that is whn this issue might be occuring

cheers