Jump to content


  • 0
toratb

Trust Relationship Error

Question

Sometimes the error "The trust relationship between this workstation and the primary domain failed." occurs, and it's usually a pain to fix this. This is why I made a simple HTA application that easily fixes this error without ever leaving your computer!

 

Requirements:

You need to know the target's "computer name", "local administrator username" and "local administrator password"

You also need a domain user/pass with the rights to join domain.

 

The ONLY manual work you need to do is change the OU path;

"OU=ExampleSubOU,OU=ExampleOU,DC=contoso,DC=org" to the OU path your company uses.

If you forget to do this, it will fail with the following, ERROR: Domain Name not found!

It only uses this OU path if the computer account does not exist in AD.

 

This is what the application 1.0 looks like:

post-17845-0-81652100-1479383790_thumb.png
 
Newest version:

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.