Kelly,

I just went through this for Windows NT. This script wont run on NT4 because it uses NETDOM 2.0 (for NT5) ... the last version of NETDOM for Windows NT is NETDOM 1.8.

NETDOM 1.8 will join an NT4 workstation into AD but only into the default container for computers. It lacks the /OU: switch that is avaliable in 2.0.

So what I added for our environment was after the NETDOM command, write two ADSI calls in Kix to bind to the rootDSE, then MOVE the computer from the default OU to the destination OU. It works.

I also found that you dont need to do a reboot after the join to do this.

-Shawn