PSM RDP issue after password rotation when using RDM script instead of PVWA
Hi everyone,
We have a setup where some departments access their accounts through RDM instead of PVWA because they are more familiar with RDM.
We created a script for this access flow, and it was working fine when the user had only one account and the account address was defined as an IP.
Later, after password rotation changes, we grouped multiple IPs under one account and changed the address definition to use the LDAP server DNS instead of individual IPs for rotation purposes.
Since this change, the script is no longer behaving as expected.
Here is the RDM script we are using (sensitive info masked):
Full address:s:X.X.X.X
alternate shell:s:psm /u <username> /a X.X.X.X /c PSM-RDP
username:s:<RDM_User>
desktopwidth:i:1024
desktopheight:i:768
screen mode id:i:2
redirectdrives:i:1
drivestoredirect:s:*
redirectsmartcards:i:0
use multimon:i:0
EnableCredSspSupport:i:0
redirectcomports:i:0
remoteapplicationmode:i:0
The script was working before when the account address was directly mapped to a single IP. After switching to DNS/LDAP-based addressing for rotation, the behavior changed.
Has anyone faced a similar issue when using RDM with CyberArk PSM after changing from direct IP-based accounts to DNS/LDAP-based rotation? Could this be related to PSM target resolution, alternate shell behavior, or account mapping?
Any troubleshooting suggestions would be appreciated.