Can’t Remote Desktop To Hyper-V Server 2012 R2

desktophyper-vrdpremote

I enabled RDP, set static IP address, created a local administrator account and made sure remote management was enabled. I can ping the server fine. On the client machine thats running Windows 10 I open up Remote Desktop and type in the IP address and the serverName\localAdmin. When I click connect it loads for a bit and then comes back with the 'Remote Desktop can't connect to the remote computer' error.

Is there something that I'm missing? None of the devices are on a domain.

Best Answer

So I found some info in regards to the issue I was having. Like suggested it is a firewall issue and for future users these are the commands I ran to disable the firewall and then add in some rules afterwards.

Powershell

Enable-NetFirewallRule -DisplayGroup "*"

Command Prompt

C:\ netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes

C:\ netsh advfirewall firewall set rule group="Remote Administration" new enable=yes

C:\ netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes

C:\ netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes

C:\ netsh firewall set icmpsetting 8