none
Connect to VM on local computer using RDP (Hyper-V VM containing XP)

    Question

  • I have installed HYPER-V on my WIndows 100 N Desktop and also created a VM called WINDOWS_XP. I want to connect to the VM, but every way I go does not work. I tried WINDOWS_XP as the Computer Name. That did not work. I tried putting the Desktop Computer's name first with a back slash following and then the VM name. That didn't work either. So, how do you connect?
    Sunday, March 26, 2017 3:05 AM

All replies

  • Windows 10 (not 100)!
    Sunday, March 26, 2017 3:06 AM
  • You have to use IP address instead computer name because you host machine doesn't know name of your guest machine.Open a cmd shell and type: mstsc /v:192.168.10.25. Replace the sample IP with IP of your guest machine.

    Or you can do the following go to  C:\Windows\System32\drivers\etc, then open host file in notepad then add at the end IP of your guest machine point to IP address like this

    192.168.10.25    vm_windowsXP

    Replace IP address and computer name with IP and address and name of your guest machine then use this  name to open a RDP session.

    Hope helps you


    Sunday, March 26, 2017 6:55 AM
  • Hi,

    Make sure that your virtual network type is not Private(only allows communications between Virtual machine to virtual machine on the same physical server).

    Check to see if you can successfully ping IP address between physical device and virtual machine.

    If the problem persists, please provide more information, such as error message, “ipconfig /all” results on both system.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, March 27, 2017 7:16 AM
    Moderator
  • Hi,

    How things are going there on this issue?

    Please let me know if you would like further assistance.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, April 06, 2017 6:03 AM
    Moderator