> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/pam/administration/sessions/rdp.md).

# RDP sessions

Graphical access to Windows assets, in the browser or through the local RDP client, and the platform variant, port, and display settings that decide whether the connection negotiates at all.

## What this is and when to use it

An RDP session gives a user a Windows desktop through the solution. The graphical connector sits in the middle: it establishes the RDP connection with the stored credential, streams the screen to the user, and records the session as video. VNC works the same way, through the same connector.

There are two ways in:

| Method            | Where it runs                         | Notes                                                                               |
| ----------------- | ------------------------------------- | ----------------------------------------------------------------------------------- |
| **Web GUI**       | A remote desktop in the browser       | Nothing to install on the user's machine. This is the path third parties should use |
| **Native client** | The local RDP client, such as `mstsc` | Connects to the solution's RDP listener, not to the asset                           |

If the user only needs one application rather than a whole desktop, publish it instead of the desktop: **RemoteApp** and **VirtualApp** run a single executable — a browser, a database client, an IDE — on a publishing host, with the session brokered and recorded in the same way. That avoids handing out a full interactive desktop for the sake of one tool. The RemoteApp publishing host is a Windows server that needs Remote Desktop Services licensing from Microsoft; VirtualApp runs on a Linux host instead. See [Remote Desktop Services licensing](https://wiki.datadike.com/pam/deploy-operate/rds-licensing.md).

{% hint style="info" %}
Graphical sessions leave a **video recording and no command list**. There is nothing to grep and nothing to filter: text-level auditing and command filtering exist only for terminal protocols. Plan your evidence around the recording — see [Session recordings](https://wiki.datadike.com/pam/administration/audit/recordings.md).
{% endhint %}

Two more limits are specific to graphical sessions:

* **Session sharing is not available.** A user cannot hand an RDP, VNC, or database session to a colleague; sharing works only for SSH and Telnet in the web terminal. An auditor can still watch an RDP session live — see [Live monitoring](https://wiki.datadike.com/pam/administration/sessions/live-monitoring.md).
* **Automatic password rotation does not cover Windows RDP accounts.** Rotation is supported over SSH and for the database platforms; a Windows account reached only by RDP has to be rotated another way. See [Rotation](https://wiki.datadike.com/pam/administration/accounts/rotation.md).

## Before you start

* The asset registered on a Windows platform, with the **RDP** protocol and its port. See [Platforms](https://wiki.datadike.com/pam/administration/assets/platforms.md).
* An account on the asset, registered in the solution.
* An authorization granting the user the asset, the account, the **RDP** protocol, and the **Connect** action — plus **Clipboard › Copy** and **Clipboard › Paste** if they need copy and paste, and the **Transfer** actions if they need to move files. See [Authorizations](https://wiki.datadike.com/pam/administration/access/authorizations.md).
* The graphical connector online. Check **System settings › Components** and confirm its **Load status** is **Normal**; an offline connector fails every graphical session on the platform.

## Steps

1. Set the display size first, under **Personal settings › Web terminal › Graphics**. Changing it mid-session means reconnecting. Multiple monitors are supported.
2. Open the device access list, right-click the asset, and choose to connect.
3. Select the **RDP** protocol in the left-hand menu of the **Connect** dialog, and choose the account.
4. Set the connection method — **Web** for the in-browser desktop, or the client option to hand the session to the local RDP client — and click **Connect**.
5. If the connection fails during negotiation rather than at the credential, change the asset's platform variant. This is covered below and it is the first thing to try, not the last.

## Choosing the Windows platform variant

Three Windows platforms exist, with identical protocol lists. They differ only in how the RDP security layer is negotiated:

| Platform        | Use it for                                              |
| --------------- | ------------------------------------------------------- |
| **Windows**     | Servers and workstations in general                     |
| **Windows-RDP** | Hosts that require classic RDP negotiation, without TLS |
| **Windows-TLS** | Hosts that require RDP over TLS                         |

{% hint style="warning" %}
The variants exist because RDP security negotiation differs between Windows versions and server configurations. When a graphical connection fails to negotiate, switching the asset between **Windows**, **Windows-RDP**, and **Windows-TLS** is the first adjustment to test — before you look at credentials, firewalls, or the connector.
{% endhint %}

## What you should see

The browser opens a desktop at the resolution you selected, already logged in as the chosen account — the user is never prompted for the Windows password. If watermarking is enabled, the overlay with user and asset identity is visible across the desktop and stays in the recording.

## How to verify it worked

1. Do something visually identifiable on the desktop, then disconnect deliberately rather than closing the tab.
2. Open **Audit › Sessions**, switch to **Historical sessions**, and confirm a record exists with protocol **RDP**, the account you used, and a duration that matches the session.
3. Click **Replay** and confirm the identifiable action is in the video, and that playback runs to roughly the recorded length. A recording that never starts and one that stops early are different faults.
4. If watermarking is a requirement, confirm the overlay is present in the replay — not only on your screen during the session.
5. If you changed the platform variant, connect once more and confirm you now get past negotiation. Do it on the asset you changed: the variant is a property of the asset's platform, so other Windows assets are unaffected.

## Common errors

| Symptom                                                                                    | Cause                                                                                           | Fix                                                                                                                    |
| ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| The connection fails while negotiating, before any credential prompt                       | The asset's RDP security layer does not match the platform variant                              | Switch the asset between **Windows**, **Windows-RDP**, and **Windows-TLS**                                             |
| The session freezes after a few idle minutes and needs a reconnect                         | Chrome's **Memory saver** suspended the browser tab holding the session                         | In Chrome, **Settings › Performance › Memory saver**, set **Balanced** or turn it off, then restart the browser        |
| "The session has ended because it conflicts with another session"                          | Someone else with permission to the same asset took the access over                             | Find who in **Audit › Sessions**; nothing is broken, the access was superseded                                         |
| The watermark is missing when using the local RDP client                                   | The watermark is drawn by the graphical connector and does not always reach a native RDP client | Use the web session where the watermark is a compliance requirement                                                    |
| **Replay** is greyed out on a session that clearly happened                                | The session was too short to be counted as a successful connection                              | Nothing to recover; expect very short sessions to have no replay                                                       |
| A recording will not play outside the console                                              | The replay format needs the player                                                              | Use the DataDike PAM video player for offline playback                                                                 |
| Account discovery on a Windows host fails with "The connection plugin 'rdp' was not found" | The host has no SSH protocol entry, which the collection job needs                              | Add port **22** to the host's **Protocols** list                                                                       |
| Every graphical session fails at once                                                      | The graphical connector is offline or saturated                                                 | Check **Load status** in **System settings › Components**; add another instance if it is consistently at **High load** |

## Field reference

Display settings, at **Personal settings › Web terminal › Graphics**:

| Field      | Options                                                               |
| ---------- | --------------------------------------------------------------------- |
| Resolution | **AUTO** (fits all monitors), 1024x768, 1366x768, 1600x900, 1920x1080 |

Listener ports, part of the TCP port policy. These are the ports the connector listens on for native clients, not the ports on the asset:

| Field    | Default | Notes                                                                                                                    |
| -------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| RDP port | 3389    | Keeps the Microsoft convention. In hardened environments, move it to a non-standard port and restrict it at the firewall |
| VNC port | 15900   | Deliberately not 5900, to avoid clashing with a VNC server on the same host                                              |

Graphical-session settings, at **System settings › Security › Sessions**:

| Field                                         | What it does                                                                                                  |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| Watermark                                     | Overlays user and asset identity on remote desktop sessions and their recordings. Enabled by default          |
| Allow users to view asset session information | Shows the number of active sessions on the asset in the account-selection dialog. **RDP only**                |
| Session share                                 | Global switch for session sharing. It has no effect on RDP, VNC, or database sessions, which cannot be shared |
| Max idle time (minute)                        | Disconnects a session idle for longer than this. Default 30                                                   |
| Max online time (hour)                        | Disconnects a session open longer than this                                                                   |

## Related pages

* [Platforms](https://wiki.datadike.com/pam/administration/assets/platforms.md) — the three Windows variants and what else a platform decides
* [Session recording](https://wiki.datadike.com/pam/administration/sessions/recording.md) — what a graphical session captures, and where it goes
* [Session recordings](https://wiki.datadike.com/pam/administration/audit/recordings.md) — replaying and downloading the video
* [Live monitoring](https://wiki.datadike.com/pam/administration/sessions/live-monitoring.md) — watching, pausing, and ending a live session
* [Ports and protocols](https://wiki.datadike.com/pam/reference/ports.md) — the port used to reach each platform
