How to disconnect from remote desktop while keeping attended bot running?

I am working on migrating UiPath bots to AWS EC2 instances instead of running them on on premise machines.

I am using attended bots. As per UiPath’s document (, these type of bots can’t run under a locked screen.

Closing Remote Desktop will lock out the computer.

I found one possible way here -

Wanted to check if there are any other solutions to this as user(s) might forget to invoke the require command when signing out.

1 Like

hi @Lalit_Bhatt
welcome to the uipath community

inserted of connecting to relevant machines by remote you can use some viewing tool to check your machines