Netdom.exe add vs. join commands
Question-I'm in the processing of creating a batch file to move computers from the workgroup to our domain. Can you tell me what the difference is in using netdom.exe add vs netdom.exe join
Here is the script I'm running:
\\servername\d$\foldername\netdom.exe move /d:domain name %computername% /ud:domain name\%username% /pd:* /ou:ou=computers,ou=container,ou=container,ou=container,dc=domain name,dc=com
I'm currently logged into the PC using a local administrator account "administrator.
March 28th, 2011 10:12pm
netdom add: http://technet.microsoft.com/en-us/library/cc788018(WS.10).aspx
netdom join: http://technet.microsoft.com/en-us/library/cc788049(WS.10).aspx
For more information about scripts, you can post here:
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft
Student Partner
Microsoft Certified Professional
Microsoft Certified Systems Administrator: Security
Microsoft Certified Systems Engineer: Security
Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Free Windows Admin Tool Kit Click here and download it now
March 28th, 2011 10:28pm
Hello,
your script states the "netdom move" option to move from one domain to another domain. This creates an account in the new domain if not exist and will not delete it in the formetr domain. With correct credentials you can disable the former domain account.
The difference between "join" and "add":
Besides adding the computer account to the domain, join command modifies the workstation to contain the appropriate shared secret to complete the Join operation.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
March 28th, 2011 10:35pm


