PSM for Windows - Native RDP Client Skip to end of metadata

PSM for Windows - Native RDP Client Skip to end of metadata

192
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:54 PM


Objective


Users can connect to target systems directly from their desktops using any standard RDP client application such as MSTSC, different Connection Managers or RDP files, and therefore benefit from a native user experience. Although the connection is established directly from the user’s desktop, PSM provides complete isolation of the target systems, ensuring that privileged credentials can never reach users or their devices.

Environment


14.6

Procedure


Prerequisites

Before using an RDP Client application, make sure you have the following:

  • The PSM server must be installed on Windows 2012 R2 / 2016 /2019.
  • The PSM server must be hardened.

    Connections can be made from Unix / Linux / Mac / Windows end user machines, providing that the RDP client application which is used to establish the connection includes the ability to configure the Start Program setting for the RDP connections.

 Considerations

  • When connecting using an RDP client application, configurations of the RDP settings for drives, printers and clipboard redirection that are made in the connection component level are enforced, and platform level configurations are ignored.

  • Connections with accounts that require access confirmation (dual control), ticket ID or which require the user to specify a reason for connecting are not supported when the connection occurs using an RDP client application. Use PVWA for such connections

     If your request to use the account was approved, you are able to connect using an RDP client application with this account.

  • Connections with an RDP client application when NLA authentication is enabled in the RDP client application are supported.
  • If your PSM server is configured to require NLA for remote connections, you must review the NLA considerations as described in the section: Establishing Connections Through PSM when NLA Authentication is Enabled on the PSM Server, in the Privileged Account Security Installation Guide.
  • Connections made from an RDP client application are Remote Desktop connections, and are not RemoteApp connections

Supported Connection Components

Below you will find information about the PSM-RDP and PSM-SSH connection components.

Connecting to a Remote Windows Server (RDP) Using a Standard RDP Client Application - PSM-RDP Connection Component

    1. Prepare an RDP file. Use the PSM server/address for the Computer/Address section. The Username can be blank to prompt for username or enter the username of the CyberArk end-user.
      1. There are a few things to consider when specifying the Vault user:

        1. User should be a member of the Remote Desktop Users group on the PSM Server.

        2. If NLA is not enabled, enter only the Vault username.

        3. If NLA is enabled, enter the username as followed:

          1. <NetBIOS domain name>\<Vault LDAP username> (Example: Domain\User)

          2. <username>@<domain name> (Example: User@Domain - This format is used only if the Vault is configured to append the LDAP domain name to the username)

11.png

b. Under the Programs tab specify the PSM command to execute to connect to the target server. For this example we are connecting to the RUSRV server with user Admin using the PSM-RDP connection component.

If the machine running mstsc is windows 10 it may not have the Programs tab. Add the following line to the .rdp file: alternate shell:s:psm /u target-user /a target-address /c connection-component

 

COMMAND psm /u target-user /a target-address /c PSM-RDP

12.png 

c. Save this rdp file for future reference

d. Now connect to the PSM server. MSTSC has NLA enabled by default and the RDP connection will prompt a Windows Security window for authentication.

e. When NLA is enabled for the remote connection (either because it is required by the PSM server, or because it is enabled in the RDP client application you are using), you will be required to complete NLA authentication to the PSM server before you can authenticate to the Vault. This NLA authentication process requires you to enter credentials which are permitted to connect remotely to the PSM server. Meaning, enter either domain credentials (LDAP), or credentials of a local user who is defined on the PSM server. The user that will be used for the server authentication needs to be a member of the Remote Desktop Users group on the PSM server. This membership does not allow them to actually log into the hardened PSM server, but only to connect remotely to it

    • If users are in Remote Desktop Users group but not in the GPO, they will be authenticated in the NLA prompt but in the Logon UI they will get an error message. 

    • Once the NLA authentication is completed, authentication to the Vault is required. If the domain credentials you used for the NLA authentication are the same credentials that you use to log onto the Vault with Vault LDAP authentication, you will not be prompted to enter your Vault credentials, and instead you will be automatically connected to your target system.

    • To disable NLA when connecting with MSTSC, add the setting enablecredsspsupport:i:0 to one of the following files by editing the rdp file with notepad:

      • The default RDP file used by MSTCS. The default.rdp file is normally under the My Documents windows folder.
      • The RDP file that you saved for your connection, and which you are opening with MSTSC.

Connecting to a Remote SSH Device Using a Standard RDP Client Application - PSM-SSH Connection Component

For PSM-SSH follow the same steps listed above and under the Programs tab (or manually add a .rdp file entry if the tab does not exist) use the following command: psm /u target-user /a target-address /c PSM-SSH



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vWCCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail