Dual Factor RDP - Include OTP / PIN to user field via prompt of clipboard or macro

Dual Factor RDP - Include OTP / PIN to user field via prompt of clipboard or macro

avatar

We use AuthLite with a OTP (pin that changes every 30 seconds) for a dual factor RDP logon. To login we combine the OTP with the username username-OTP. Another option is if we could just use the clip board as a variable.
I see two very workable scenarios:
Option 1) Prompt for the OTP (or anything you wish to use in a macro or variable). Then the user can be set to Username-$PromptResult$
Option 2) Let us use the clipboard content like a variable. I can easily get the pin on the clipboard. Then the username can be set to Username-$Clipboard$


This would be a very minor code change, especially option 2. I can actually make this work already by setting up all my connections as Templates. I then enter my OTP in the QuickLink field and can reference the username as Username-$QUICK_CONNECT$ and it works. This is OK if only one or two of you sessions use dual factor but it becomes cumbersome.
Meantime, since we can already use custom field values in the user name, can anyone provide how to do a macro to copy the clipboard into a custom (or any info field) field or prompt for a value and put that in the custom field? Then we can just reference that custom field.

All Comments (2)

avatar

Hi,
I will enter a feature request to copy to the clipboard an item in the before connection event.

David Hervieux

avatar

Hello,

I wanted to confirm that there will also be a new variable called $CURRENT_CLIPBOARD$ which will use the clipboard's text value.
This will be available in the next beta version.

Regards,

Hubert Mireault