Remote Desktop Connection in Plain Words
In plain words, Remote Desktop Connection is a window on your device that shows the desktop of a different computer and lets you use it.
The name is used in two ways. Strictly, it is the client program built in to Windows, started with the command mstsc. Loosely, people use it for any session that runs over the Remote Desktop Protocol, known as RDP, whichever app opened it. This article covers both and says which one it means where the difference matters.
People use it to reach an office PC from home, to manage servers and to run software on a machine that stays switched on.
The programs you run stay on the far computer. They use its processor, memory, disk and internet connection. Your own device mostly draws what it is sent and passes your keyboard and mouse back.
| Part | What it is | Where it runs | Example |
|---|---|---|---|
| Client | The app that shows the remote screen and sends your input | The device in front of you | Remote Desktop Connection on Windows |
| Host | The computer being controlled, which runs an RDP server and accepts the connection | Anywhere the client can reach over a network | A Windows Server machine in a data center |
| Session | A running sign in environment that holds the desktop, apps and processes of one user | On the host | Your desktop with its open programs |
| Protocol | The agreed rules for what the two sides send each other | On the network between them | RDP on port 3389 |
The Windows details below cover the versions the Microsoft documentation names, which are Windows 11, Windows 10 and Windows Server 2016 through 2025. Windows 10 reached end of support on October 14, 2025, so prefer a supported system for anything reachable from a network. Older systems and other RDP servers can behave differently.
The Remote Desktop Client and the Host
Put simply, the Remote Desktop client is the side you sit at and the host is the side that does the work.
Which Devices Can Be the Client
Devices that can be the client include Windows PCs, Macs, phones, tablets and Linux machines, because RDP clients exist for all of them.
| Your device | Client | How it starts |
|---|---|---|
| Windows 10 or 11, any edition | Remote Desktop Connection | Type mstsc in the Start menu or the Run box |
| Mac, iPhone or iPad | Windows App from Microsoft | Add a PC and enter its address |
| Android or ChromeOS | Windows App from Microsoft | Add a PC and enter its address |
| Linux | FreeRDP or a front end built on it | xfreerdp /v:203.0.113.10 in a terminal |
The address 203.0.113.10 is a documentation example used throughout this article. Replace it with the real name or IP address of your host.
Windows has more than one Microsoft client, which causes confusion. Remote Desktop Connection, mstsc.exe, is the long standing desktop program for connecting straight to a remote PC or a Remote Desktop Session Host server. Windows App is the newer Microsoft client that also reaches managed services such as Azure Virtual Desktop and Windows 365. The two do not cover the same connection types on every platform, and Microsoft lists what each platform supports in its Windows App overview. The older Remote Desktop app from the Microsoft Store is a third program, and Microsoft ended its support on May 27, 2025.
Which Computers Can Be the Host
Computers that can be the host are those running an RDP server that accepts incoming connections.
For the host built in to Windows, that means a supported edition. Microsoft lists Windows Professional, Enterprise and Education plus the Windows Server editions as able to host. Windows Home can connect out as a client but cannot act as the built in host. Linux machines can also accept RDP connections through server software such as xrdp, which is what the test in this article uses. The conditions below are the ones Microsoft names for a Windows host.
| Condition | Why it matters |
|---|---|
| The host is powered on and connected to the network | A sleeping or offline machine cannot answer |
| Remote Desktop is enabled | The host does not accept sessions until it is switched on |
| Your account is permitted to connect and you have its valid credentials | Access is granted in the Remote Desktop settings, and a wrong password is refused |
| The firewall on the host allows Remote Desktop | Otherwise the request is dropped before Windows sees it |
| The client has a network path to the host | On the same network or across the internet |
A desktop edition of Windows is built around one interactive user at a time. A remote connection to a Windows 10 or 11 PC normally takes over that session and leaves the local screen locked, so it is not a way for two people to use one PC side by side. Separate desktops for several users at once are generally a Windows Server feature. Windows Enterprise multi-session is an exception licensed for Azure Virtual Desktop. The server side is covered in the hosted desktop section below.
How a Remote Desktop Session Starts
A Remote Desktop session starts with a short conversation in which the two sides agree on security and features before any screen appears.
Microsoft publishes the full sequence in its RDP specification and divides it into ten phases. Two phases are optional, Connect Time Auto Detection and Multitransport Bootstrapping, and are left out of the table. RDP Security Commencement is conditional too. It applies to Standard RDP Security and is skipped when Enhanced RDP Security is used, as the table notes.
| Step | Name in the Microsoft specification | What happens |
|---|---|---|
| 1 | Connection Initiation | The client opens a TCP connection and sends a small request. The host confirms and the two settle which security protocol to use |
| 2 | Basic Settings Exchange | Each side sends its core, security and network settings |
| 3 | Channel Connection | The client joins the channels the session will use, one for input and output plus the extra virtual channels |
| 4 | RDP Security Commencement | Runs only with Standard RDP Security. The two sides exchange random values and derive session keys. Skipped when an external protocol such as TLS protects the connection |
| 5 | Secure Settings Exchange | The client sends connection and user information inside the protected connection. With Network Level Authentication on, the user has already authenticated through CredSSP before this point |
| 6 | Licensing | The host handles the license exchange it is configured for |
| 7 | Capabilities Exchange | The host states what it supports and the client answers with its own list |
| 8 | Connection Finalization | Final handshakes. After this the client may send input and the host may send graphics |
When TLS or CredSSP protects the connection, which is the normal case today, that protection is set up straight after phase 1 and the later phases travel inside it. With Network Level Authentication turned on, which Microsoft recommends for most environments, the user must also authenticate before a remote session is established. In practice that means the client asks for your credentials first, before the remote desktop is shown.
The First Packets of a Real Session
The first packets of a real session can be seen with a packet capture, which is how the steps above look on a network.
This test used a Linux RDP host, xrdp 0.9.24, listening on port 33894 of the loopback address on Ubuntu 24.04.5, with FreeRDP 2.11.5 as the client. First the test host was set up. A private copy of the xrdp configuration was moved to port 33894, xrdp was started with that copy, and Xvfb provided a virtual display :77 for the client window. The unshare line gives this xrdp its own /run/xrdp folder, because another xrdp was already running on the same machine.
cp /etc/xrdp/xrdp.ini my.ini
sed -i -e '0,/^port=.*/s//port=33894/' -e "s#^LogFile=.*#LogFile=$PWD/xrdp.log#" -e 's/^EnableSyslog=.*/EnableSyslog=false/' my.ini
unshare -m sh -c "mount -t tmpfs tmpfs /run/xrdp && exec xrdp -n -c $PWD/my.ini" &
Xvfb :77 -screen 0 1280x800x24 &Then this script ran the test so that every step could be timed. It is shown in full apart from output redirection, and the capture file is called session.pcap here.
export DISPLAY=:77
tcpdump -i lo -nn -w session.pcap 'tcp port 33894' &
TP=$!
sleep 1
FP=$(openssl x509 -in /etc/xrdp/cert.pem -noout -fingerprint -sha256 | cut -d= -f2)
xfreerdp /v:127.0.0.1:33894 /sec:tls /cert:fingerprint:sha256:$FP /size:1024x768 &
FPID=$!
sleep 6
W=$(xdotool search --name FreeRDP | head -1)
date +%s.%N > t1; sleep 10; date +%s.%N > t2
for i in $(seq 1 100); do xdotool mousemove --window $W $((100+i*6)) $((100+i*4)); sleep 0.05; done
sleep 1; date +%s.%N > t3
xdotool mousemove --window $W 600 425 click 1; sleep 0.5; xdotool type --delay 200 "demo"; sleep 2; date +%s.%N > t4
import -window root shot.png
kill $FPID; sleep 1; kill $TPIn order, it starts the capture, reads the fingerprint of the certificate the test host uses so the client can check it, opens the session and waits 6 seconds for the first screen. It then idles for 10 seconds, sends 100 pointer moves, clicks the user name field and types four letters, and finally stops the client and, one second later, the capture. The files t1 to t4 hold the timestamps used to split the capture into phases further down. The saved capture was then read back with a filter for TCP packets that have the PUSH flag set. In this capture those are the first packets that carry data. The filter is not a general test for payload, which is why the totals further down count payload bytes instead.
tcpdump -nn -t -q -r session.pcap -c 4 'tcp[tcpflags] & tcp-push != 0'IP 127.0.0.1.49850 > 127.0.0.1.33894: tcp 42
IP 127.0.0.1.33894 > 127.0.0.1.49850: tcp 19
IP 127.0.0.1.49850 > 127.0.0.1.33894: tcp 315
IP 127.0.0.1.33894 > 127.0.0.1.49850: tcp 1320The output is real and unedited, from Ubuntu 24.04.5. The first line is the client request from step 1, only 42 bytes long. The second is the 19 byte confirmation from the host. The 315 byte packet that follows begins with the bytes that mark a TLS handshake, and from there on the capture is encrypted.
One detail is worth knowing. That first 42 byte request is sent before encryption starts, and in this test it contained the readable text Cookie: mstshash=root, the name of the local Linux user running the client. What a client puts in that field depends on the client, so treat the opening request as visible to anyone on the path.
What Travels Over the Wire in RDP
Over the wire, RDP carries screen content one way and your input the other, plus any extras you allow.
Your files and programs are not copied to the client just because you can see them. A file only crosses the network when you move it yourself, for example through the shared clipboard or a redirected drive. Microsoft calls these extras redirection, and the list below follows its documentation.
| Data | Direction | Notes |
|---|---|---|
| Screen updates | Host to client | Drawn on your device from the data the host sends |
| Keyboard, mouse, touch and pen input | Client to host | Sent as input events, not as pictures |
| Sound from the remote desktop | Host to client | Speaker redirection |
| Microphone and camera | Client to host | Only if you allow them |
| Clipboard | Both ways | Copy and paste between the two machines |
| Drives and USB storage | Both ways | Local drives appear inside the session |
| Print jobs | Host to client | The remote program prints on your local printer |
| Smart cards | Both ways | Used for sign in |
Which of these work depends on the client platform, the app in the session and policy on both sides. Microsoft notes that the more restrictive setting wins, so a host that blocks the clipboard blocks it even if the client allows it.
Measured Traffic From a Test Session
The measured traffic from the test session makes the two directions easy to see.
In the same capture as above, the client connected at 1024 by 768 and showed the sign in screen of the host. It then sat untouched for 10 seconds, moved the pointer 100 times, clicked once and typed four letters into the user name field. No password was entered. The script noted the time between steps, and the counts are packets with a payload larger than zero, measured as TCP payload bytes.
| Phase | Client to host | Host to client |
|---|---|---|
| Connect and draw the first screen | 25 packets and 2,764 bytes | 65 packets and 66,084 bytes |
| 10 seconds with nothing happening | 0 packets | 0 packets |
| 100 pointer moves | 100 packets and 3,200 bytes | 4 packets and 124 bytes |
| One click and four typed letters | 11 packets and 312 bytes | 9 packets and 1,294 bytes |
The table comes from this Python script, saved as phases.py and run in the folder that holds session.pcap and the timestamp files. It reads the capture with tcpdump, sorts each packet into a phase by its timestamp, splits by direction using the host port and adds up the TCP payload.
import re, subprocess
t = [float(open(f't{i}').read()) for i in (1, 2, 3, 4)]
names = ['connect', 'idle', 'pointer', 'typing']
out = subprocess.run(['tcpdump', '-nn', '-tt', '-r', 'session.pcap'], capture_output=True, text=True).stdout
count = {n: [0, 0, 0, 0] for n in names}
for line in out.splitlines():
m = re.match(r'(\d+\.\d+) IP \S+ > (\S+): .* length (\d+)', line)
if not m or int(m.group(3)) == 0:
continue
ts, size = float(m.group(1)), int(m.group(3))
phase = next((names[k] for k in range(4) if ts < t[k]), None)
if phase is None:
continue
c = count[phase]
if m.group(2).endswith('.33894'):
c[0] += 1; c[1] += size
else:
c[2] += 1; c[3] += size
for n in names:
print(n, 'up', count[n][0], count[n][1], 'down', count[n][2], count[n][3])python3 phases.pyconnect up 25 2764 down 65 66084
idle up 0 0 down 0 0
pointer up 100 3200 down 4 124
typing up 11 312 down 9 1294The totals for the whole capture come from these two commands, the first for client to host and the second for host to client.
tcpdump -nn -q -r session.pcap 'dst port 33894' | awk '$NF>0{n++; s+=$NF} END{print n" packets, "s" bytes"}'
tcpdump -nn -q -r session.pcap 'src port 33894' | awk '$NF>0{n++; s+=$NF} END{print n" packets, "s" bytes"}'136 packets, 6276 bytes
79 packets, 67526 bytesThe capture ran from before the client started until one second after it was stopped. The totals cover all of it, while the table stops at the last typed letter. That is why the host total is one packet and 24 bytes higher, the closing message sent when the client was stopped.
Three things stand out. Connecting and drawing the first screen accounted for about 66 KB of host to client payload in this test. Input was tiny, with each pointer move sent as one 32 byte packet. And the unchanged screen produced no packets at all during the 10 second idle period.
Treat the figures as an illustration, not a benchmark. They come from one run on a loopback link against a plain sign in screen on a Linux host. A full Windows desktop with video, sound or a larger display sends far more, and a Windows host may send periodic traffic while idle.
Which Ports and Transports RDP Uses
By default the ports and transports RDP uses are TCP port 3389 for the session and UDP port 3389 as an optional second path.
The session starts over TCP. Microsoft describes the UDP transport as a way to improve performance over a TCP only connection, especially on wide area and wireless networks, with a reliable mode, a mode that skips retransmission to keep data timely, and error correction for lost packets. UDP is an addition to the TCP connection and not a replacement for it, so TCP 3389 is the port that has to be reachable. Organizations that use a Remote Desktop Gateway connect to it on TCP 443 and UDP 3391 instead.
The port can be changed on the host. The steps and the safe order are in what port RDP uses and how to change it.
From Linux or macOS you can ask nmap what is answering on a port. This is the real result against the test listener.
nmap -Pn -sV -p 33894 127.0.0.1PORT STATE SERVICE VERSION
33894/tcp open ms-wbt-server xrdpThe scan recognized RDP on a port that is not the default, by the way the listener replied. ms-wbt-server is the name port tools use for RDP, and the last column is the software nmap matched, which will differ on a Windows host. An open result proves that something speaking RDP is reachable over TCP from where you ran the scan. It does not test UDP, and it does not prove that your account can sign in.
How RDP Encryption and Sign In Work
Today RDP encryption and sign in are handled by standard security protocols wrapped around the session, not by RDP alone.
Microsoft calls this Enhanced RDP Security. An external security protocol provides the encryption, the integrity checks and the proof of the identity of the host. TLS can do that on its own. CredSSP runs the TLS handshake first, then authenticates the user with Kerberos or NTLM inside that TLS channel and passes the credentials to the host, which is what makes Network Level Authentication possible. The TLS version and cipher depend on the client, the host and how each is configured.
In the test session the host log recorded what was agreed. This line is copied from the xrdp log on the Linux test host, so it shows that host and client, not Windows.
TLS connection established from 127.0.0.1 port 49850: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384Encryption protects the session while it crosses the network. It does not decide who is allowed to try to sign in, and it does not stop password guessing against a host that anyone on the internet can reach. Microsoft warns that enabling Remote Desktop opens a port on the PC and asks for strong, unique passwords on every account with remote access.
The lower risk default is to keep Remote Desktop off the open internet where you can. Put a VPN or a Remote Desktop Gateway in front, or limit the firewall rule to the addresses you connect from, and leave Network Level Authentication on. Moving RDP to a different port cuts scanning noise but does not replace any of these.
When a client warns that it cannot verify the identity of the remote computer, it means the certificate the host presented is not one your device already trusts. That is common with a host that issued its own certificate. Check that the name and address are the ones you expect before you accept, because accepting a certificate you did not expect removes the protection against someone sitting in the middle.
| Protection | What it does | What it does not do |
|---|---|---|
| TLS encryption | Hides screen, input and redirected data from the network path | Does not limit who can reach the port |
| Network Level Authentication | Requires sign in before a session is established | Does not make a weak password strong |
| Firewall rule limited to known addresses | Refuses connections from every other source | Does not protect against a trusted address that is itself compromised |
| Strong unique passwords | Make guessing impractical | Do not help if the password is stolen elsewhere and reused |
How to Open Remote Desktop Connection on Windows
To open Remote Desktop Connection on Windows, press the Windows key and R, type mstsc and press Enter.
These steps follow the Microsoft documentation for Windows 10, Windows 11 and Windows Server 2016 through 2025. They were not run on Windows for this article. The host must already meet the conditions in the table near the top.
In the window that opens, type the name or IP address of the host in the Computer box, select Connect and enter your credentials when asked. The same thing can be done in one line.
mstsc /v:203.0.113.10Add a colon and a number, as in mstsc /v:203.0.113.10:3390, when the host listens on a port other than 3389. Other useful switches are /f for full screen, /w and /h for a window size, /admin to administer a server, /prompt to be asked for credentials and /g to name a Remote Desktop Gateway, as in mstsc /v:203.0.113.10 /g:gateway.example.com.
Connection settings can be kept in a file with the .rdp extension. Microsoft documents that such files are saved to the Documents folder unless you choose another place, and that mstsc /edit followed by the file name opens one for editing. Sound, clipboard and drive sharing are set per connection on the Local Resources tab of the client.
Turn Remote Desktop On at the Host
To turn Remote Desktop on at the host, an administrator switches on Enable Remote Desktop in Settings. The full walk through is in how to enable RDP. The path is Start, Settings, System, then Remote Desktop, followed by Confirm in the dialog that appears.
Before you do it, know what changes. Microsoft states that this opens a port on the PC to other devices on the local network, and recommends enabling it only on networks you trust. To undo it, set the same switch back to Off. Other accounts are added under the users option on the same screen.
To confirm the result, connect from a second device. Seeing the credentials prompt and then the desktop proves the whole path works for that account from that network. It does not prove the host is reachable from other networks, which depends on routers and firewalls in between.
Disconnecting Versus Signing Out
Disconnecting and signing out are different, and closing the Remote Desktop window only disconnects you.
Microsoft documents that Remote Desktop Services by default lets a user disconnect without signing out, that running programs are kept active in a disconnected session and that such sessions are kept for an unlimited time unless an administrator sets a time limit by policy. So your programs keep running and you return to the same desktop when you reconnect. Signing out from the Start menu ends the session and closes its programs. Sign out when you are finished on a shared server, because a disconnected session still uses memory and can count against session limits.
Remote Desktop Compared With Other Remote Access
Remote Desktop compared with other remote access methods differs in what is sent and what must be reachable.
| Method | What you get | Best fit | Main limit |
|---|---|---|---|
| RDP | A full Windows desktop in its own session | Daily work on a Windows machine | The host needs a Windows edition that accepts sessions |
| VNC | A copy of the screen that is already displayed | Mixed systems and simple screen sharing | Features and security vary by implementation |
| Brokered remote support tools | Screen control through the servers of a vendor | Helping someone without changing their router | Relies on a third party service and account |
| SSH | A command line, with file transfer and tunnels | Managing Linux and network gear | No desktop unless you add one |
| VPN | A private network path, not a desktop | Reaching an office network safely | You still need RDP or similar to see a screen |
A VPN and RDP are often used together and are not alternatives. The VPN gets you onto the network, and RDP gives you the desktop once you are there. For a closer look at the first two rows, see RDP vs VNC. Remote Desktop also differs from Windows Remote Assistance. Remote Desktop gives you your own remote sign in session, while Remote Assistance lets another person help inside the session of a user who is already signed in.
When a Hosted Windows Desktop Makes Sense
A hosted Windows desktop makes sense when the machine you connect to should be online all day and reachable from anywhere.
With a home or office PC as the host, you depend on that PC staying awake, on its internet line and on a router that lets the connection in. A rented Windows server in a data center removes those three dependencies and adds a monthly cost. Neither choice is right for everyone.
| Your situation | Better choice | Why |
|---|---|---|
| You only need your own office files a few times a month | Your own PC | Nothing extra to pay for or look after |
| Software must keep running while your laptop is closed | Hosted desktop | It stays on in the data center |
| Your home connection has a changing address or blocks incoming connections | Hosted desktop | It has a fixed public address |
| You work from several devices and want one desktop behind them all | Hosted desktop | The session can stay available between connections, subject to session policies and maintenance |
| You need a desktop in a certain country | Hosted desktop | You pick where the server sits |
| You edit video or play games that need a local graphics card | Your own PC | Screen heavy work suffers from distance and compression |
| You need hardware plugged in beside you, such as a scanner or a dongle | Your own PC | Redirection covers many devices but not all |
One licensing point is easy to miss. Microsoft documents that Remote Desktop on Windows Server allows two concurrent remote connections for administering the server without client access licenses. That allowance is for administration, not for general multi user desktop hosting. More than two connections, or ordinary user desktops, need the RD Session Host role and Remote Desktop Services client access licenses.
If the right hand column describes you, a Windows RDP server from VPS Lane comes with full administrator access, is ready in under 7 minutes and is paid in Bitcoin, USDT or Litecoin.
Common Remote Desktop Connection Problems
Most common Remote Desktop Connection problems trace back to one of the host conditions listed earlier.
| What you see | Likely cause | What to check |
|---|---|---|
| The client cannot find the computer | Wrong name or address, or the host is off or asleep | The address, and that the host is powered on and online |
| It waits and then times out | A firewall or router is dropping the request | The firewall on the host and any router or cloud firewall in front |
| It is refused straight away | Nothing is listening on that port | That Remote Desktop is enabled and the port number is right |
| Credentials are rejected | The account is not allowed or the password is wrong | The allowed users list on the host |
| A certificate warning appears | The host uses a certificate your device does not trust | That the name and address are the ones you expect |
| It works at the office but not from home | The host is only reachable inside its own network | A VPN, a gateway or a port forward, as Microsoft describes |
| It fails before the credentials prompt | The two sides cannot agree on security, often Network Level Authentication | That the client is current and what the host requires |
| You sign in and are dropped at once | A session limit, a policy or a licensing problem on the host | Session limits, policy and licensing on the server |
| You land on an old desktop, not a fresh one | The earlier session was disconnected, not signed out | Carry on in it, or sign out when you finish |
| Clipboard or local drives are missing | Redirection is switched off on one side | The Local Resources tab of the client and policy on the host |
| The picture is slow or blurry | A weak link, and possibly UDP being blocked | A lower resolution, and UDP 3389 on the firewalls in between |
Questions people ask
Is Remote Desktop Connection the same as RDP?
Not quite. RDP is the protocol, the rules for the traffic. Remote Desktop Connection is the Windows client app that speaks it, also known as mstsc.
Why is Remote Desktop Connection on my computer?
It is included with Windows as a client for connecting out to other computers. Its presence does not mean anyone can reach your PC, because incoming sessions must be enabled on a host first.
Is Remote Desktop Connection free?
The client is included with Windows at no extra cost. Hosting needs a Windows edition that accepts sessions, which Microsoft lists as Professional, Enterprise, Education and Server.
Can Windows Home use Remote Desktop?
Windows Home can connect to other computers as a client. Microsoft states that Home editions cannot act as the host that accepts incoming sessions.
Is Remote Desktop Connection secure?
It can be, depending on setup. Modern connections normally use TLS or CredSSP, while RDP also supports the older Standard RDP Security mode. A host open to the whole internet still faces password guessing, so limit who can reach it.
Does Remote Desktop work over the internet?
Yes, if the client can reach the host. Microsoft describes port forwarding or a VPN for a PC behind a home or office router, and a VPN or gateway is the lower risk choice.
Can Remote Desktop connect to a computer that is asleep?
No. Microsoft states that you cannot connect to a PC that is off, asleep or hibernating, so set sleep and hibernation on the host to Never.
How much internet speed does Remote Desktop need?
There is no single minimum, because use depends on resolution and on what is on screen. Office work needs far less than video, and delay and stability matter as much as speed. The 66 KB first screen in the test above is not a benchmark.
Sources
- Microsoft Learn, Enable Remote Desktop on your PC
- Microsoft Learn, mstsc command reference
- Microsoft Open Specifications, MS-RDPBCGR Connection Sequence
- Microsoft Open Specifications, MS-RDPBCGR Enhanced RDP Security
- Microsoft Open Specifications, MS-RDPBCGR CredSSP
- Microsoft Learn, Ports that are used by Remote Desktop Services
- Microsoft Learn, Peripheral and resource redirection over the Remote Desktop Protocol
- Microsoft Learn, What is Windows App
- Microsoft Learn, Troubleshoot Remote desktop disconnected errors