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)
Please log in to answer
Posted by:
JasonEgg
7 years ago
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