16-07-2021, 11:02 AM
Hi,
I tried to use variables, when starting a program defined in the rdp section, using ASG-RD 2020 Patch7 (13.0.6985.1)
I could replace some values with variables, but not all.
I'm using a program psm to connect via CyberArk PSM to the destination server
Example:
Folder
Name: contoso.com
Connection (within Folder "contoso.com")
Name: server1.contoso.com
Setting RDP\Programs\Execution path: psm /u myAccount@contoso.com /a server1.contoso.com /c PSM-RDP
Credentials: myAccount
I could replace:
myAccount with %username% (Taken from the credentials)
server1.contoso.com with %name% (Take from the name of the connection)
I would like to replace the domain of the logon account (contoso.com) with the name of the containing folder.
I tried the variable %ConnectionFolderName%, which was introduced with ASG-RD 2020
From the Online-Help: "Folder name of the folder where the connection object is located."
Did I missunderstand something? Or is there another variable for this?
And an one more question: Is there a way to check, how ASG-RD resolved a variable (which value it used)
Thanks for helping
Chris
I tried to use variables, when starting a program defined in the rdp section, using ASG-RD 2020 Patch7 (13.0.6985.1)
I could replace some values with variables, but not all.
I'm using a program psm to connect via CyberArk PSM to the destination server
Example:
Folder
Name: contoso.com
Connection (within Folder "contoso.com")
Name: server1.contoso.com
Setting RDP\Programs\Execution path: psm /u myAccount@contoso.com /a server1.contoso.com /c PSM-RDP
Credentials: myAccount
I could replace:
myAccount with %username% (Taken from the credentials)
server1.contoso.com with %name% (Take from the name of the connection)
I would like to replace the domain of the logon account (contoso.com) with the name of the containing folder.
I tried the variable %ConnectionFolderName%, which was introduced with ASG-RD 2020
From the Online-Help: "Folder name of the folder where the connection object is located."
Did I missunderstand something? Or is there another variable for this?
And an one more question: Is there a way to check, how ASG-RD resolved a variable (which value it used)
Thanks for helping
Chris