Fix “The trust relationship between this workstation and the primary domain failed”
- By : Dom
- Category : Active Directory
- Tags: cmdline, Powershell
Solution 1
from cmdline enter
1 2 3 |
netdom.exe resetpwd /s:<server> /ud:<user> /pd:* <server> = a domain controller in the joined domain <user> = DOMAIN\User format with rights to change the computer password |
Solution 2
If machines has powershell v3 or above:
1 |
Reset-ComputerMachinePassword [-Credential <PSCredential>] [-Server <String>] |
No Comments