T
Tom Ker
I'm using the following lifted pretty much intact with all the supporting
scripting from the TechNet web site to join a computer to our domain...
sRC = oComputer.JoinDomainOrWorkGroup("DomName.com", _
sPWD, "DomName\" & sID, NULL, _
JOIN_DOMAIN + ACCT_CREATE)
The problem I'm encountering is that it is not joining the domain all the
time. Sometimes it joins a workgroup named "DomName.com". Why would that
be happening? Is there a way to ensure it only joins the domain and not a
workgroup?
Thanks,
Tom
scripting from the TechNet web site to join a computer to our domain...
sRC = oComputer.JoinDomainOrWorkGroup("DomName.com", _
sPWD, "DomName\" & sID, NULL, _
JOIN_DOMAIN + ACCT_CREATE)
The problem I'm encountering is that it is not joining the domain all the
time. Sometimes it joins a workgroup named "DomName.com". Why would that
be happening? Is there a way to ensure it only joins the domain and not a
workgroup?
Thanks,
Tom