All Forums >> [Scripting] >> WSH & Client Side VBScript >> Remotely join a machine to a new domain Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Posts: 29
Score: 0
Joined: 4/20/2005
From: USA
Status: offline
Netmarcos,
I tried your script but it didnt work for me. I'll definitely give the Netdom command a shot. Some more details: All workstations are WinXP on an NT 4 domain. I need to move these machines to a new Active Directory Win2003 server domain remotely.
I have found the 'impersonationlevel' method to not work worth a darn...at least thats been my experience. I just shell out to netdom, it always works, plus you can pass variables from vbscript to netdom, although I found it to be a little tricky getting the syntax right.