Remote access to Hyper-V VM

Page 1 of 2 12 LastLast
  1.    #1

    Remote access to Hyper-V VM


    I have a Hyper-V VM created with a Windows OS running in it. Is there a way I can connect to the VM via Remote Desktop from a computer other than the host computer?

    Thanks!
    John
      My ComputerSystem Spec

  2.    #2

    So I started to figure out how to get remote access. Now I get this error:

    Click image for larger version. 

Name:	Capture.jpg 
Views:	43 
Size:	76.4 KB 
ID:	229356

    I can remote desktop into the host computer just fine.
      My ComputerSystem Spec

  3. Kari's Avatar
    Posts : 15,803
    Windows 10 Pro
       #3

    Remote desktop connection to virtual machines works exactly the same way than connection to physical machines. In screenshot, I am remoting to a Hyper-V VM on another computer just now:

    Click image for larger version. 

Name:	image.png 
Views:	2 
Size:	444.1 KB 
ID:	229433

    Notice that if VM is using Default Switch for network connection (virtual NIC), it puts the VM behind NAT and remote desktop connection does not work. To remote to a VM, it must use a user created External Switch for networking.

    Kari
      My ComputerSystem Spec

  4.    #4

    Thank you! I would also like very much to remotely connect to the Hyper-V manager itself, though. I think I can now iron out connecting to the VM session itself.
      My ComputerSystem Spec

  5. Kari's Avatar
    Posts : 15,803
    Windows 10 Pro
       #5

    NavyLCDR said: View Post
    I would also like very much to remotely connect to the Hyper-V manager itself, though.
    You have two options:

    1.) Remote connect to another PC and open its Hyper-V Manager in remote session

    -- OR --

    2.) Add the second PC to your Hyper-V Manager. Right click Hyper-V Manager on left pane, select Connect to Server, enter remote computer's NetBIOS name or IP:

    Click image for larger version. 

Name:	image.png 
Views:	31 
Size:	90.7 KB 
ID:	229449

    Notice that some prerequisites must be done on both machines before you can add another Hyper-V host. See this tutorial, its Part One, the prerequisites are the same: Windows Admin Center - Centrally manage all your Windows 10 PCs | Tutorials

    Kari
      My ComputerSystem Spec

  6.    #6

    I'll look at that, thank you!
      My ComputerSystem Spec

  7. jimbo45's Avatar
    Posts : 6,897
    Windows / Linux : Centos, Ubuntu, OpenSuse
       #7

    Hi there
    another follow on question to this

    Can a remote Windows 10 HOME connect directly to HYPER-V as per option 2 or do you have to do it only via option 1- I know you have to have PRO to run HYPER-V but can you access the HYPER-V console from a remote W10 HOME laptop.

    BTW for Linux users if you install something like FREERDP then option 1 works from Linux as well to access windows via RDP.

    Click image for larger version. 

Name:	snapshot34.png 
Views:	2 
Size:	213.1 KB 
ID:	229480

    Cheers
    jimbo
    Last edited by jimbo45; 2 Weeks Ago at 04:41.
      My ComputerSystem Spec

  8. Kari's Avatar
    Posts : 15,803
    Windows 10 Pro
       #8

    jimbo45 said: View Post
    Can a remote Windows 10 HOME connect directly to HYPER-V as per option 2 or do you have to do it only via option 1?
    I have never even installed Windows 10 HOME, so I have never tested it. Logically thinking, because as far as I know, HOME does not have Hyper-V Manager, Option 2 is not available in HOME. But, as I said, I do not know HOME edition and can't be sure about this.

    Kari
      My ComputerSystem Spec

  9. jimbo45's Avatar
    Posts : 6,897
    Windows / Linux : Centos, Ubuntu, OpenSuse
       #9

    Hi there
    Thanks again @Kari

    I don't have HOME either but a work colleague was interested. I tested the Linux link so even from a Linux VM you can access Windows remotely via an "RDP" equivalent -- ignore certificate errors and it works just fine

    Actually it's better than using Windows -->Windows RDP since you - assuming decent CPU 's -- can minimize the data traffic over the network via compress type options in the xfreerdp command. I think standard Windows to Windows RDP just sends the whole screen again every time rather than the changed bits.

    I added a screenshot to my post above -- just the minimal command line with default options. You can of course set Window resolution etc etc.

    Cheers
    jimbo
      My ComputerSystem Spec

  10.    #10

    I can get Windows Admin Center to work just fine. All of that functions properly including remote management of the VM. But I still can't add the remote computer to Hyper-V Manager on the client computer. I'm still getting the error in post #2. So it seems like it is a configure problem with Hyper-V Manager on my client computer. If it was the remote computer, I would think that Windows Admin Center would be having problems too.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Solved Trouble setting up Remote Access in Network and Sharing
Hi, Remote Connection tells me I can't have a blank password. But I cannot see where to put a password into the target computer. Is a new User a/c with password needed? However the User Accounts page doesn't show a "Create New User" option....
I tried to allow remote access to my computer but when I opened the remoe tab on the advnced setup only the upper part shown. see the photo. no radio button to choose is shown. How to solve that?
I have 2 win 10 pro and considering this setup: Desktop with hyper-v to tun virtual machine laptop with hyper-v management what i can now achieve is connect to the desktop with RDP then launch hyper-v management in the desktop; using the...
Remote access denied in Network and Sharing
Hi, I have 2 machines at home. One runs Windows 10 and the other Windows 7. They both have team viewer on them for when I'm away, such as now. The Windows 10 machine has dropped off the Team Viewer list. I can't even RDP in to in from the...
windows 10 remote access in Network and Sharing
I regularly access two separate computers, both running Windows 7 Professional, using remote desktop. I am set to purchase a Windows 10 laptop and have gotten much conflicting advice as to whether I can successfully continue to access these...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 19:13.
Find Us