To have the computer automatically join a specified OU

Source: Internet
Author: User

background: The company will generally have a lot of departments, the General AD OU architecture will follow the structure of the company department to go. When the company has a lot of OU in the ad, the PC joined the domain when the computer will go into the BUILTIN computer container, computer objects once more, computer containers will accumulate together. is there a way to get the computer to automatically go to an OU? Because there will be a lot of computers in the whole domain, I can't create accounts for each computer.


Method:

You can set up the corresponding computer account in the appropriate OU beforehand, so that when the client joins the domain, it discovers in the ad database
Now that you have your own account, you won't be able to create an account again.

Based on my experience, you can use the netdom command to join a computer to a specified OU. The tool is included in the Support/tool folder on the installation CD of Windows Server.
For example, if you want to join an ABC workgroup computer to a domain controller on ADDC01 in the dengw.com domain, the full Netdomjoin command line is in the OU named Test:
netdom join ABC /domain:dengw/addc01/ou:ou=test,dc=dengw,dc=com/userd:dengw/administrator/passwordd:*/ usero:administrator/passwordo:*

    • Use Netdom 2.0 to create a computer account on an administrator-specified domain controller

Reference Link: https://support.microsoft.com/zh-cn/kb/266651


This article is from the "Kaleidoscope K" blog, be sure to keep this source http://dengw.blog.51cto.com/7143894/1794883

To have the computer automatically join a specified OU

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.