
Script to add computer to AD domain
Quote:
> I can create computer accounts in the AD but I need to have a script that
> runs on the local computer to add it to the AD domain.
Hi
Netdom.exe
How To Join a Domain From the Command Line
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q150493
How to Use Netdom 2.0 to Create a Windows Computer Account on a Selected Domain
Controller
http://support.microsoft.com/support/kb/articles/Q266/6/51.ASP
Automating the Creation of Computer Accounts
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q222525
Latest version of netdom.exe can be downloaded from here:
Windows 2000 SP3 Support Tools
http://www.microsoft.com/windows2000/downloads/servicepacks/sp3/suppo...
There came one updated version with SP2 as well, but I would be very surprised
if the SP3 netdom version do not work on pre SP3 computers.
Anyway, the one that came with SP2 can be found here:
Windows 2000 SP2 Support Tools
http://www.microsoft.com/windows2000/downloads/servicepacks/sp2/suppo...
--
torgeir