How to fix the trust relationship between computer and domain via powershell.

Logged into the computer with the local admin account.

Open Powershell as admin on the computer.

Type the command Test-ComputerSecureChannel

If it return false it not connected to domain still

Type the command Test-ComputerSecureChannel -Repair -Credential (Get-Credential)

Type the command Test-ComputerSecureChannel

Right click and hold shift on application.

Select run as different user


Sources used

Comments

Popular Posts