Users

All Posts (8)

avatar

other-devo

Hyper-V Embedded broken with KB5124008

avatar
avatar
avatar

Hello again,


So, the windows update was finally forced on me after i delayed it. RDM can no longer authenticate to the local Hyper-V machine. VMConnect works.


This is the output from a event viewer security event around the time of the rdm login attempts:


```

An account failed to log on.


Subject:

Security ID: NULL SID

Account Name: -

Account Domain: -

Logon ID: 0x0


Logon Type: 3


Account For Which Logon Failed:

Security ID: NULL SID

Account Name: Username

Account Domain: Local-PC


Failure Information:

Failure Reason: An Error occured during Logon.

Status: 0x8009030C

Sub Status: 0x0


Process Information:

Caller Process ID: 0x0

Caller Process Name: -


Network Information:

Workstation Name: Local-PC

Source Network Address: ::1

Source Port: 0


Detailed Authentication Information:

Logon Process: NtLmSsp

Authentication Package: NTLM

Transited Services: -

Package Name (NTLM only): -

Key Length: 0

```


So, it shows an error 0x8009030C.


RDM also can no longer browse VM's on localhost.


.....


Now.. however, I got it to work by clearing out login creds and using "Connect with current user credentials".


Perhaps something has changed with network logon policies, vs local.


I'm trying to find what is different on my workstations side, because it seems to work fine for you. For me the only thing that changed was the WU.


For now, I have a workaround. If I find the true cause I will post it.

Hyper-V Embedded broken with KB5124008

avatar
avatar
avatar

Apologies for they delay.


After seeing reports that this KB resulted in a good amount of regressions, I've decided to just hold off until the next set of fixes come out.

Hyper-V Embedded broken with KB5124008

avatar
avatar
avatar

Interesting find. Is workspace just as you tested.


I’ve removed the registry keys. I just have to get around to reinstalling the KB and testing.

Hyper-V Embedded broken with KB5124008

avatar
avatar
avatar

I will try removing the registry keys as soon as I can. Thank you for the quick feedback.

Trying to configure connection to local HyperV machines

avatar
avatar
avatar
avatar
avatar

New thread here -> https://forum.devolutions.net/topics/56131/hyperv-embedded-broken-with-kb5124008

Hyper-V Embedded broken with KB5124008

avatar
avatar
avatar

resuming the conversation from:


the setup:

https://forum.devolutions.net/topics/30791/trying-to-configure-connection-to-local-hyperv-machines?message=218074#218074


the post where the problem discussion started:

https://forum.devolutions.net/topics/30791/trying-to-configure-connection-to-local-hyperv-machines?message=241627#241627


@rmarkiewicz,


Thank you kindly for your time.


Would you be willing to try one more test?


In my env, I run my primary user as excluded from the workstation administrators group. So its much more restricted.


Elevation takes place with a different user entirely. The only group it is added to is the Hyper-V group.


Would you be willing to try that?

Setup a user that is not a member of Administrators, but added to the windows Hyper-V group.

Login to desktop as this user.

Run RDM, but not elevated. Connect to localhost hyperv using this user, which is only granted by the Hyper-V group.


It may be my registry settings.


Would you be willing to export the registry settings you have?


Thanks again,

Bryan


These are mine:


AllowDefaultCredentials = Microsoft Virtual Console Service/*
AllowDefaultCredentialsDomain = Microsoft Virtual Console Service/*
AllowFreshCredentials = Microsoft Virtual Console Service/*
AllowFreshCredentialsDomain = Microsoft Virtual Console Service/*
AllowFreshCredentialsWhenNTLMOnly = Microsoft Virtual Console Service/*
AllowFreshCredentialsWhenNTLMOnlyDomain = Microsoft Virtual Console Service/*
AllowSavedCredentials = Microsoft Virtual Console Service/*
AllowSavedCredentialsDomain = Microsoft Virtual Console Service/*
AllowSavedCredentialsWhenNTLMOnly = Microsoft Virtual Console Service/*


$keys = "AllowDefaultCredentials","AllowDefaultCredentialsDomain","AllowFreshCredentials","AllowFreshCredentialsDomain","AllowFreshCredentialsWhenNTLMOnly","AllowFreshCredentialsWhenNTLMOnlyDomain","AllowSavedCredentials","AllowSavedCredentialsDomain","AllowSavedCredentialsWhenNTLMOnly"

foreach ($key in $keys) {
    $path = "HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\$key"
    $value = (Get-ItemProperty -Path $path -Name "Hyper-V" -ErrorAction SilentlyContinue)."Hyper-V"

    if ($null -ne $value) {
        "$key = $value"
    } else {
        "$key = <not present>"
    }
}

Trying to configure connection to local HyperV machines

avatar
avatar
avatar
avatar
avatar

Windows Update KB5124008 currently breaks this feature. When trying to open the session, the Login box shows up, but no creds are accepted. The auth box come sup indefinitely, rejecting all creds;


Uninstalling the KB resolves the issue.


Could a mod let me know if this post is sufficient, or if I should create a support thread?

Trying to configure connection to local HyperV machines

avatar
avatar
avatar
avatar
avatar

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
1 - 8 of 8 items