Hi,
I am on Mac with RDM 2023.2.5-1. Have set up Cisco AnyConnect and linked a Typing Macro to enter credentials (I have not located any other method to pass credentials to Cisco AnyConnect MFA login prompt). This works like a charm when connecting to VPN.
However, when configure AnyConnect inside RDP connection or Host object and link the same typing macro, it does not seem to enter login and password (VPN session starts and login prompt appears no problem).
"Allow Password from Variable" is enabled in all objects (VPN, RDP and Host).
Please kindly advise.
Best regards,
Yuriy
Hi,
I've moved your thread to the RDM Mac section of the forum.
Macro indeed do not work with RDP entries. We simulate keyboard events with the Macro entries, but they do not seem to register properly with RDP entries.
This might be a bug, or it might be an unfortunate limitation of how we simulate key press. I'll open a ticket to investigate.
Best regards,
Xavier Fortin
Thanks Xavier! Please note though I am using Cisco AnyConnect with MFA (Web) login prompt. I was able to let it work as expected when I select existing VPN session.
Hi yuriysamorodov,
I've had the time to investigate this a bit. Macros actually do work in RDP sessions, I just had improper Assistive Access permissions. I suggest trying to reset all RDM permissions with the following command:
tccutil reset All com.devolutions.remotedesktopmanager
If this does not solve the issue, I might misunderstood the issue. Maybe you could provide a small video demonstrating it?
Best regards,
Xavier Fortin
Hi yuriysamorodov,
I've had the time to investigate this a bit. Macros actually do work in RDP sessions, I just had improper Assistive Access permissions. I suggest trying to reset all RDM permissions with the following command:
tccutil reset All com.devolutions.remotedesktopmanager
If this does not solve the issue, I might misunderstood the issue. Maybe you could provide a small video demonstrating it?
Best regards,
Running this command worked for me and then allowed MacOS to run the proper requests to allow RDM to make changes to MacOS settings to allow accessibility features in order to run the typing macros.
However, is it possible to double click on multiple windows and let the typing macros run in the background? I am trying to log into a large list of RDP sessions and I would ideally like to open an entire Folder and have every session in that folder run the typing macro in the background so that it presses enter for every RDP session in that folder. The macro only works for the actively selected RDP session that is visible in the foreground. The rest of the sessions are stuck on the click OK to login screen.
Hello Davisoncaleb,
I will have to run some tests to see if it's possible.
I will come back to you as soon has I have a definitive answer.
Best regards,
Michel Lambert
Hi davisoncaleb,
Just to confirm your exact scenario, you have multiple opened sessions and you would like to execute a macro on all of them simultaneously?
If so, this is not supported now, and it would be relatively tricky to implement. And the complexity rises with the various session types we support. For instance, with SSH sessions which are only text terminal, it wouldn't be so bad, but with RDP, to which we actually have to send individual keystrokes, it would be a lot trickier. We actually simulate key presses with the Macro feature, the entry view actually does need to have the focus to receive those key presses.
Best regards,
Xavier Fortin
Hi davisoncaleb,
Just to confirm your exact scenario, you have multiple opened sessions and you would like to execute a macro on all of them simultaneously?
If so, this is not supported now, and it would be relatively tricky to implement. And the complexity rises with the various session types we support. For instance, with SSH sessions which are only text terminal, it wouldn't be so bad, but with RDP, to which we actually have to send individual keystrokes, it would be a lot trickier. We actually simulate key presses with the Macro feature, the entry view actually does need to have the focus to receive those key presses.
Best regards,
I was hoping it to work with RDP. It's not the end of the world, only a small productivity gain by having this capability. For my job, I open a bunch of RDP clients for testing and was hoping there was a way to open the entire group and have them all click OK at the login screen so I could walk away and come back in a minute or two and have them all logged in fully.
If that's not possible, perhaps there could be a macro to run on a folder that would "open all and run typing script" where it would open session A, run macro X, switch to session B, run macro X, switch to session c, run macro X, etc... this way it's not in parallel, but is still fully automated for logging into all the RDP sessions.
At the moment, no such features exists. But we could add support to run Macros on multiple entries by having it focusing the sessions one after the other (a bit like you describe). It would not be simultaneous, each session would need to be done one after the other.
That being said, I can't provide a time frame for this as it's still relatively tricky to implement.
Best regards,
Xavier Fortin
At the moment, no such features exists. But we could add support to run Macros on multiple entries by having it focusing the sessions one after the other (a bit like you describe). It would not be simultaneous, each session would need to be done one after the other.
That being said, I can't provide a time frame for this as it's still relatively tricky to implement.
Best regards,
That would be great! Again, it's not the end of the world, but it woudl be a nice feature to add so I could click open and walk away and do a different task elsewhere in a different program.
Well, as mentioned, the Macro mechanisms kind of hijack the keyboard inputting. While this occurs, RDM would need to keep the focus, so that the sessions can have the keyboard focus. Otherwise, whatever the macro does risk being outputted in whatever other app you put the focus on.
Otherwise, we would need a entry type specific mechanisms for each entry type that would support it, and no guarantee that we could support it with any other platforms. Also, those mechanism don't exist (except for the terminal entries, SSH, Telnet, Serial).
Best regards,
Xavier Fortin