The Remote Desktop Protocol, usually shortened to RDP, is Microsoft's protocol for working inside a Windows session that runs on another computer. The remote machine draws the desktop and sends the display data over the network; the local device shows it and sends keyboard and mouse input back. Applications normally run on the remote host while the client presents the interface; optional redirection can move particular media or device operations to the client. Microsoft describes RDP as providing remote display and input capabilities for Windows-based applications running on a server.
RDP is built on the ITU T.120 family of protocols and is multichannel by design, so display data, input and device redirection travel in separate virtual channels over one connection. A Windows host configured to accept direct RDP connections normally listens on port 3389. This article explains how display and input are carried, how sessions, redirection and authentication work, how RDP differs from a VPN and from VNC, and where its limits lie.
How RDP Carries Display and Input
The host captures and encodes the remote session's graphics, and the client decodes them for display. RDP can use drawing operations, cached regions and video codecs rather than repeatedly sending an uncompressed full screen. Modern implementations adapt encoding to the content and connection; text, images and video may be handled differently. The resulting bandwidth depends on screen activity, resolution, codec and quality settings.
The input path runs the other way. The client captures mouse movements, clicks and keystrokes and forwards them to the host, where RDP's keyboard and mouse drivers inject them into the session as if they were local. The user experiences a round trip: press a key, the host processes it, the updated screen region comes back. Network latency therefore shows up as a delay between action and response.
Virtual Channels and Transport
RDP multiplexes many streams through virtual channels, and the architecture allows tens of thousands of them. Microsoft lists compression, persistent bitmap caching and caching of glyphs among the bandwidth-reduction features. A remote desktop connection runs over TCP and may also use UDP on the same port number; Microsoft's guidance for changing the listening port creates both a TCP and a UDP firewall rule for the new value.
Sessions, Redirection and Authentication
Sessions
An RDP session is a Windows logon session on the host that a client attaches to. Disconnecting is distinct from logging off. Microsoft calls the behaviour roaming disconnect: a user closes the connection, the session can keep running with its applications open until a session policy, sign-out or host shutdown ends it, and the same user later reconnects from the same or a different device. How many sessions a host supports depends on the edition. Windows Server with the Remote Desktop Session Host role serves many users at once, each in an isolated session. Client editions such as Windows Pro and Enterprise can accept remote connections but allow one interactive session at a time; Microsoft's Windows Enterprise multi-session, available only through Azure Virtual Desktop, was introduced to permit multiple concurrent interactive sessions on a client edition, something previously limited to Windows Server. Windows Home does not provide Microsoft's built-in RDP host feature.
Redirection
Redirection makes local resources available inside the remote session. Clipboard mapping lets text and images be copied between local and remote applications. Printer, drive, port and audio redirection let a remote application print to a local printer, open files on a local disk or play sound through local speakers. Smart card redirection supports card-based authentication. Each redirection is a channel that administrators can allow or block by policy, because drive and clipboard redirection also create paths for data to leave a controlled environment.
Authentication and Encryption
Users authenticate with Windows credentials. Network Level Authentication requires the client to authenticate before a session is created on the host, which Microsoft recommends because it reduces the work and exposure before a user is authenticated. Modern Windows deployments can protect RDP traffic with TLS; the negotiated security settings and server identity verification matter. For access from outside a network, Remote Desktop Gateway wraps RDP in HTTPS on port 443 so that the host's listener need not be exposed directly to external clients, and it can enforce multi-factor authentication and conditional policies.
RDP vs VPN and VNC
RDP is often compared with two technologies that solve different problems.
| Aspect | RDP | VPN | VNC (RFB protocol) |
|---|---|---|---|
| What it moves | Screen output and input for one session | Network packets between a client and a private network | Framebuffer pixels and input |
| Where programs run | On the remote host | On the client, which reaches remote resources | On the remote host |
| Platform | Primarily Windows hosts; third-party hosts also exist | Any | Any windowing system |
| Default port | 3389 | Varies by protocol | 5900 |
A VPN extends the network: the local machine joins a private network and runs its own applications against remote servers. RDP moves the workspace: the applications stay on the host and only the interface travels. The two are frequently combined, with a VPN or gateway providing the secure path and RDP carrying the session. VNC uses the Remote Framebuffer protocol defined in RFC 6143, which works at the framebuffer level and sends pixel changes rather than drawing commands. That makes the protocol independent of a particular windowing system; bandwidth depends on encoding and workload rather than the protocol name alone. VNC commonly shares an existing framebuffer, though implementations can create separate virtual desktops. RDP session behaviour likewise depends on the host and configuration.
Common Uses
Administrators manage Windows servers through RDP without physical access. Employees reach an office PC from home. Remote Desktop Services and virtual desktop infrastructure deliver whole desktops or individual RemoteApp programs to many users from central hosts. Teams on macOS or Linux run Windows-only software by connecting to a Windows machine. Testing environments use RDP to operate an isolated Windows installation, for example to reproduce a bug in a specific browser version without installing it locally.
Limitations and Access Model
Exposing an RDP listener directly to the internet is a well-known risk. Microsoft's guidance stresses trusted access and strong account credentials. A VPN or Remote Desktop Gateway can provide a controlled external path instead of making each host's RDP listener publicly reachable. Changing the port number hides nothing from a scanner; it only reduces automated noise. Any deployment needs a defined access model: who may connect, from where, and with which authentication factors.
RDP is also not the same thing as a rented server. A virtual private server is a hosted machine; RDP is one way to operate it if it runs Windows. Session quality depends on latency and bandwidth, so graphics-heavy or video work can feel sluggish, and multi-user hosting on Windows Server requires Remote Desktop Services licensing. Finally, RDP describes how a session is reached, not what the session reveals: websites visited from a remote desktop see the host's network address and browser characteristics, which is a property of that host rather than of the protocol.