[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

Adding Computer to Active Directory into Specific Organizational Unit

Hi,

During imaging of a workstation we add the workstation to our Active Directory.  Unless it's preadded to the domain the computer object is created in the default Computers container.  Is there any way to force the computer to get created in a specific OU instead of having to preadd it or move it after the fact?  I'd appreciate any ideas or options.  We have SMS in our environment and it only patches systems in one OU so we'd like all our computers to be in that OU.  
0
jamilor
Asked:
jamilor
  • 2
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I think this may answer your question.
http://support.microsoft.com/?id=324949
0
 
jamilorAuthor Commented:
Thanks for the reply.  That's a great asnwer.  Unfortunately we are not the only organization in this Domain Tree.   The domain is shared and each organization has their own OU under which they store their computers.  For this reason we cannot redirect the default Computers container to our OU since other organizations also use it and we wouldn't want their computers.
0
 
jamilorAuthor Commented:
I think I answered my own question.  I can use the NETDOM command line with the /JOIN and /OU switches to specifiy the OU to install to.  I can add this to my install script.  Thank you.
0
 
CetusMODCommented:
PAQed with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now