Teleport Desktop Access lets engineers connect to Windows desktops and servers directly from a browser — no RDP client, no VPN, and no passwords required. The Teleport Desktop Service converts browser-based sessions into RDP traffic, authenticates users with short-lived certificates, and records every desktop session to the audit log. Both domain-joined machines (via Active Directory) and standalone Windows hosts (local users) are supported.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gravitational/teleport/llms.txt
Use this file to discover all available pages before exploring further.
How Teleport proxies RDP connections
The Teleport Desktop Service runs on a Linux host inside your private network. It maintains a reverse tunnel to the Teleport Proxy Service and converts incoming Teleport Desktop Protocol (TDP) sessions from browsers into RDP connections directed at Windows hosts:- No RDP client needed — the browser session uses Teleport’s own desktop protocol.
- No inbound firewall rules — the Desktop Service calls out to the Proxy via a reverse tunnel.
- Certificate-based authentication — short-lived certs replace passwords entirely.
- Session recording — every mouse click, keystroke, and screen change is recorded and replayable.
Supported deployment modes
| Mode | How it works | Best for |
|---|---|---|
| Active Directory | Teleport integrates with LDAP/AD for automatic host discovery and uses Group Policy to distribute trust. | Large domain-joined environments |
| Local users | Teleport installs a Windows auth package on each host; no domain required. | Standalone hosts, up to 5 desktops in Community Edition |
Prerequisites
- A running Teleport cluster. See Deploy a Cluster.
- A Linux server to run the Teleport Desktop Service (can be an existing Teleport agent host).
- One or more Windows hosts with Remote Desktop enabled and RDP port 3389 open from the Desktop Service host.
tctlauthenticated to your Teleport cluster.
Enrolling Windows desktops (local users)
The steps below walk through enrolling a standalone Windows host for local-user access. For Active Directory domain enrollment, see the Active Directory guide.Prepare the Windows host
On the Windows host you want to enroll, open a Command Prompt (Double-click
cmd.exe) and download the Teleport CA certificate and Windows authentication package:teleport-windows-auth-setup.exe and follow the installer prompts, selecting the teleport.cer certificate you downloaded. The installer will:- Trust the Teleport certificate authority on this host.
- Install the Teleport authentication DLL.
- Disable Network Level Authentication (NLA) for the remote desktop service.
- Enable RemoteFX compression for better performance.
For automated (unattended) installation, run the installer from an administrative PowerShell console:The
-r flag triggers an automatic reboot after installation.Generate a join token and configure the Desktop Service
On your administrative workstation, generate a join token:Save the token to a file on the Linux host that will run the Desktop Service:Install Teleport on the Linux host if it isn’t already installed:Create
/etc/teleport.yaml on the Linux host:Set
ad: true if the host is domain-joined and you want to use Active Directory authentication. In that case, also configure the ldap block with your domain controller address and credentials.Create a role for desktop access
Define a role that grants access to Windows desktops by label:The
windows_desktop_logins list controls which Windows user accounts a Teleport user is permitted to log in as. Teleport can optionally create these local accounts automatically — see Automatic User Creation.Connect to a Windows desktop from the browser
- Sign in to the Teleport Web UI at your cluster address.
- Click Resources in the left navigation.
- Click the Type filter and select Desktops.
- Click Connect on the desktop you want to access.
- Select the Windows login to use (e.g.,
Administrator).
Active Directory integration
For domain-joined environments, Teleport integrates with Active Directory over LDAPS to:- Automatically discover Windows hosts in the domain via LDAP queries.
- Issue certificates trusted by domain-level Group Policy, eliminating per-host configuration.
- Apply LDAP labels to discovered hosts (e.g., department, location) for RBAC targeting.
teleport.yaml additions for AD mode are:
tctl desktop bootstrap to generate a PowerShell script that automates the AD configuration (creating the service account, configuring GPOs, and exporting the LDAP CA certificate):
Session recording and audit
Every desktop session is recorded and stored in the Teleport audit backend. Recordings capture all visual activity and are replayable in the Teleport Web UI:- Navigate to Audit → Session Recordings.
- Filter by resource type Desktop.
- Click the play button to replay any session.
RBAC for desktops
Fine-grained access control uses three role fields:| Field | Purpose |
|---|---|
windows_desktop_labels | Which desktops the role grants access to, by label |
windows_desktop_logins | Which Windows user accounts may be used |
staging environment:
Next steps
Active Directory Setup
Full walkthrough for connecting Teleport to an Active Directory domain with GPO-based certificate trust.
Access Controls & RBAC
Build fine-grained roles that control who can log into which Windows hosts.
MFA for Desktop Sessions
Require a hardware key or TOTP touch before any RDP session opens.
Device Trust
Gate desktop access on the enrollment and compliance status of the connecting device.
