Trust relationship problem between work computers and domain

Victor Gutierrez 0 Reputation points
2023-06-28T08:42:55.8133333+00:00
Good morning,

I have a problem between the workstations and the domain controllers, from time to time the trust relationship between the computers is lost and I have to remove the domain and reintroduce the workstations. It also passes between the two domain controllers that we have in the company. From the looks of it the primary domain controller is the one having the problem. I have seen that you can check the status of the trust relationship with the Test-ComputerSecureChannel –verbose command of the prower shell and it returns the following:

VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "SERVER01".
Test-ComputerSecureChannel : Cannot verify the secure channel for the local computer. Operation failed with the
following exception: The specified domain either does not exist or could not be contacted.
At line:1 char:1
+Test-ComputerSecureChannel --verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OperationStopped: (SERVER01:String) [Test-ComputerSecureChannel], InvalidOperationE
   reception
    + FullyQualifiedErrorId : FailToTestSecureChannel,Microsoft.PowerShell.Commands.TestComputerSecureChannelCommand

I don't know what else to check or how to repair that trust relationship, SERVER02, which is the second domain controller, is working fine.
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,746 Reputation points
    2023-06-29T15:01:35.8233333+00:00

    Hello there,

    If you're encountering a trust relationship problem between work computers and the domain, it means that the computer's secure channel with the domain controller has been broken or corrupted. Here are some steps to resolve the issue:

    Verify network connectivity: Ensure that the affected computer has a stable network connection to the domain controller. Check the network cables, switches, and routers to ensure they are functioning correctly. Make sure there are no IP address conflicts or network configuration issues.

    Check time synchronization: Ensure that the time and date on the affected computer are synchronized with the domain controller. Time discrepancies can cause trust relationship problems. Use the "w32tm" command or the control panel settings to sync the time with the domain controller.

    Reboot the computer: Sometimes, a simple reboot can resolve trust relationship issues. Restart the affected computer and see if it can establish a new secure channel with the domain controller.

    Reset computer account: If the trust relationship problem persists, you can reset the computer account in the domain. In Active Directory Users and Computers, locate the computer account, right-click on it, and select "Reset Account." This action will establish a new secure channel with the domain controller.

    Unjoin and rejoin the domain: If resetting the computer account doesn't work, you can unjoin the computer from the domain and then rejoin it. On the affected computer, go to System Properties, click on the "Change" button next to the domain name, and select the "Workgroup" option. Restart the computer and rejoin it to the domain using valid domain credentials.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.