Trying to configure connection to local HyperV machines

Resolved

Trying to configure connection to local HyperV machines

avatar

Hi,


I have a Windows 10 computer and on this computer I have HyperV with one virtual machine.


I would like to use remote Desktop Manager on the host computer and connect directly to the virtual machine.


Is there any guide for how to do this? I have tried (guessed how to do it) but it can't connect.

avatar

Recommended Answer

resurrecting an old thread because it shows in google results for this search


How to use Devolutions RDM with Hyper-V Embedded and Enhanced Session on localhost

tested on Windows 11 24H2


In my case, I'm doing it to hyper-v vm's on my localhost



  • Connection Properties

    • General Tab

      • Host = localhost (your local hyper-v server)

      • RDP Type = Hyper-V (Embedded Only)

      • Hyper-V Instance = VMID of virtual machine

      • Username and Password = user on host in Hyper-V Administrators group

    • Hyper-V Tab

      • Use Enhanced Session Mode = Checked


did this by working backwards from vmconnect and sysinternals rdcman


notably the user in the rdm connection profile is NOT the one on the destination machine. But the host machine with hyper-v permissions.

With vmconnect, your connecting to the display, not so much remote desktop. So you log in from inside the `local display` on the virtual machine.


New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowDefaultCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnly -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsWhenNTLMOnlyDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentials -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsDomain -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowSavedCredentialsWhenNTLMOnly -Name Hyper-V -PropertyType String -Value "Microsoft Virtual Console Service/*" -Force

All Comments (17)

avatar

Hello Niklas,


here you can find some informations about:


https://help.remotedesktopmanager.com/sessions_rdphyperv.htm

https://help.remotedesktopmanager.com/sessions_hyperv.htm

https://help.remotedesktopmanager.com/virtualization.htm


Regards,

Min

avatar

it will not connect to any machine. Is it really compatible with Windows 10? I cant even get a listing of all the virtual machines running on my host computer.


Also the GUI in the guide does not look like my client (newest).

avatar

Hello,


If the Hyper-V machine is your own computer that RDM is running on it, this is why it's not working.


The Hyper-V machine needs to be a remote server, not your local computer, so that it can work properly.


Best regards,

Jeff Dagenais

avatar

Considering most Development Engineers use Hyper-V locally, the lack of support for a local Hyper-V Server on Windows 10 is unexpected from this type of app.


Will local Hyper-V Support being available soon?

avatar

Hello,

What tool do you use to mange Hyper-V on you local Windows 10 right now? I could investigate what is missing in RDM to support this.


Regards

David Hervieux

avatar

Currently use Hyper-V Manager and VMConnect to manage the VMs hosted on Hyper-V locally installed on my Windows 10 machine.


I hope that this helps ;-)

avatar

I know this is an old post and not mine - but wondering if this feature was ever enabled.


I have a Threadripper 3970X with 128GB Ram and multiple local VM's that are used for development and testing with assigned VGPU's to each VM for accelerated graphics.


This is why I need to use the VMConnection manager - to take advantage of the accelerated GPU performance.


The ability to connect to hyper-v host and then use the vm-connection link just like Hyper-V manager can would be very useful.


I have stopped using RDM because I cant do this and have reverted to just using the hyper-v connection manager.


If this functionality was available now - I would buy another subscription.

avatar

Hello Rodney,

Do you know if it's a setting in VMConnection Manager? I think we use the same ActiveX and maybe are just missing one setting.


Regards

David Hervieux