I’m trying to create a VM for a VM for our host pool. but it keeps getting
DomainTrustCheck faied
DomainJoinedCheck faied (This health check verifies that the session host is joined to a domain. If this check fails, it is fatal, and no connections will succeed. To solve this, join the virtual machine to a domain).
Sometime it works and sometime it does not work.
I searched everywhere and sometimes they said that its a known issue and had been fixed, but most of the time It did go anywhere.
2
Answers
According to the screenshot you’ve provided, the virtual machine (VM) you are trying to create has failed the domain join checks. The
DomainJoinedCheck
andDomainTrustCheck
indicate that the VM is not correctly joined to the domain. This is a crucial step for a VM that belongs to a host pool, especially for services like Windows Virtual Desktop (WVD) or similar.Here are some steps you can try to troubleshoot and resolve this issue:
Test-ComputerSecureChannel
to check if the secure channel between the VM and the domain controller is healthy. If it’s not, you may need to repair it with the same cmdlet followed by the-Repair
switch.Reset-ComputerMachinePassword
cmdlet using PowerShell, which often helps re-establish secure channel communication.Remove-Computer
cmdlet and rejoin it to the domain with theAdd-Computer
cmdlet using PowerShell.Sometimes, these steps do not work because the problem is more complicated and depends on the environment or a specific configuration. In these situations, you need to collect detailed logs and get help from Microsoft or a network/domain expert.
Reference:
on the same issue
I had this error when I ran through the tutorial for a second time, having not deleted the registration in Intune. The new host failed to register, presumably because of a name conflict.