/build/static/layout/Breadcrumb_cap_w.png

K2000 unable to join machine to a specific OU

Hi Folks...I've been running into some difficulties with using a post installation script to join a machine to a specific AD OU. I've used the default Kace join domain script and that works fine and join the domain and dumps the machine into the default "Computers OU" but i can't seem to modify that script or find any other script that let you join to a specific OU. I've looked a few other articles that are related to this here and have tried but no luck. I'm horrible at scripting so i've been using what other folks said worked for them...
Any help on this is greatly appreciated
Lou


0 Comments   [ + ] Show comments

Answers (1)

Posted by: JasonEgg 7 years ago
Red Belt
0
I use the unattend.xml method to add computers to a specific OU:

 <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <Identification>
        <JoinDomain>example.com</JoinDomain>
        <MachineObjectOU>OU=ComputersOU, DC=example, DC=com</MachineObjectOU>
        <Credentials>
          <Domain>example.com</Domain>
          <Username>kacecomputercreator</Username>
          <Password>PASSWORD</Password>
        </Credentials>
      </Identification>
    </component>

Comments:
  • Giving this a shot today. I appreciate the info - CMLou 7 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ