/build/static/layout/Breadcrumb_cap_w.png

K2000: Domain join or move to a specific OU as a post installation task.

I'm fairly new to the K2000 and I've run into a domain join problem. First I used the stock domain join script in conjunction with wsname, which worked great.

http://www.kace.com/support/resources/kb/article/how-to-rename-a-computer-and-join-it-to-a-windows-domain-image-deployment

Then I moved on to a slightly altered script which places the computer in a specific OU. Again no problem as long as the computer didn't previously exist in tha AD, if it does, the computer isn't joined.

Is anyone sitting on a script or solution on how to determine if the computeraccount exists, and if so move it to ther correct OU and the join the domain, else create the account as per ususal according to the article above. As I mentioned the first part is the tricky part whick I found no info on (Finding, moving or move to adding), the rest is well documented...

/Adam

 

.

 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: cserrins 10 years ago
Red Belt
0

You can use KBE Manipulator to add ADSI drivers.  Then write a script to query your AD and remove the computer in KBE.  The script I use is in AutoIT, but I've seen vb scripts, etc. that query AD and remove a machine.

Corey
Lead L3 Enterprise Solutions Engineer, K2000
If my response was helpful, please rate it!

Don't be a Stranger!

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

Sign up! or login

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