Skip to main content

Unable to remote desktop to Hyper-V VM

I recently tried to help someone remote desktop into Hyper-V VM as the person wasnt comfortable working with the resolution offered by the Hyper-V Console. However for some reason RDP was not working. I checked port no 3389 through netstat -na|more command and found that it was listening

I checked that remote desktop was enabled however still RDP wasnt working




Finally with the help a colleague i found that in the VM Settings-> a checkbox Enable virtual LAN identification was checked and this needed to be unchecked in order for the RDP to work.

Why would you want to use RDP to connect to your VM? Well for a much better display resolution and seamless clipboard access

 

Comments

Popular posts from this blog

Hyper-V VM 100% disk utilization

I was facing a persistent issue of 100% disk utilization on starting any VM in my Hyper-V. The below link helped me to resolve it https://social.technet.microsoft.com/Forums/office/en-US/2b184f22-ea8c-4bc3-9f64-8b46eeaeef61/hyperv-host-disk-usage-at-100?forum=w8itprovirt

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.

I received the following error when trying to connect to a server's SQL Server. I was able to telnet the Server on the required TCP Port (1433) but SSMS could not connect to the SQL Server instance.  Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was – [Pre-Login] initialization=13472; handshake=14425; (Microsoft SQL Server, Error: -2) I eventually found that a Hyper-V Adapter was responsible for the issue, disabling which resolved the issue, have faced a similar issue with VirtualBox adapter too. Hope it helps.