In the Citrix Director is informed that the Domain Controller or VDA has connection problems. Trying to login through Remote Desktop Protocol (RDP) shows the error message:
"The trust relationship between this workstation and the primary domain failed".
Force to test and repair the secure channel through PowerShell.
1- Open the PowerShell console with and user account which has domain adminstrator permissions or Administrators group on the local computer.
2-Run the next command for repair the trust relationships. PS C:\> Test-ComputerSecureChannel -repair
For further information about the command make reference to the next Microsoft link. https://msdn.microsoft.com/en-us/powershell/reference/3.0/microsoft.powershell.management/test-computersecurechannel
The current computer has lost the relationship with the Active Directory domain.
Error message:
"The trust relationship between this workstation and the primary domain failed"