Sub topic 10
RDP: Remote Windows Desktops
This chapter assumes you know basic networking terms (IP address, port, firewall) and can use the Windows command line. It covers what RDP does, how to connect, and the errors you will meet on the A+ Core 2 exam and on the job.
What RDP is
Remote Desktop Protocol (RDP) is a Microsoft protocol that shows a remote Windows computer's desktop on your screen. You see the desktop, and your keyboard and mouse input goes to the remote machine. RDP uses TCP port 3389 by default. Windows also uses UDP 3389 for better performance on some connections.
The client is Remote Desktop Connection, started with mstsc. The target must run an edition that can host RDP sessions. Windows Pro, Enterprise, and Education can. Windows Home can connect out as a client but cannot accept incoming RDP connections.
How a session works
Enabling and connecting
On the target PC, turn on Remote Desktop in Settings under System, then Remote Desktop. You can also use System Properties, Remote tab. Windows opens the firewall rule for you when you enable it. Only administrators and users you add to the Remote Desktop Users group can connect.
From the technician's PC, run this command:
mstsc /v:192.168.1.50Enter the remote account's credentials when asked. By default, a normal Windows session locks the remote screen. A user sitting at the machine is signed out of the local view while you work.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Connection times out | Firewall or router blocks TCP 3389, or the PC is off | Allow the port, or check that the PC is on and reachable |
| "Remote Desktop can't connect" | Remote Desktop is disabled, or the edition is Home | Enable it, or use another tool |
| Login refused | Account is not in Remote Desktop Users | Add the user to the group |
| Credentials rejected | Wrong password or Network Level Authentication mismatch | Re-enter credentials and update the client |
Network Level Authentication (NLA) makes the user prove their identity before a full session starts. It reduces the load an attacker can put on the host, so leave it on.
Security notes
Do not expose port 3389 directly to the internet. Automated scans find open RDP ports within minutes, and attackers then guess passwords. Safer choices are:
- Put RDP behind a VPN so only connected users can reach it.
- Use strong passwords and multifactor authentication.
- Keep NLA enabled and Windows patched.
- Give users only the access they need, using the Remote Desktop Users group instead of administrator rights.
Changing the port number hides RDP from casual scans, but it is not real protection.
Exercise
Exercise
A technician cannot start an RDP session to a laptop running Windows 11 Home, though the firewall is open and the laptop is on. What is the most likely cause, and what is the default port RDP uses?
Show answer
Windows Home cannot accept incoming RDP connections, so it cannot act as the host. RDP uses TCP port 3389 by default. The technician should use another tool, such as Microsoft Remote Assistance or a third-party tool, or upgrade the laptop to Pro.