How can I register station into AD with any script?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

when ghost image clonning,
I want that new cloned machine was joined AD without any additional key
input operation.

so, I conclude that somthing needs which set network environment, domain
setting by script.

anybody done it?

I apologizise my english not good.
 
Put a copy of Netdom on the client pc (install the support tools) and then
you can use it to the PC

netdom renamecomputer MACHINE_NAME /newname:NEW_MACHINE_NAME
/usero:LOCALA_DMIN /passwordo:LOCAL_ADMIN_PASSWORD /reboot:5

then

netdom join /domain:DOMAIN\DCNAME /userd:DOMAIN_ADMIN
/passwordd:DOMAIN_ADMIN_PASSWORD /reboot


--
Rodney Buike
MVP Windows Server - Directory Services

http://thelazyadmin.com

*** This posting is provided "AS IS" with no warranties, and confers no
rights. ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top