Skip to content

Remote Desktop can't connect to the remote computer — by Microsoft Learn

intermediatepageLink only (©)

Troubleshooting guide for failed RDP connections. The firewall section tells you to check that the Remote Desktop inbound rules are enabled and gives a PowerShell one-liner to enable them, and the page also points at antivirus interference.

Quick steps

  1. Open wf.msc and confirm the Remote Desktop - User Mode (TCP-In and UDP-In) inbound rules are enabled
  2. Or run: Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True
  3. Test with antivirus temporarily out of the way

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on learn.microsoft.com

Source: Remote Desktop can't connect to the remote computer by Microsoft Learn. Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

rdpfirewalltroubleshootingwindows server

More in Server Basics