I just downloaded and installed Hyper-V Server 2019 from Microsoft Evaluation Center (version: 1809/10.0.17763.1).
Now I'm not able to connect to this machine (which I named hypervserver
) using remote desktop.
Routing seems to be fine and pinging works as well, but the RDP port is not reachable:
>$ ping hypervserver
Reply from {IP}: bytes=32 time<1ms TTL=128
[...]
>$ telnet hypervserver 3389
Connecting To {IP}...Could not open connection to the host, on port 3389: Connect failed
No changes even after disabling firewalls and setting the network category of the used network profiles to Private
.
I can see that I successfully enabled RDP, because sconfig.cmd
says:
4) Configure Remote Management: Enabled
7) Remote Desktop: Enabled (all clients)
Registry keys look good as well:
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnection = 0
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\fEnableWinStation = 1
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber = 3389
Service seems to be running:
PS >$ Get-Service -Name termservice -ComputerName hypervserver
Status Name DisplayName
------ ---- -----------
Running termservice Remote Desktop Services
However, noone seems to be listening on port 3389:
>$ netstat -ano | findstr LISTEN | findstr :3389
>$
I have a standard setup with an ordinary (and single) ethernet network interface configured to get its IP using DHCP. Neither rebooting nor restarting the service has helped. Event log does not contain any errors.
What else could be the problem? Shouldn't this work out of the box?
What about events in the Windows? Is there anything in Windows Event Manager? Maybe it is some sort of Port conflict inside the Windows. Run the following command - "netstat -an" and share the output. Also, you can change the decimal value of the RDP default port and try to log in.
Take a look at Microsoft forum https://social.technet.microsoft.com/Forums/windowsserver/en-US/c3cfc2df-fc29-4abc-acf1-01797f528333/port-3389-not-listening?forum=winserverTS
There are the problems with some MS driver:
"We opened a case with Microsoft on this issue and we determined that it was related to the following driver being disabled: remote desktop services security filter driver To check whether this enabled or disabled, open device manager and show hidden devices. We were not able to enable it, so we uninstalled it and rebooted. After rebooting we were able to telnet to the server on port 3389, but we were still not able to connect with remote desktop. As a last step, we set remote desktop security layer to “negotiate”. To do this, open the "remote desktop session host configuration" application in administrative tools and edit the properties of “rdp-tcp”. The setting can be found on the general tab. Hope this helps someone!"
This is a bug.
Update:
Microsoft fixed the issue within the update KB4482887 (build 17763.348, released on 2019-03-01). Last time I checked it had to be installed manually and was not available through the server's update feed:
For more info see this thread.
I had the same issue and it was due to "Remote Desktop Services UserMode Port Redirector" service being disabled. I enabled it and restarted both services and it started listening on 3389
In Windows usually the port will not listen if you have the "Remote Desktop" section set to "Don't allow remote connections to this computer" under the advanced "System Properties".
To check, do the following:
By default, this is OFF, or sometimes it's on but some corporate admins might disable it for security reasons.
Good luck, and hope all goes well.
Regards, Heider.
Solved. As stated on another thread (it's not mine solution): just download the KB from http://www.catalog.update.microsoft.com/Search.aspx?q=KB4482887
then store it on a USB key and mount it on your Core Server, then from a command prompt install it using:
Wusa KB.msu
https://social.technet.microsoft.com/Forums/en-US/c9d82adb-5dd5-4e43-878c-2e98e00c2943/hyperv-server-2019-rdp-not-working?forum=winserverhyperv&prof=required