I remember that When I set up my Windows 7 Professional configuration, I blocked RDP access (if I remember correctly I said "no" to a question coming probably from firewall) when inbound RDP session was started the first time. Then I tried to unblock it but without any result. I have one Remote Desktop rule in the firewall Inbound Rules, specifying TCP protocol. I have no difficulties with outbound connections. The router isn't the source of the problem because even in direct LAN connection the effect is the same. What to do?
Check if the remote desktop settings allow connection from remote:
- right click on computer -> remote settings -> check which option is enabled
- it should be "allow remote connection....."
Check the firewall rules in which zone the port 3389 is allowed in inbound connection
Check if you computer had an IPv6 address, if yes probably your network interface are set to public zone.
To enable it with powershell (run as administrator):
Enable Remote Desktop Connection:
Set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\‘ -Name “fDenyTSConnections” -Value 0
Enable Network Level Authentication (this permit connection only from client with NLA)
Set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\‘ -Name “UserAuthentication” -Value 1
Enable the connection trough the firewall:
Enable-NetFirewallRule -DisplayGroup “Remote Desktop”
the above steps should enable and permit RDP connection to your computer