Skip to main content
Flight Specialist | Tier 4
May 5, 2026
Solved

Unable to perform rdp or Bot launched crashed

  • May 5, 2026
  • 12 replies
  • 389 views

Hi everyone,

I have a bot runner hosted on AWS Workspaces. We decide to switch to RDP from Regular deployment setting because on Regular the screen resolution would be reset to an inadequate resolution.

However, on random occasions this error occurs : 

Unable to perform rdp for the user as we have exceeded the maximum session count. This may be due to multiple reasons. To continue, please Make sure you logout from sessions that are not required at the moment. Then, try to run the bot again. If you continue to see this message, please contact your system administrator.

To solve this I have tried to Log off the bots after a run (see screenshot)

This error does not occur again but a new one now appears : 

Bot Launcher for user session **** crashed.Last recorded command ****

The last recorded command is generally the first command to open/manage a web browser. That means the bot starts and logs correctly that it has started in a file before crashing.

 

Does anyone know how to permanently solve this problem ? On another old topic someone suggested rebooting the VM every time this problem appears but it does not seems resilient.

 

What are your thoughts on that ?

 

EDIT : I did not remind a fact : AWS Workspaces only allows for one connection at the same time to the VM

Best answer by Augustin

This ended up being solved following this page, for reasons I don’t fully understand.

https://apeople.automationanywhere.com/s/article/Issue-with-Commands-like-Object-Cloning-Image-Recognition-Keystrokes-It-Error-Out-With-Black-Screenshot

12 replies

AugustinAuthorAnswer
Flight Specialist | Tier 4
June 11, 2026
Cadet | Tier 2
June 29, 2026

Hi @Augustin

I’d like to know which step you performed in the article?

 

Thanks