QuestionQ41

Deploy and manage AD DS

Overview

Your network contains an Active Directory Domain Services (AD DS) domain named contoso.com.

Existing environment

The domain contains a domain controller named DC1 and a member server named Server1.

Issue

Users cannot sign in to Server1 by using domain credentials and receive the following error message:

The trust relationship between this workstation and the primary domain failed.

Requirement

You need to restore domain authentication on Server1 without removing Server1 from the domain.

Solution: On Server1, you run Add-Computer -DomainName contoso.com -Server DC1.

Does this satisfy the goal?

Explanation

A failed workstation-to-domain trust relationship is repaired by restoring the computer’s secure channel or resetting its machine-account password, such as with Test-ComputerSecureChannel -Repair or Reset-ComputerMachinePassword. Add-Computer is for adding a computer to a domain or workgroup and does not repair the existing domain trust relationship.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!