Remote access to Hyper-V VM

Page 1 of 2 12 LastLast
  1. NavyLCDR's Avatar
    Posts : 13,222
    Windows 10 Pro
       #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 Computer

  2. NavyLCDR's Avatar
    Posts : 13,222
    Windows 10 Pro
    Thread Starter
       #2

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

    Remote access to Hyper-V VM-capture.jpg

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

  3. Kari's Avatar
    Posts : 17,113
    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:

    Remote access to Hyper-V VM-image.png

    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 Computer

  4. NavyLCDR's Avatar
    Posts : 13,222
    Windows 10 Pro
    Thread Starter
       #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 Computer

  5. Kari's Avatar
    Posts : 17,113
    Windows 10 Pro
       #5

    NavyLCDR said:
    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:

    Remote access to Hyper-V VM-image.png

    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 Computer

  6. NavyLCDR's Avatar
    Posts : 13,222
    Windows 10 Pro
    Thread Starter
       #6

    I'll look at that, thank you!
      My Computer


  7. jimbo45's Avatar
    Posts : 9,077
    Windows / Linux : Arch Linux
       #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.

    Remote access to Hyper-V VM-snapshot34.png

    Cheers
    jimbo
    Last edited by jimbo45; 03 Apr 2019 at 04:41.
      My Computer

  8. Kari's Avatar
    Posts : 17,113
    Windows 10 Pro
       #8

    jimbo45 said:
    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 Computer

  9. jimbo45's Avatar
    Posts : 9,077
    Windows / Linux : Arch Linux
       #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 Computer

  10. NavyLCDR's Avatar
    Posts : 13,222
    Windows 10 Pro
    Thread Starter
       #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 Computer


 

Related Threads
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 09:16.
Find Us




Windows 10 Forums