> ## Documentation Index
> Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Windows Remote Desktop

The Windows Remote Desktop connection lets your agents control Windows machines in your own environment over RDP. Unlike Computer Use (which provides a Duvo-managed Windows sandbox), this connection targets your existing Windows servers, cloud VMs, or terminal servers, giving agents access to your internal systems, installed software, and network resources.

> [!NOTE]
>
> **Beta** — This feature is currently in beta and may change.

## Setup

**1. Confirm prerequisites**

> [!TIP]
>
> A Windows machine accessible via RDP (Remote Desktop Protocol).

> [!TIP]
>
> RDP enabled on the target machine (port 3389 by default).

> [!TIP]
>
> On the Windows Server host, set the **Display Shutdown Event Tracker** Group Policy to **Disabled**. After an unplanned restart, this dialog opens at sign-in and can delay UI automation.

> [!TIP]
>
> A Windows user account with permissions to log in via RDP.

> [!TIP]
>
> Network connectivity between Duvo and your Windows machine. For private networks, contact your Duvo account team to set up VPN access.

**2. Grant the required permissions**

The Windows user account used for the connection needs:

* **Remote Desktop Users** group membership (or equivalent)
* Permissions for the applications and files the agent will access
* **PowerShell execution policy** that permits the automation scripts to run — prefer a least-privilege scope (for example, `-Scope Process` or `-Scope CurrentUser`, and signed scripts) rather than relaxing the policy machine-wide
* **Win+R (Run dialog) enabled** in Group Policy (required for UI automation)

> [!WARNING]
>
> Scope the connecting account to only what the agent needs. Prefer a least-privilege PowerShell execution policy (for example, `-Scope Process` or `-Scope CurrentUser`, with signed scripts) rather than relaxing the policy machine-wide.

**3. Add the connection in Duvo**

On the [Connections page](https://app.duvo.ai/integrations), open Windows Remote Desktop and fill in these fields. Secrets are encrypted using Google Cloud KMS.

**Integration Name** `string` *required*

A custom name for this connection to help you identify it later.

**Host** `string` *required*

RDP host address — the IP address or hostname of the Windows machine.

**Username** `string` *required*

Windows username used for RDP authentication.

**Password** `string` *required*

Windows password used for RDP authentication.

**Port** `number`

RDP port — leave blank to use the default (3389).

**Domain** `string`

Windows domain, if the machine is domain-joined.

**Jump Host** `string`

Hostname or IP of a bastion/jump server for two-hop connections.

**Jump Port** `number`

SSH port on the jump host (defaults to 22).

**Jump Username** `string`

User account on the jump host (required when a jump host is set).

**Jump Password** `string`

Password for the jump host (provide either password or private key).

**Jump Private Key** `PEM`

PEM-encoded private key for the jump host.

**Jump Private Key Passphrase** `string`

Passphrase to decrypt the jump host private key.

**Sessions at once** `number`

How many Runs and skill recordings can use the machine at once. Leave blank or enter 1 for one at a time. Enter a higher number to allow that many at once, or 0 for no limit. The number belongs to the machine: every Connection your organization has to the same host shares it, so changing it on one Connection changes it on all of them, and only managers and above can change it. Raise this only on a machine that accepts several sign-ins at once, such as a Remote Desktop Services host. Every session from one Connection signs in as the same Windows user, so the machine must also let one user hold several sessions; if it doesn't, add one Connection per Windows user. Use **Test connection** to check the machine can serve the number before Runs use it in parallel. Saving never waits for the check.

## How It Works

Duvo connects to your Windows machine using the standard Remote Desktop Protocol (RDP) over port 3389 by default (configurable). The connection is secured with TLS encryption and CredSSP authentication. For machines on private networks, Duvo routes traffic through a site-to-site VPN tunnel to your infrastructure.

**Test connection** runs its checks one after another and shows each result on its own line. You can cancel a check while it runs, and none of them stops you saving.

* **Connection** signs in with the details you entered, to check the machine is reachable and accepts the credentials.
* **Sessions at once** runs when the **Sessions at once** field isn't 1 and the connection check passed. It checks how many sign-ins the machine allows at once: its Windows edition, whether it runs as a Remote Desktop Session Host, and its Remote Desktop connection limit. It signs in again as the Connection's Windows user and reads these with a short, read-only PowerShell script, which takes a few seconds. If the machine can't serve the number you set, or the check can't run on the machine, it shows a warning that says what to check, and **Retry** runs that check again. It can't see how many Remote Desktop licenses you have.

If the machine is busy when you test, Test connection shows a neutral busy row instead of a failure: "Not checked, because the computer is busy. Test again when it's free." The row shows how many sessions are in use, such as **In use · 1 of 1**, and lists who holds them:

* Holders from your own team are named: **A Run of** the Agent, with a link to that Run, **Your recording**, **A teammate's recording**, or **A connection test**.
* Holders from other teams or organizations that share the machine are only counted, as **Another team** or **N sessions from other teams**.

Select **Test connection** again once the machine is free.

RDP is a bidirectional protocol — it transmits keyboard and mouse input to the remote machine while streaming the desktop display back. From the Windows perspective, input from Duvo looks identical to input from a local user, which is why desktop applications work seamlessly. The agent can launch programs, click through menus, and type into fields exactly as a person would at that machine.

## Capabilities

* **Control Windows applications** — Click, type, and navigate Windows applications installed on the target machine, subject to the connected user's permissions.
* **UI Automation** — Interact with UI elements by name and type, not just pixel coordinates, making automation more reliable for thick-client applications.
* **Sign in with stored Logins** — Use saved logins from [Logins and Secrets](https://docs.duvo.ai/user-guide/resources/my-logins.md) to sign in to applications on the remote machine, including one-time 2FA codes, without exposing passwords to the agent.
* **Run PowerShell scripts** — Execute PowerShell commands and scripts directly on the remote machine.
* **Clipboard access** — Read from and write to the Windows clipboard for data transfer between applications.
* **Access network resources** — Reach internal file shares, databases, and services available from the target machine.
* **Live desktop view** — Watch the remote desktop in real-time as your agent works.

## Key Benefits

* **Your environment, your data** — Work directly on your existing Windows infrastructure, with access to installed software and internal resources based on the connected user's permissions.
* **Thick-client automation** — Automate legacy Windows applications, custom business software, and systems that only run on Windows.
* **UI-aware interaction** — The UI Automation feature finds and interacts with UI elements by their properties, not just screen positions, making automations more robust.
* **Enterprise integration** — Connect to Windows machines behind your firewall, on your VPN, or in any cloud or on-premises environment.
* **Full visibility** — Watch the session live and review screenshots of every action for compliance and debugging.

## Works Well With

> [card] [Snowflake](https://docs.duvo.ai/user-guide/connections/available-connections/snowflake.md)
>
> Pull data from your warehouse or ERP, then enter it into a Windows-only application.

> [card] [Gmail](https://docs.duvo.ai/user-guide/connections/available-connections/gmail.md)
>
> Process files in desktop applications and send results by email.

## Limitations

* Elevated (administrator) processes cannot be automated if the RDP user runs at a lower privilege level.
* By default, only one Run or skill recording can use a Windows machine at a time, even when several Connections point at the same host. Set **Sessions at once** to allow more. Several sessions can sign in as the same Windows user only when the machine allows it, that is when the Group Policy setting **Restrict Remote Desktop Services users to a single Remote Desktop Services session** is disabled. Otherwise each new sign-in takes over that user's earlier session. Testing a Connection never signs in over a Run or recording that holds the machine, or once the machine has reached its session limit. If the machine is busy, a new Run waits instead of failing. Duvo checks about every 15 seconds for up to 15 minutes. If the machine is still busy after 15 minutes, the Run stops waiting and reports that the machine is in use. This lets a Queue that sends several Cases to one single-seat machine process them one after another. A Run that is stopped while it waits does not open a session.
* When you record a skill and have more than one desktop to choose from, the desktop picker marks a busy Windows machine **In use · X of Y**, or **In use · N** when **Sessions at once** has no limit. You can still select it, because it may free up before the recording starts.
* While a Run waits for a busy machine, its timeline shows a **Waiting for the computer** note with the time waited so far. The note names one holder, your own team's first, and counts the rest, for example "Waiting for the computer. It's in use by your recording and 1 more." If only other teams hold the machine, it says "It's in use by another team." When the Run gets the machine, the note changes to **Waited N for the computer**, for example **Waited 3 min for the computer**.
* A Run that finishes (completed, failed, interrupted, or expired) closes its Windows desktop right away and frees its session on the machine. The next Run or Case on a single-seat machine doesn't have to wait for it. If you send a follow-up to a finished Run, Duvo opens a new desktop for it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.