How to Avoid the message "Object Already Exist in Active Directory"

jskfan
jskfan used Ask the Experts™
on
How to Avoid the message "Object Already Exist in Active Directory"

We are in the process of re-imaging Windows computers Win 7 to Win 10. at the end when we rename computers and rejoin them to the domain manually, we get the message  "Object Already Exist in Active Directory".
we ll have to delete computer object in AD in order to rejoin it to the domain.

Is there a work around that enables us to rejoin computer to the domain without touching AD.

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
If you don't want to touch AD, then
  • Do the reimaging,
  • take original and remove it from the domain
  • Start the new imaged.
  • Take it out of the domain and re-join it

This way you make sure that the object is not on AD before adding it again.

Author

Commented:
i have been told that when you join a computer to the domain, if you specify the whole fqdn name in the domain field, then you will get the message that the object already exist in AD, if you you type just the first part of the domain then the message will not popup .. probably it will just use the existing one.

I haven not tested yet
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
hmm that doesn't have any sense my friend.

if your host is thishost
and your domain is : test.com and the
prewindows of your domain is test.

the object on ad will be
test\thishost
or
thishost.test.com

no matter what you do that's the unique identifier for your domain.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
you have seen sometimes you have to change the computer to Work Group before you join it to the domain if it was already joined before... there should be a work around that too..

example:

I have computer1.test.local
and there is a trust issue..

usually you will delete the computer object in AD and rejoin computer1 to the work group ,reboot, then rejoin it to the domain.
there should be work around that..
Top Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018
Commented:
you have seen sometimes you have to change the computer to Work Group before you join it to the domain if it was already joined before... there should be a work around that too..

This is what it means "take out the computer from the domain" :P
it means moving the Computer from Domain to Workgroup.

And yes it also solves the trust relationship issue, as well as others :P (but this error appears after 90 days of not communicating with AD).

Author

Commented:
Thank you
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
glad to help you
Shaun VermaakSenior Consultant
Awarded 2017
Distinguished Expert 2018

Commented:
Give your join account change permission on computer account (exclude sensitive computers) then you will not have this issue to begin with

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial