AndresL5 Member since 2018 33 posts
Scotiabank Colpatria
Posted: 11 months ago
Last activity: 11 months 2 weeks ago

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
Share this page LinkedIn