/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


K2000 unable to join machine to a specific OU

04/18/2017 1062 views
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

Comments


All Answers

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>
Answered 04/20/2017 by: JasonEgg
Red Belt

  • Giving this a shot today. I appreciate the info
 
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