Netdom v1.8 is running well under NT4 Workstation to join a NT 4 Domain.
But if you need to join a Win2K Worsktation in an AD Domain you must use Netdom v5.00 give with the media of Win2K, and the command line is :
Netdom join @WKSTA /d:$Domain /ou:$Context /ud:$Domaine\$User /pd:$Password,
where $Domain is the AD that you want to request, $Context, is the Unit Orgnaization where to put your workstation object and $User is a user with enough right to create a computer account in the domain (equivalent to Accounts Operators for example).
This command must be run in a session open with an account equivalent to local administrator, in the other way you must specify the account, adding to the line, the options : /uo:@Wksta\Administrator /po:$Password

Rmq : to join WinXP Workstation use Netdom v5.1 that you can find on the WinXP media (Support tools)

Other informations, in Microsoft articles : Q222525 and Q266651

[ 11 April 2002, 10:18: Message edited by: Roga ]