Signout + VM + Attended Bot

Hi

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

@Sairam_RPA

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

cheers

you should be able to use the

logoff

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

Or

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
logoff

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.