Demonstrate the concept of RDP for remotely controlling another computer from our system, learn other remote desktop solutions and learn the data security and data sharing concepts
Aim / Objective
To demonstrate remote administration using Remote Desktop Protocol (RDP / TCP port 3389) between two networked computers, configure Network Level Authentication (NLA), explore cross-platform alternatives (VNC, AnyDesk, SSH with X11 forwarding), and evaluate security, clipboard/drive sharing risks, and session encryption.
Hardware & Software Requirements
Hardware Components
- Two desktop computers (PC-Host and PC-Client) connected to the same LAN / switch
- Display monitors, keyboards, and mice on both systems
Software, OS & Tools
- Windows 10/11 Pro or Enterprise edition on Host (RDP Server is not supported on Windows Home edition)
- Remote Desktop Connection client (`mstsc.exe`) on Client PC
- Alternative Remote Software: AnyDesk / TeamViewer / RustDesk or VNC (RealVNC / TightVNC)
- SSH Client (OpenSSH / PuTTY)
Teacher's Lab Delivery Guide
Essential briefing notes, pedagogy, and setup tips for lab instructors⏱ 5-Minute Pre-Lab Lecture Briefing:
Explain that RDP does NOT stream video like YouTube; it transmits graphical drawing commands (GDI/DirectX primitives, fonts, button renders) and user inputs (keystrokes, mouse coordinates), making it bandwidth efficient. Point out that Windows Home edition can act as an RDP Client, but only Windows Pro/Enterprise can act as an RDP Server.
📝 Key Concepts to Write on Whiteboard:
- RDP architecture: Client-Server model over TCP Port 3389
- Network Level Authentication (NLA) requiring credential verification prior to TLS handshake
- Enabling Remote Desktop in Windows Settings and Windows Defender Firewall rules
- Resource redirection: Clipboard, Local Drives, Printers, Audio, Smart Cards
- Data Security risks: Man-in-the-Middle (MitM), credential theft, clipboard exposure, brute-force attacks
- Comparative evaluation: RDP vs VNC (RFB protocol) vs AnyDesk/TeamViewer (cloud-brokered WebRTC/custom) vs SSH (terminal/X11)
Step-by-Step Practical Procedure
Enable Remote Desktop on Host System (Server)
On the Host PC, go to Settings -> System -> Remote Desktop. Toggle "Remote Desktop" to ON. Expand the settings and ensure "Require computers to use Network Level Authentication (NLA) to connect" is checked. Note the Host PC IP address (`ipconfig`).
Settings -> System -> Remote Desktop -> Enable Remote Desktop: ON
Configure Local User Permissions & Windows Firewall
Click "Select users that can remotely access this PC" and ensure the target local user belongs to the "Remote Desktop Users" or "Administrators" group. Verify that Windows Firewall allows "Remote Desktop (TCP-In 3389)".
net localgroup "Remote Desktop Users" [Username] /add
Initiate Connection from Client PC via MSTSC
On the Client PC, press `Win + R`, type `mstsc` and hit Enter. Enter the Host PC IP address (e.g. `192.168.1.15`). Click "Show Options" -> "Local Resources" tab. Examine drive redirection, clipboard sharing, and audio settings. Click "Connect".
Run: mstsc /v:192.168.1.15
Authenticate and Inspect Remote Session
Accept the self-signed SSL/TLS certificate warning after verifying the certificate thumbprint. Enter the Host PC username and password. The Host PC will lock its physical screen and the remote desktop will appear in a window on the Client PC.
Credential: Target_Username & Password
Compare with Alternative Remote Desktop Solutions
Demonstrate AnyDesk / TeamViewer / RustDesk and compare with RDP: notice that cloud-brokered tools work across NAT and firewalls without port forwarding, whereas pure RDP requires LAN visibility or port forwarding / VPN.
Test: RustDesk / AnyDesk 9-digit code connection
Interactive Hands-On Lab Simulator
Practice and test concepts virtually before or after performing on physical lab equipmentObservations & Student Lab Record
Students are required to record the following measured parameters, hardware specifications, and output status into their physical lab journals:
| Remote Technology | Default Port / Protocol | Encryption Method | NAT Traversal Capability | Bandwidth Efficiency |
|---|---|---|---|---|
| Microsoft RDP | TCP 3389 (UDP optional) | TLS 1.2 / 1.3 with NLA | Requires VPN or Port Forwarding | High (Vector primitives & font caching) |
| VNC (Virtual Network Computing) | TCP 5900 (RFB protocol) | None / SSH Tunnel / TLS (in Enterprise) | Requires Port Forwarding | Low (Raw or compressed pixel bitmaps) |
| AnyDesk / TeamViewer | TCP 443 / 80 / 6568 | RSA-2048 & AES-256 GCM | Built-in (Cloud relay & NAT hole punching) | High (Custom video codec DeskRT) |
| SSH (Secure Shell) | TCP 22 | SSH-2 (ChaCha20 / AES-CTR) | Requires Port Forwarding | Ultra-High (Pure CLI or compressed X11) |
Conclusions & Learning Outcome
Microsoft Remote Desktop Protocol (RDP) was successfully configured and demonstrated over a local area network. The security mechanisms—including Network Level Authentication (NLA), TLS encryption, and clipboard/drive redirection policies—were analyzed. Comparison with alternative remote access solutions highlighted trade-offs between ease of NAT traversal and corporate security control.
Oral Exam & Viva Questions with Answers
Essential questions asked by external examiners and lab evaluators (Accordion UI)TCP port 3389 (modern versions can also use UDP 3389 for enhanced audio/video streaming).