Cry about...
Windows Hyper-V-Server
Remote Desktop can't connect to the remote [hyper-v] computer
Symptom
When trying to use Remote Desktop Connection to connect to the hyper-v server, remote desktop connection fails with its standard (non-descript) error message:
Remote Desktop can't connect to the remote
computer for one of these reasons:
.
.
.
The Solution
There are a number of things to check:
- On the Hyper-V server, using sconfig check that Remote Desktop is enabled.
- From the computer you are trying to remote desktop from
check that there is network connectivity between the compute and
the server.
The simplest way to check this is probably to open a command prompt window and using ping to ping the server:
C:\> ping hserver
If it has not already been done then you will need to enable pings at the hyper-v server as the default setting is for it to not respond to pings.
- On Hyper-V-Server 2012 R2 the firewall may be blocking RDC
(I think this is an issue introduced with R2). To enable remote
desktop to connect through the firewall, log into the
hyper-v-server, and at the command prompt enter:
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
thus:
C:\> netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
Updated 6 rule(s).
Ok.
C:>
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.