Remote Desktop can't connect to the remote computer — by Microsoft Learn
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
- Open wf.msc and confirm the Remote Desktop - User Mode (TCP-In and UDP-In) inbound rules are enabled
- Or run: Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True
- Test with antivirus temporarily out of the way
Paraphrased from the source. Menus can differ by version, so check the original for full details.
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