Once of the challenges in running RPA Express remotely is that you lose your ability to perform UI (and some keyboard) interactions the minute you log off of a Remote Desktop Connection. I’ve been looking for an answer to this issue–including following multiple posts here–but haven’t been able to find one. Then I mentioned the issue to a friend of mine who is a QA Automation Engineer and asked me why I wasn’t using tscon.
tscon (C:\Windows\System32\tscon.exe) has multiple uses, but in this case it’s a windows system utility that you can use to transfer your remote desktop session to the host console. QA testers use it to run automation scripts ‘in the dark’. Based on my initial testing, it seems to work equally well in the same scenario for RPA Express. You can find the Microsoft guidance here:
There’s also a good writeup on Stack Overflow on how to find your session information and use tscon to transfer your RDC session to the console, here:
Caveat: this approach does leave the remote computer in an unlocked state. Depending on your security situation and hardware implementation, this may be an issue. I’m running on VMs in an otherwise highly secure environment so it’s less of an issue.