Andres Luna (AndresL5)
Scotiabank Colpatria
Process Automation Engineer
Scotiabank Colpatria
AndresL5 Member since 2018 37 posts
Scotiabank Colpatria
Posted: October 9, 2019
Last activity: October 11, 2019
Posted: 9 Oct 2019 10:45 EDT
Last activity: 11 Oct 2019 13:59 EDT

Emulate Sendkeys to allow Bot's running on VM

Hello everybody!

We are having issues running our bots that use SendKeys in VM's. Some of this bots don't run when we close the RDP window, and others don't even run if we minimize the RDP window. We have already tried two solutions:

1. Use tscon.exe script to close RDP sessions correctly for Bot's background execution.

2. Create RemoteDesktop_SuppressWhenMinimized key to avoid the problem when minimizing RDP sessions.

These solutions have worked with some Bots (mainly the ones that use windows applications). However, the bots that use Web Applications and Sendkeys keep failing. Do you know another way to emulate Sendkeys, or an extra alternative to close RDP sessions correclty ?

Thank you for your attention!

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.