Guess the big question is, will that code run on a workstation that is NT4 *and* that is not already joined to the domain. In other words, sounds like a bit of a chicken and egg thing. Is this script an "admin" script that runs on an adminstrators wkstn that is already joined to the domain, and that creates a computer account ?