XenApp Controller The trust relationship between this workstation and the primary domain failed

XenApp Controller The trust relationship between this workstation and the primary domain failed

book

Article ID: CTX221150

calendar_today

Updated On:

Description

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".

Resolution

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


Problem Cause

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"

Issue/Introduction

The Domain relationship with a machine has been lost and it is necessary to be restored