Signout + VM + Attended Bot


I need to sign-out of a VM. I am able to automate inside the VM using an attended bot using the remote runtime.

At the end I need to sign-out of the VM. How do I achieve this.

Bot is unable to spy the sign-out buttons in VM. From Cmd prompt I tried “shutdown \l” it shutdowns the VM .

Any help would be appreciated

1 Like


Use invoke powershell and then use the shutdown \I as the command


you should be able to use the


command to log out of the VM without shutting it down.
This will log off the current user.


You can create a batch script that runs the “logoff” command and then invoke the batch script at the end of your automation process

@echo off

Let us know for any further clarification

Cheers @Sairam_RPA

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.