Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptom

When you log on to a computer that is running Windows 7 in a domain environment, you receive the following error message:

The trust relationship between this workstation and the primary domain failed.

Resolution

To resolve this issue, remove the computer from the domain, and then connect the computer to the domain.

  1. Use a local administrator account to log on to the computer.

  2. Select Start, press and hold (or right-click) Computer > Properties.

  3. Select Change settings next to the computer name.

  4. On the Computer Name tab, select Change.

  5. Under the Member of heading, select Workgroup, type a workgroup name, and then select OK.

  6. When you are prompted to restart the computer, select OK.

  7. On the Computer Name tab, select Change again.

  8. Under the Member of heading, select Domain, and then type the domain name.

  9. Select OK, and then type the credentials of the user who has permissions in the domain.

  10. When you are prompted to restart the computer, select OK.

  11. Restart the computer.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×