Adding a PC to a domain


I came accross a problem today, when I tried to view a certain PC on the domain I got the following error "Trust Relationship between this workstation and the Domain Controller Failed".  So I deleated the computer account from the domain server and added it back in, still the same problem.  I googled on the problem and I came accross a soloution where you remove the PC from the domain and added it to a workgroup, then restart and then add it back to the domain.  So I tried this, was able to add the PC fine to the workgroup, however when I try and add the PC back to the domain I get the following problem:

I right-click on my computer and click on the network identification tab, I then go to the properties box, change the 'member of' to the domain option and type in the domain in the corresponding box.  When I click ok it asks me to put in a username/password that has permission to join the domain, when I enter in the username/password I get the following error "The credentials supplied conflict with a existing set of credentials"  even though it is a brand new username/password that has all the necessary permissions.

Any ideas?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
Hi garethcummings,
> credentials supplied conflict
To resolve this problem, blank out the Username key in the registry for HKEY_CURRENT_USER\Network:
Log on as an administrator at any workstation.
Click Start, click Run, type regedt32, and then click OK.
Select HKEY_USERS, but do not open.
From the Registry menu, click Load Hive.
This will bring up a Load Hive dialog box. Locate the Ntuser.dat file for the user with the errors. Select the Ntuser.dat and click Open. You may enter any string for the Key Name. Use TEST for ease of use pertaining to the remainder of this article.
Locate the Username value under the following key in the registry:

Delete the string for Username (leaving it blank is sufficient).
Select the TEST hive that you previously loaded, click the Registry menu, and then click Unload Hive.
Quit Registry Editor.

garethcummingsAuthor Commented:

When I try and name the key name to TEST i get the following error "Registery Editor could not accomplish the requested operation"

Pete LongTechnical ConsultantCommented:
are you logged in as the LOCAL administrator?

The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

garethcummingsAuthor Commented:
Yeah logged in as local admin, any other ideas?
garethcummingsAuthor Commented:
Just found the solution, jsut in case anybody was wondering the problem was being caused because I had some mappings to the domain there already, I just deleated the mappings and I was able to add the pc to a domin.  Thxs for the help anway Pete.
Pete LongTechnical ConsultantCommented:
Tip Top! glad you are fixed, post a zero point question in community support with a link to this question requesting a PAQ and Refund, to get your points back

Most excellent! Glad you are fixed, and thanks for posting your solution. Sometimes, it's the easy things, and tech ghodhood means never thinking simple... 8-)
He got it, not us... 8-)
Pete LongTechnical ConsultantCommented:
PAQed, with points refunded (85)

E-E Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.