« Home | Campus Pipeline / Luminis Portal / uPortal Load Te... » | Grease Monkey Script - Google Books TSU Linky » | CME-24 / Blackworm / Blackmal / Nyexm / MyWife Vi... » | Group Policy Auto Logon Administrative Template » | Microsoft SQL Server T-SQL UDF Luhn Function » | Sysprep changes in Windows XP SP2 » 

Friday, May 05, 2006 

Join Domain Tool

Here is a utility to help users joining a computer to an Active Directory domain. It provides similiar functionality to the netdom.exe utility in that it was designed to allow you to specify an OU (organizational unit) when you're joining the domain.

In our enviroment we have a well structured list of organizational units. The workstation objects should all be placed in the OU where the user object resides. However as the default join places the computers in the "Computers" container technicians can sometimes forget to move the workstation object to it's proper destination.

Screenshot:


Requirements:
Latest version of AutoIT with COM Support
(AutoIT is a small VBScript like lanaguage. It was used in this project as a test and to sample the easy GUI controls it offers.)

Download the Utility:
Download JoinDomain.au3

Instructions:
1. Download and install the latest beta of AutoIt
2. Download JoinDomain.au3
3. Edit JoinDomain.au3 in a text editor and change the following lines:
$adDefaultContext = "DC=DOMAIN,DC=COM"
$adDomainController = "dc.domain.com"
$adDomain = "DOMAIN"
$adUsername = ""
$adPassword = ""

(If you leave the username and password variable blank, you will be prompted for these each time you run the program)
4. Right click on JoinDomain.au3 and choose "Compile Script"
5. Distribute resulting JoinDomain.exe to your technicians or deploy on corporate image

Graphical Usage Demonstration:

This think ROCKS! It is just what I was looking for. I'm gonna add some functionality that I need, and roll it out.

Thanks!

OH MY GOOD GOD!! This is a freaking AWESOME SCRIPT!!!

Good work!!

Thanks for that great tool.

Thanks a TON for creating this tool. We are migrating to ADS from eDirectory.

Kevin.

Post a Comment

Links to this post

Create a Link

About me

Photos

Sponsored Links:

Digg