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.
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
.
Answers (1)
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!