Remote Desktop Stopped Connecting to My Cousin's Office PC: Home Edition, a Firewall Rule and One Network Profile

Remote Desktop said it couldn't connect after a router swap. Edition check, a port 3389 test, a firewall rule limited to Private networks and a network profile that flipped to Public.

My cousin runs a small accounting practice from a spare room, and for two years she has connected from her laptop to the desktop in that room using Remote Desktop. It is not a complicated setup: one desktop with the client files, one laptop she carries to the kitchen table, both on the same home Wi-Fi. Last week the laptop suddenly said “Remote Desktop can’t connect to the remote computer” and offered three possible reasons, none of which told her which one was real.

She asked me to look at it on a Saturday morning. This is the order I worked through, what each step ruled out, and what finally fixed it. If you are staring at the same message, the steps are worth doing in this order, because each one removes a whole category of causes before you start editing settings at random.

Step 1: Confirm the desktop can actually host a session

The first thing I checked was not the laptop at all. Remote Desktop has two halves: the client (the Remote Desktop Connection app, which every edition of Windows 11 has) and the host (the part that accepts incoming connections). Only Windows 11 Pro, Enterprise and Education can be a host. Windows 11 Home can connect out, but nobody can connect in.

On the desktop I opened Settings > System > About and looked at the edition. It said Pro, which was good news, but I have seen this exact problem on a friend’s PC after a motherboard replacement re-activated Windows as Home. If your host machine says Home, no setting in this article will help; the host side simply is not there.

Next, Settings > System > Remote Desktop. The toggle was on. Microsoft documents this toggle and the related permission settings in its guide to allowing access to your PC, and it is worth reading once because it explains which user accounts are allowed to sign in remotely. Administrators are allowed automatically; a standard account has to be added under “Remote Desktop users”. My cousin signs in with an administrator account, so that was not it either.

Step 2: Check the name or address you are connecting to

On the laptop, her saved connection pointed to the desktop by its computer name. Names are convenient, but they depend on name resolution on the local network, and that is fragile on home routers.

I opened Command Prompt on the laptop and ran:

ping OFFICE-DESK

It answered, which ruled out the obvious. Then I ran ipconfig on the desktop, noted its IPv4 address, and tried connecting to the IP address directly instead of the name. Same error. So name resolution was not the problem, and the two machines could see each other. That narrowed things down to something blocking the connection on the desktop itself.

Step 3: Test the port, not just the machine

Ping only proves the computer is awake. Remote Desktop listens on TCP port 3389, and that port can be blocked even while ping works. PowerShell has a simple test for this:

Test-NetConnection OFFICE-DESK -Port 3389

The result came back with TcpTestSucceeded : False. That was the first real clue. The desktop was reachable, Remote Desktop was switched on, but nothing was answering on the Remote Desktop port.

There are three common reasons for that:

  1. The Remote Desktop service is not running.
  2. Windows Defender Firewall is blocking the inbound rule.
  3. A third-party security suite has its own firewall that took over.

I checked them in that order.

Step 4: The service and the firewall rule

In services.msc on the desktop, Remote Desktop Services was running and set to Manual, which is normal. Restarting it did not change the port test.

Then I opened Windows Security > Firewall & network protection > Allow an app through firewall. Remote Desktop was listed and ticked, but only in the Private column. That detail matters more than it looks, so I went back to the network settings.

Step 5: The network profile had flipped to Public

On the desktop, Settings > Network & internet > Wi-Fi > (her network name) showed the network profile type set to Public network. Two weeks earlier her internet provider had replaced the router. The new router had the same Wi-Fi name and password, so the laptop reconnected without complaint, but Windows treated it as a brand-new network and gave it the safe default: Public.

On a Public network, Windows Defender Firewall applies its stricter profile, and the Remote Desktop rule that was only enabled for Private networks no longer applied. Nothing on the screen said “Remote Desktop blocked”; the connection just silently failed.

I switched the profile to Private network, ran the port test from the laptop again, and got TcpTestSucceeded : True. The connection opened on the first try.

If you would rather not change the profile (for example on a shared network you do not fully trust), the alternative is to enable the Remote Desktop rule for the Public profile, but on a home network you control, Private is the correct setting anyway.

Step 6: Network Level Authentication, the other common trap

While I was there, I checked one more setting because it causes the second most common version of this problem. In Settings > System > Remote Desktop, there is an option called “Require devices to use Network Level Authentication to connect”. NLA makes you authenticate before a full session is created, which is safer, and it should normally stay on.

Where it causes trouble is when the account you sign in with is a Microsoft account that has only ever used a PIN or Windows Hello on the host. The client asks for a password, and the PIN is not accepted. The fix is not to turn NLA off; it is to sign in once on the host with the actual Microsoft account password, after which remote sign-ins work. My cousin had hit this a year ago, which is why she still remembered typing her full email address into the Remote Desktop prompt.

A short checklist I left taped to her monitor

  • Host must be Windows 11 Pro, Enterprise or Education.
  • Settings > System > Remote Desktop must be on, and your account allowed.
  • Test-NetConnection <name> -Port 3389 should say True.
  • New router or new Wi-Fi? Check the network profile is Private.
  • NLA stays on; use the account password, not the PIN, for remote sign-in.
  • If a third-party antivirus has its own firewall, add Remote Desktop there too.

Microsoft’s own how to use Remote Desktop page covers the basic setup on both ends if you are starting from scratch. For the wider set of causes, including port 3389 being blocked by a router or a changed listening port in the registry, I keep coming back to this walkthrough on fixing Remote Desktop when it refuses to connect on Windows 11, which goes through each fix with the exact menus.

What I would do differently next time

I would start with the port test. It took ten seconds and it told me more than the error dialog did. A failed port test with a working ping points straight at the firewall or the service; a successful port test with a failed sign-in points at credentials or NLA. Splitting the problem in half like that is faster than checking every setting one at a time.

And whenever a router is replaced, it is worth spending one minute checking the network profile on every PC that shares files, printers or Remote Desktop. In my cousin’s case, nothing was broken. Windows was simply being careful about a network it had never seen before.


Write a comment