New
#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
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
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:
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
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.
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:
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
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.
Cheers
jimbo
Last edited by jimbo45; 03 Apr 2019 at 04:41.
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
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.