Is Remote Desktop exposed to the internet? How to check and fix it
Check two things: whether a PC accepts Remote Desktop connections, and whether your router or firewall forwards the RDP port (3389 by default, or any custom port) to it from the internet. If both are true, RDP is exposed, and you should close the forward today and switch to remote access that requires MFA.
Exposed RDP is one of the most common ways ransomware groups get into small businesses. Bots scan the whole internet for it continuously and try stolen and guessed passwords around the clock. A long password helps, but it doesn't make internet-facing RDP safe, and many cyber insurance applications ask about it directly.
Step 1: Is RDP turned on for this PC?
- Settings: Settings → System → Remote Desktop. If the switch is On, the PC accepts connections. (Windows Home editions can't accept RDP connections at all.)
- PowerShell (read-only):
(Get-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server').fDenyTSConnections0means RDP is enabled;1means it's disabled. - Is it listening?
Output means something is listening on 3389. Someone may also have moved RDP to a custom port, so checkGet-NetTCPConnection -State Listen -LocalPort 3389 -ErrorAction SilentlyContinuePortNumberunderHKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
RDP being on isn't a problem by itself. Inside the office network, behind a VPN with MFA, it can be fine. The danger is when it's reachable from the internet.
Step 2: Is it reachable from the internet?
- Check port forwarding on your router or firewall. Log in to the admin page and look for Port forwarding, Virtual servers, NAT or Inbound rules. Any rule sending 3389 (or an odd port like 33890 or 50000) to an inside PC is exposed RDP. Remove it.
- Check UPnP. Universal Plug and Play lets devices open ports on their own. Turn it off on business routers unless something specifically needs it.
- Check cloud servers. If you run a Windows server in Azure, AWS or a hosting company, check its network security group or firewall for inbound 3389 open to "Any" or 0.0.0.0/0.
- Ask your IT provider. They should know every inbound rule. Ask: "Is RDP or any remote-access port open to the internet at any of our sites?" and ask for the answer in writing.
Testing from the outside: you can check your office's public IP from a phone on mobile data, or with an external port checker, but only for networks you own or manage. Scanning other people's networks isn't okay.
Step 3: Replace it with something safer
| Option | Good for | Notes |
|---|---|---|
| VPN with MFA, then RDP inside | Staff working from home on office PCs | Most business firewalls include a VPN; require MFA on it |
| Remote Desktop Gateway with MFA | Offices with a Windows server | RDP wrapped in HTTPS, with sign-in protection |
| Cloud remote-access or remote-support tool | Small offices, MSPs | No inbound ports; enforce MFA and remove old accounts |
| Move the work to the cloud | Email, files, accounting | Often removes the need to reach an office PC at all |
Whichever you pick, turn on Network Level Authentication for RDP (Settings → System → Remote Desktop → Advanced settings), limit who can sign in remotely to named users (not everyone in Administrators), and set an account lockout policy.
If RDP was exposed for a while
- Check Windows Security event logs for failed sign-ins (event ID 4625) and successful remote sign-ins (event ID 4624, logon type 10) from addresses you don't recognize.
- Change passwords for every account that could sign in remotely, and look for new local accounts you didn't create.
- If you see successful sign-ins you can't explain, treat it as an incident. Follow the ransomware first-hour steps and call your IT provider or insurer.
The free Windows Quick Security Check flags RDP and Network Level Authentication on each PC, along with Defender, firewall, BitLocker, patch age and SMBv1. For the bigger picture, take the free 5-minute security self-assessment.
Windows Endpoint Security Audit $24
Runs 15 read-only checks per PC, including RDP and NLA, listening ports, local admins and UAC, with a color-coded HTML report.
Get the templatesFrequently asked questions
How do I know if RDP is open to the internet?
Check whether the PC has Remote Desktop enabled, then check your router or firewall for any port-forwarding rule sending port 3389 (or a custom RDP port) to an inside computer. Both together mean RDP is exposed.
Is changing the RDP port enough to make it safe?
No. Scanners find RDP on non-standard ports quickly. Put RDP behind a VPN or gateway that requires MFA instead of exposing it directly.
Is Remote Desktop safe to use inside the office?
Generally yes, with Network Level Authentication on, strong passwords and access limited to named users. The main risk is exposing it to the internet.
Do cyber insurers ask about RDP?
Many cyber insurance applications ask whether RDP is exposed to the internet and whether remote access requires MFA, because exposed RDP is a common ransomware entry point.