Start a new topic

Key Sequence replacing first character with 'e'

Hi,


I'm trying to send key sequences to a remote session (actually I want to logoff by sending keys), so for testing purpose I created a key sequence like this and sent it to a remote server:


{LWIN}{WAIT:500}cmd.exe{WAIT:500}{ENTER}


(Windows key redirection is enabled). So basically it's somewhat working: the Windows key is presse,d but instead of "cmd.exe" it searches for "emd.exe" (so it opens search). Same thing happens with


{LWIN}{WAIT:500}powershell.exe{ENTER}


Command gets modified to "eowershell.exe"


So for whatever reason the first character is replaced by an "e".

It works perfectly fine if the key sequence gets executed on the local computer.


I assume I'm not doing anything wrong?


BR,


Martin

1 Comment

Hi Martin,


you're right, this is very weird. It seems that the Microsoft RDP ActiveX control which ships with Windows has some weird issues when we send a Windows key press to the remote session. As you figured it out already, we are actually sending the "c" character to the remote session because locally we see that the "c" key is pressed. I was able to workaround it with a hack like this:


1 person likes this
Login or Signup to post a comment