The following code works fine with active Remote Desk Top:
WinActivate ("THRIVE PRODUCTION SERVER - Thrive")
Sleep(6000)
ControlFocus("THRIVE PRODUCTION SERVER - Thrive", "", "Button1")
Sleep(3000)
SEND("{LEFT}{ENTER}")
Sleep(6000)
But does not work when RDP session is locked.
Thank you in advance