Skip to main content
Question

Unable to perform rdp or Bot launched crashed

  • May 5, 2026
  • 5 replies
  • 59 views

Forum|alt.badge.img

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

5 replies

Forum|alt.badge.img
  • Author
  • Flight Specialist | Tier 4
  • May 6, 2026

Update : I have rebooted the VM but it does not seem to change anything


Forum|alt.badge.img
  • Author
  • Flight Specialist | Tier 4
  • May 7, 2026

I have switched the deployment option to multiple users but I got anew the error  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.

 


Dineshkumar Muthu
Flight Specialist | Tier 4
Forum|alt.badge.img+1

Hi ​@Augustin,

A common reason for this issue is multiple users being connected to the same Bot Runner device at the same time. When that happens, the device can hit its maximum allowed session limit, which causes RDP failures or unexpected bot crashes.

I recommend checking:

  • How many user sessions are currently active on the impacted Bot Runner machine
  • What the maximum allowed session count is for that server
  • Whether any disconnected but still active sessions are consuming resources
  • Whether the auto‑login configuration is correctly pointing to a single dedicated bot user (which already looks good in your setup)

Once the session count is corrected and only the intended bot user is active, the issue usually stabilizes.

 


Forum|alt.badge.img
  • Author
  • Flight Specialist | Tier 4
  • May 12, 2026

Hi ​@Augustin,

A common reason for this issue is multiple users being connected to the same Bot Runner device at the same time. When that happens, the device can hit its maximum allowed session limit, which causes RDP failures or unexpected bot crashes.

I recommend checking:

  • How many user sessions are currently active on the impacted Bot Runner machine
  • What the maximum allowed session count is for that server
  • Whether any disconnected but still active sessions are consuming resources
  • Whether the auto‑login configuration is correctly pointing to a single dedicated bot user (which already looks good in your setup)

Once the session count is corrected and only the intended bot user is active, the issue usually stabilizes.

 

Hi Dineshkumar,

 

AWS Workspaces only allows for one connection at the same time and I have tried all the different settings it seems.


Dineshkumar Muthu
Flight Specialist | Tier 4
Forum|alt.badge.img+1

Hi ​@Augustin,

A common reason for this issue is multiple users being connected to the same Bot Runner device at the same time. When that happens, the device can hit its maximum allowed session limit, which causes RDP failures or unexpected bot crashes.

I recommend checking:

  • How many user sessions are currently active on the impacted Bot Runner machine
  • What the maximum allowed session count is for that server
  • Whether any disconnected but still active sessions are consuming resources
  • Whether the auto‑login configuration is correctly pointing to a single dedicated bot user (which already looks good in your setup)

Once the session count is corrected and only the intended bot user is active, the issue usually stabilizes.

 

Hi Dineshkumar,

 

AWS Workspaces only allows for one connection at the same time and I have tried all the different settings it seems.

Hi ​@Augustin , 

The issue happens because the auto‑logoff on the Bot Runner machine doesn’t trigger properly, leaving an active session behind. When that session stays open, the next RDP attempt or bot execution can fail or crash.

Adding a System → Logoff action as the final step in the bot is a practical workaround. It forces the session to close cleanly every time the bot finishes, ensuring the next run starts fresh without leftover user sessions.