Fix Domain Trust Issues
There error comes in many forms one of the forms are “The trust relationship between this workstation and the primary domain failed.” If you’re able to log into the machine as a local admin it’s easy, you just do the following.
- Use a local administrator account to log on to the computer.
- Select Start, press and hold (or right-click) Computer > Properties.
- Select Change settings next to the computer name.
- On the Computer Name tab, select Change.
- Under the Member of heading, select Workgroup, type a workgroup name, and then select OK.
- When you are prompted to restart the computer, select OK.
- On the Computer Name tab, select Change again.
- Under the Member of heading, select Domain, and then type the domain name.
- Select OK, and then type the credentials of the user who has permissions in the domain.
- When you are prompted to restart the computer, select OK.
- Restart the computer.
If you don’t have access to local administrator you can do these additional steps (you will have to have administrative shell access via RemoteUtilites, ConnectWise, SolarWinds, etc).
-
Enable default administrator
NET USER administrator /active:yes
-
Change default admin password
NET USER administrator genericPasswordHere
-
Now do the steps above.
-
Now the server is back on the domain go ahead and login with domain credentials and make sure it’s working.
-
If it’s working you can now remove the default administrator account you spun up.
NET USER administrator /active:yes
-
You should now be good to go.