1

In our Windows SBS 2011 network with about a ten Windows 10 1803 client machines, we cannot connect to one of them using Remote Desktop Connection. The error is the following:

enter image description here

Here are the Firewall settings of the problematic PC:

enter image description here

Here are the Firewall settings of other clients, where the connection can be successfully established.

enter image description here

How do I replicate the same settings on the problematic machine?

Thanks.

abenci
  • 503
  • 1
  • 7
  • 17
  • Which network profile is active on the problematic machine? Domain, Private or Public? And is RDP enabled? – Gerald Schneider Aug 23 '18 at 06:28
  • As you can see in the first picture, the `Domain` one. Yes RDP is enabled. – abenci Aug 23 '18 at 06:34
  • The picture only shows that the firewall is open for domain networks. It does not show which profile is active on the network interface. – Gerald Schneider Aug 23 '18 at 06:34
  • Please link a picture/link to instructions on how to check this setting. – abenci Aug 23 '18 at 06:36
  • 1
    It seems pretty clear that Group Policy is not being applied to the machine in question. The firewall rules are being configured via GPO as on the second machine, bit not the first. Figure that out and you'll probably figure out the problem. – joeqwerty Aug 23 '18 at 11:20
  • Thanks, can you link me some instructions on how to configure GPO in the same way? – abenci Aug 23 '18 at 11:48

2 Answers2

1

Your screenshot shows that the firewall exception is only configured for Domain networks. Windows 10 1803 made it pretty difficult to check the currently active connection profile, the easiest way is to do this via powershell:

PS C:\> Get-NetAdapter | Get-NetConnectionProfile
Name             : example.com
InterfaceAlias   : Ethernet 3
InterfaceIndex   : 10
NetworkCategory  : DomainAuthenticated
IPv4Connectivity : Internet
IPv6Connectivity : NoTraffic

You will get errors for interfaces that are not connected, you can safely ignore them. Relevant is the attribute NetworkCategory. If it shows DomainAuthenticated it's seen as a domain network and the firewall exception should work. If you get a different value you either have to fix the network detection, or configure the firewall to allow RDP on other profiles.


The second thing to check, is if remote connections are allowed at all. Again, Windows 10 1803 made it difficult to find the dialog for this. The easiest way is to just run sysdm.cpl. (You can do this right from the powershell, or from the run dialog, it doesn't matter).

Open the Remote tab and check if the Remote Desktop section allows connections.

enter image description here

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89
  • Got this tested and the results are identical to yours, with the only difference that `example.com` is `example.local` as in all our client machines. – abenci Aug 23 '18 at 07:14
0

Using RemoteDesktopConnection with the machine IP worked. So we investigated inside the Windows Server DNS Manager and discovered that the IP used was assigned to a different machine name. Deleting one record and changing the IP address in the correct machine name resolved the issue.

Just to recap, the machine name and the network IP address did not refer to the same PC inside the DNS Manager.

abenci
  • 503
  • 1
  • 7
  • 17