> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/gateway/guides/recording.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Record sessions

Record sessions on Devolutions Gateway from Remote Desktop Manager and web sessions: settings, recording modes, formats and what happens on failure.

Devolutions Gateway can store the recordings of the sessions it relays, so that recordings are kept on a server you control instead of on users' machines. Recording is turned on in Devolutions Server or Devolutions Cloud and chosen per entry; Devolutions Server, Devolutions Cloud and Remote Desktop Manager then list, play and download the recordings, and authorized users can watch sessions live.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Recording storage and path</strong></td><td>Choose where Devolutions Gateway stores recordings and how much space they need.</td><td><a href="https://docs.devolutions.net/gateway/guides/recording/storage.md">Recording storage and path</a></td></tr><tr><td><strong>Play and share recordings</strong></td><td>Play, download, keep and delete recordings, and watch sessions live.</td><td><a href="https://docs.devolutions.net/gateway/guides/recording/playback.md">Play and share recordings</a></td></tr></tbody></table>

## Turn on recording on Devolutions Gateway

1. In the Devolutions Server web interface, go to ***Administration*** – ***System settings*** – ***Recording server***. In Devolutions Server, ***Administration*** – ***Devolutions Gateway*** – ***More*** – ***Recording server system settings*** opens the same page. In Devolutions Cloud, open ***Administration*** – ***System settings***.
2. Select ***Enable Devolutions Gateway recording*** (off by default).
3. Set the recording settings, then save.

<table><thead><tr><th width="320">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Enable Devolutions Gateway recording</strong></td><td>Lets entries record their sessions on Devolutions Gateway. Default: off. Devolutions Server and Devolutions Cloud.</td></tr><tr><td><strong>Recording frame rate</strong></td><td>Frames per second of graphical recordings, from 0 to 60. Default: 0 (the frame rate is not overridden). Devolutions Server.</td></tr><tr><td><strong>Resolution</strong></td><td>Resolution of graphical recordings. Default: <em><strong>Default</strong></em>. Devolutions Server.</td></tr><tr><td><strong>Include cursor in RDP recordings</strong></td><td><em><strong>Default</strong></em>, <em><strong>Yes</strong></em> or <em><strong>No</strong></em>. Not in the Devolutions Server web interface: set it in Remote Desktop Manager, in the recording settings of the data source of a Devolutions Server workspace.</td></tr><tr><td><strong>SSH recording mode</strong></td><td>Format of terminal recordings: <em><strong>WebM</strong></em> (video), <em><strong>TRP</strong></em> or <em><strong>Asciicast</strong></em>. Devolutions Server.</td></tr><tr><td><strong>Enable Devolutions Gateway recording automatic cleanup</strong></td><td>Deletes old recordings automatically. Default: off. Requires Devolutions Gateway 2025.1.0 or later; not available for farms. Devolutions Server and Devolutions Cloud.</td></tr><tr><td><strong>Delete recordings older than</strong></td><td>Age after which the cleanup deletes recordings. Devolutions Server: default 3 months, minimum 1. Devolutions Cloud: 1 to 9999 with a unit.</td></tr></tbody></table>

Editing these settings requires the permission to edit the system settings. In Remote Desktop Manager, the same options are in the session recording settings of the workspace.

## Record an entry on Devolutions Gateway

1. Open the properties of the entry, in Remote Desktop Manager or in the web interface.
2. Open the ***Session recording*** section.
3. Choose the ***Mode***.
4. Set the recording target to ***Remote***. ***Local*** records on the user's machine instead and does not use Devolutions Gateway.
5. Choose the ***Gateway mode***.
6. Save the entry.

The section is shown for entries of Devolutions Server and Devolutions Cloud workspaces, and not for entries in the user vault.

<table><thead><tr><th width="320">MODE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Optional</strong></td><td>The user is asked whether to record the session when it opens.</td></tr><tr><td><strong>Required</strong></td><td>The session is always recorded. If the recording cannot start, the session does not open, or is closed.</td></tr><tr><td><strong>Required (when supported)</strong></td><td>The session is recorded when the gateway and the entry type support it, and opens without recording otherwise.</td></tr><tr><td><strong>Never</strong></td><td>The session is not recorded.</td></tr><tr><td><strong>Default</strong>, <strong>Inherited</strong>, <strong>Root</strong></td><td>Use the setting of the application, of the parent folder, or of the root of the vault.</td></tr></tbody></table>

<table><thead><tr><th width="320">GATEWAY MODE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Same as session</strong></td><td>The recording is stored on the gateway the session goes through.</td></tr><tr><td><strong>Custom</strong></td><td>The recording is stored on the <em><strong>Recording gateway</strong></em> you select ("Select a specific gateway for storing session recordings. If not specified, recordings will be stored on the connection’s gateway.").</td></tr><tr><td><strong>Default</strong>, <strong>Inherited</strong>, <strong>Root</strong></td><td>Use the setting of the application, of the parent folder, or of the root of the vault.</td></tr></tbody></table>

{% hint style="warning" %}
"Warning: If the recording gateway is different from the one used for the connection, the session cannot be aborted if recording fails, even if it is indicated as required."
{% endhint %}

## What gets recorded

<table><thead><tr><th width="320">SESSION</th><th>RECORDING FORMAT</th></tr></thead><tbody><tr><td><strong>Graphical sessions</strong> (RDP, VNC, ARD, web sessions)</td><td>WebM video.</td></tr><tr><td><strong>SSH sessions</strong></td><td>The format chosen in <em><strong>SSH recording mode</strong></em>: WebM, TRP or Asciicast.</td></tr><tr><td><strong>Active Directory web sessions</strong></td><td>A session recording log. Requires Devolutions Gateway 2026.2.4 or later.</td></tr></tbody></table>

Web sessions opened from Devolutions Server can be recorded with Devolutions Gateway 2023.2.0 or later. In-app sessions of Devolutions Password Manager cannot be recorded.

## When recording fails

* When recording is required and the recording does not start within 10 seconds, or stops for good, Devolutions Gateway closes the session ("recording policy violated").
* When the recording storage is full or not writable, Devolutions Gateway refuses new recordings and stops the ones in progress. See [Recording storage and path](https://docs.devolutions.net/gateway/guides/recording/storage.md).
* With ***Required (when supported)***, a gateway that is too old for the entry type opens the session without recording.

## Good to know

* Users need the ***Session recording*** permissions (***View***, ***Delete***, ***Download***, ***Preserve***) in Devolutions Server to see and manage recordings. Vault owners have them on their vaults.
* Devolutions Gateway writes "Recording started", "Recording stopped" and "Recording error" in the Windows Event Log (event IDs 4030, 4031, 4032) or in syslog on Linux.
* The Devolutions Server page [Configure recording server](https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-recording-server) and the Remote Desktop Manager page [Session recording](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/session-recording) describe recording from those products.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/gateway/guides/recording.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
