Fixer join AD the trust relationship between the workstation and the primary domain failed

After restore Windows 2008 R2 until join AD  from veeam backup  but cannot access with \\computername

Thank DamienGibson  for solution it's work for me


Open windows powersell   and put command here



$computer = Get-WmiObject Win32_ComputerSystem  
$computer.UnjoinDomainOrWorkGroup("AdminPW", "AdminAccount", 0) 
$computer.JoinDomainOrWorkGroup("Domain", "AdminPW", "AdminAccount", $null, 3) 
Restart-Computer -Force

Credit: https://community.spiceworks.com/how_to/108912-fix-the-trust-relationship-between-this-workstation-and-the-primary-domain-failed

Comments