OU Active Directory

Hello, I'd like to know how to join a computer to a OU in the domain because everytime I join a PC to a Domain it goes directly to the Computer Container and not to the specific OU created for a group of users, for instance I want to join a PC to the domain using   myou.mydomain.org, is it possible that I can call out the OU using that string?


Who is Participating?
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
No, that won't work.  The only way to do this is to precreate the computer account in the OU you want it in.
When you join a computer to a Domain it Defaults it to the Computers folder. Then you have to right click on it and move it to the desired OU. I do not think it is possible to do what you are trying to do unless I Mis-understood your question.

Juan OcasioApplication DeveloperCommented:
You should alway create the Computer first in the OU before logging a computer onto your domain.  That way, from the very first time that computer is logged onto the network, it will load the group policies of the OU.  If you do not do this, by default, the computer account will go into the Computer Container.  That way, there will never be a mistake in adding a computer to your domain without having it load the GPO for that computer.  

Seelan NaidooMicrosoft Systems AdminCommented:

You can try creating a Computer Account in the specified OU before manually by adding the computer account to the domain.

That way when, you add it to the domain, the computer account will already exist in the specific OU.

You could also use, dsadd command from a Winows XP machine, works on Windows 2000\2003 domains.

I agree with the above
Lee W, MVPTechnology and Business Process AdvisorCommented:
Sean - isn't that what I said?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.