Exposing Remote Desktop to the internet without a VPN or zero-trust gateway invites brute-force attacks. Enable NLA, use strong passwords, and prefer VPN-first access.
What you will achieve
Enable Remote Desktop on Windows Pro/Enterprise with Network Level Authentication, restricted users, and firewall rules scoped to your network.
1) Enable RDP in Settings
- Settings → System → Remote Desktop → toggle On.
- Confirm Require devices to use Network Level Authentication stays enabled.
- Note the PC name shown — clients need this or the IP to connect.
2) Allow users who may connect
- Click Remote Desktop users or run
sysdm.cpl→ Remote tab → Select Users. - Add named accounts — do not give Everyone access. Standard users in this list can RDP; they still need a password.
3) Firewall verification
wf.msc→ confirm Remote Desktop - User Mode (TCP-In) is enabled for Domain/Private, disabled on Public if possible.- RDP uses TCP 3389 by default — change port only with registry + firewall rule together if you must non-default.
4) Connect from another PC
- On the client, run
mstsc.exe, enterPC-nameor IP, connect with authorised credentials. - For access outside the LAN, use VPN first (Settings → Network & internet → VPN) — do not port-forward 3389 to the internet bare.
5) Change default RDP port (optional obscurity)
- Registry:
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp→PortNumberDWORD. - Add matching firewall inbound rule — obscurity is not security; still use VPN and NLA.
6) Audit RDP logons
- Event Viewer → Windows Logs → Security, Event ID 4624 Logon Type 10 = RemoteInteractive (RDP).
7) Require NLA via Group Policy
- Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Security → Require user authentication for remote connections by using Network Level Authentication → Enabled.
8) RD Gateway pattern
- Instead of exposing 3389, publish RD Gateway on 443 with TLS — clients set gateway in RDP file Advanced tab.
- Home users without server infra should use VPN then RDP on Private network only.
Verification checklist
RDP from authorised client on LAN succeeds with NLA. From unauthorised account, connection rejected. RDP from internet without VPN should fail if router forwards nothing.
- Reboot once after changes that affect services, drivers, or firmware.
- Confirm the original problem is resolved under normal daily use, not only immediately after the fix.
- Note date, Windows version (Settings → System → About), and what changed in your personal runbook for next time.