---
title: "Configure DirectConnect for Remote Desktop Connection"
description: "Configure DirectConnect connection strings and client settings for PuTTY, MobaXterm, and Microsoft Remote Desktop."
keywords:
  - DirectConnect
  - PuTTY
  - MobaXterm
  - Remote Desktop Connection Manager
  - RDP
  - SSH
  - connection string
sidebar_position: 10
---

# Configure DirectConnect for Remote Desktop Connection

The Netwrix Privilege Secure proxy service lets you launch DirectConnect sessions via
third-party Remote Desktop Connection Management software. Passing a DirectConnect string to the
proxy server will launch an RDP connection. This topic explains the formatting for the connection
string, with specific examples given for some popular Remote Desktop Connection Management programs.

:::note
If a SAML or OIDC authentication connector is enabled for the requesting user,
DirectConnect functionality can't be used.
:::

To configure the remote connection client, use a connection string with the following parameters,
separated by “+” to the appropriate port on the proxy:

- **Username** — The user name used to sign into Active Directory in the following format:
  domain\username, user@domain, user@domain.suffix
- **Activity** — The activity to perform
- **Resource** — The DNS host name of the resource to run the activity on
- **Access Policy (optional)** — The Access Policy to invoke (if more than one)
- **Notes (optional)** — User notes about the session

Connection String Format:

`<username>+<activity>+<resource>+<access policy>+<notes>`

Connection String Example:

`Netwrix\JonSmith+Local Admin+SQL1.netwrix.com`

`JonSmith@netwrix.com+Local_Admin+SQL1.netwrix.com`

Some clients require you to use the `_` (underscore) character as a replacement for a
space in Activity names that are made up of multiple words, for example:

`Netwrix\JonSmith+Add_to_Local_Administrators+SQL1`

To add notes, ensure you add the appropriate number of “+” delimiters if you aren't
defining an access policy:

`Netwrix\JonSmith+Local Admin+SQL1.netwrix.com++Server Maintenance`

## PuTTY (SSH)

Configuration parameters for PuTTY (SSH).

![PuTTY session settings with host name and SSH port](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged.webp)

Host Name Format:

- `<connection string>@<proxyhostname>`

Host Name Example:

- `Netwrix\JonSmith+rootAccess+centos1.lab.local@sbpamhost`

Port:

- **Port** — The SSH listening port on the proxy
- **Default port** — 4422

## MobaXterm (SSH)

Configuration parameters for MobaXterm (SSH).

![MobaXterm SSH configuration](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_1.webp)

Remote Host Format:

- `<connection string>@<proxyhostname>`

Resource Host Example:

`Netwrix\JonSmith+rootAccess+centos1.lab.local@sbpamhost`

Port:

- **Port** — The SSH listening port on the proxy
- **Default port** — 4422

Uncheck the checkboxes under Advanced SSH Settings and Bookmark Settings.

| ![MobaXterm Advanced SSH settings](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_2.webp) | ![MobaXterm Bookmark settings](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_3.webp) |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## MobaXterm (RDP)

Configuration parameters for MobaXterm (RDP).

![MobaXtermRDP configuration](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_5.webp)

Remote Host:

- `<proxyhostname>`

Example:

`sbpamhost`

Username:

- `<connection string>`

Example:

`Netwrix\JonSmith+LocalAdmin+sql1`

Port:

- **Port** — The RDP listening port on the proxy
- **Default port** — 4489

![MobaXterm RDP Advanced RDP Settings tab](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_6.webp)

Check the Redirect Clipboard checkbox on the Advanced RDP Settings tab to enable pasting of the 2FA
token.

## Microsoft Remote Desktop Connection (RDP)

Configuration parameters for Microsoft Remote Desktop Connection (RDP).

![Microsoft Remote Desktop Connection settings with computer and user name](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_4.webp)

Computer:

`<proxyhostname>:<port>`

Example:

`Sbpamhost:4489`

User Name Format:

- `<connection string>`

User Name Example:

- `Netwrix\JonSmith+LocalAdmin+sql1`

If there is no password prompt when executing an RDP shortcut, change the GPO setting. See the
Configure Remote Desktop Connection to Prompt for Password topic for additional information.

## Microsoft Remote Desktop Connection Manager (RDP)

Configure the Microsoft Remote Desktop Connection Manager (RDC Manager).

| ![Remote Desktop Connection Manager server settings](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_7.webp) | ![Remote Desktop Connection Manager logon settings](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_8.webp) |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Server name:

`<proxyhostname>:<port>`

Server name example:

`Sbpamhost:4489`

User Name Format:

`\<connection string>`

:::note
The user name starts with \_\_ (back slash).
:::

User Name Example:

`\Netwrix\JonSmith+LocalAdmin+sql1`

Server Name/Port:

`localhost:4489`

If there is no password prompt when executing an RDP shortcut, change the GPO setting. See the
Configure Remote Desktop Connection to Prompt for Password topic for additional information.

## Configure Remote Desktop Connection to prompt for password

To configure the RDP Group Policy to always prompt for user credentials and
password.

1. Open the **Group Policy Management Editor**.
2. Navigate to **Computer Configuration** > **Administrative Templates** > **Windows Components** >
   **Remote Desktop Services** > **Remote Desktop Connection Client**

   ![Configure Remote Desktop Connection to Prompt for Password](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_9.webp)

3. Right click **Prompt for credentials on the client computer** and select **Edit** from the
   context menu.

   ![Prompt for credentials on the client computer policy setting](/images/privilegesecure/25.12/accessmanagement/enduser/configure/appendices_stealthbits_privileged_10.webp)

4. In the **Prompt for Credentials on the Client Computer** window, select **Enabled**.
5. Click **OK** to save changes.

The Remote Desktop Connection (RDP) Group Policy is configured to always ask for credentials.
