Question

Our Production Bot failed with the following message. Can someone let me know why cause this error to occur?

  • 9 March 2022
  • 4 replies
  • 376 views

java.lang.RuntimeException: {"message":"Error creating RDP session.","details":"[13:00:14:157] [11160:0000170c] [error][com.freerdp.core.connection] - Timeout waiting for activation","correctiveAction":"","code":"rdp.error"}


4 replies

Userlevel 6
Badge +9

Hi @Lucy Phan​,

 

Please review these KB articles to see if they help.

 

https://apeople.automationanywhere.com/s/article/Checks-to-be-performed-while-bots-fail-in-unattended-mode/p>

https://apeople.automationanywhere.com/s/article/Automation-360/p>

https://apeople.automationanywhere.com/s/article/Error-creating-RDP-session/p>

 

If not, then it would be better to raise a support ticket so that the support team can assist you further.

 

Regards,

Puneet

Badge +5

https://apeople.automationanywhere.com/s/article/Error-creating-RDP-session

can a link which is accessible to all be provided to this

Userlevel 5
Badge +10

@Lucy 3556 

 

This issue may occur different reasons

In my scenario, it was happened due to third party password reset (Sailpoint password reset plugin).

This may occur if any CTRL+ALT+DeL policy disabled 

 

another solution

Step 1 : Have to use Regular deployment setting rather than RDP deployment

Step 2:  Please run below script whenever you are login into bot runner vdi (no need to sign out, disconnect just execute below script)

              --- Save file As DisconnectRDP_Lock.bat-------

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (

  %windir%\System32\tscon.exe %%s /dest:console

)

rem Rundll32.exe user32.dll, LockWorkStation

Userlevel 5
Badge +10

@Lucy 3556 Also check attached settings

Reply