Approval relationship between this workstation and the primary domain failed

Windows 7/8/2008/2012

Here is how to fix this problem :

1. Log in with a local administrator account

2. Launch a command window in administratorr

3. Enter the following command:

NETDOM RESETPWD /s:fqdn.controleur.de.domaine /ud:[email protected] /pd:MotDePasse

4. Restart the computer

Windows 10/2016/2019

With Windows 10, there are several solutions to fix the problem, which we will see here.

Reset-ComputerMachinePassword

The first solution will be the use of the cmdlet Reset-ComputerMachinePassword which will reset the password for the computer account, which will resolve the issue.

1. Log in with a local administrator account

2. Launch a PowerShell command window as administrator

3. Enter the following command:

Reset-ComputerMachinePassword -Server "SERVER_DC" -Credential [email protected]

4. Restart the computer

Test-ComputerSecureChannel

The other solution to resolve the approval issue is to use the cmdlet Test-ComputerSecureChannel with the parameter -repair

1. Log on to the computer (preferably with the local administrator account).

2. Open a PowerShell window prompt as administrator.

3. Enter the following cmdlet to repair the “secure link”.

Test-ComputerSecureChannel -Repair -Credential [email protected]

Enter the password linked to the account used in the order.

4. Restart the computer




Leave a Comment