Script Join Computers to Domain


hi

here environment!

150 pc's,

one widnows 2008 domain controller,

single forest,single domain structure,

 

i have created domain windows 2008 "wintest.com".i want add 150 workstation remote using script.

pls advise script same.

 

regards

crew.

 

 

 


with regards crew,

you can use netdom in a batch file. - http://portal.sivarajan.com/2010/04/add-workstation-to-domain-batch-file.html

 

for /f %%i in (c:\computers.txt) ( netdom join /d:infralab.local %%i /ou:ou=test,dc=infralab,dc=local )

 


santhosh sivarajan | mcts, mcse (w2k3/w2k/nt4), mcsa (w2k3/w2k/msg), ccna, network+| houston, tx
blogs - http://blogs.sivarajan.com/

facebook twitter linkedin ss tech forum

posting provided no warranties,and confers no rights.


Windows Server  >  Directory Services



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...