Changing the Windows Resolution

Hi all,

Is there a way to changing the windows resolution via v.b code or UiPath Activity? Because in my process i’m taking the screenshot via vb.net and I’m working on VM. so windows resolution is changing depends on the where you open it. It’s not stable.
What i want is that, when robot runs, windows resolution changes to previous version or specific resolution.

Thank you.

@Kuki_Force

For unattended robots…you can set the resolution in orchestrator itself…

Go to robots and advanced settings…under that disable login to console and then set the resolution that you need

Cheers