Registry Tip #132: Interdomain trust account |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
The Windows NT Resource Kit utility netdom , netdom.exe, can be used to restore damaged trust relationships. The Windows NT Resource Kit utility nltest , nltest.exe, can be used to restore damaged trust relationships. See Q158148 . nltest is a niffty tool to reveal how many bad-password attempts have been racked up by an account.
Background on Inter-Domain Trust Account Passwords is found in: Q128489.
Netdom can be used to add NT workstations or stand-alone servers to a domain. It will create the computer account, if one doesn't already exist, if you use the command with administrator credentials. The syntax:
NETDOM /Domain:domaintoaddPCinto /user:administrator /password:adminpassword MEMBER computername /JOINDOMAIN
If you want to create a computer account but don't won't to add the workstation to the domain until later, don't use the /JOINDOMAIN parm:
NETDOM /Domain:domaintoaddPCinto /user:administrator /password:adminpassword MEMBER computername /ADD
More information about NETDOM is available in the Microsoft Knowledge Base article Q158148 .