Remotely rename computer name and join to domain

G

Guest

Hi all...

Is there a way to auto rename a computer in certain order and then join it
to a domain via script?

I use an imaging program to image computers and need them to be
automatically renamed in certain order (i.e. labpc1, labpc2, & labpc3).

Right now, I go to every single computer and rename it and wait and then
join it to the domain...please help!
 
S

Shenan Stanley

Kil said:
Is there a way to auto rename a computer in certain order and then
join it to a domain via script?

I use an imaging program to image computers and need them to be
automatically renamed in certain order (i.e. labpc1, labpc2, &
labpc3).

Right now, I go to every single computer and rename it and wait and
then join it to the domain...please help!

Why do you, "... go to every single computer and rename it and wait and then
join it to the domain ..."?
What part of what process are you at that you are doing this?

If this is some unattended installation - why not script it and have it
rename itself based off some known constant (MAC address maybe?) and then it
reboots and joins the domain?

If you are joining old computers to a new domain - then why not script it so
you sit in one place - remotely rename all the computers (surely you have a
list of the old names and you obviously have administrative rights on each
of these systems) and set it up (script it) so that it reboots after the
rename and joins the domain?

If they are already in the domain and you are just needing to rename them to
some naming scheme - why not just use a script to do that for you?

Most of that could be done with nothing more than batch scribts or VBScripts
remotely - sitting at a single computer (and some would be done during a
process - but I do not know at what point in what process - if any - you are
wanting to rename these computers and join a domain.) You will have to know
the name of the current system and what the new name will be in some cases.
Otherwise - the NETDOM command line tooland perhaps a tool like PSEXEC would
allow you to sit in a single location and rename away... (and join the
domain with the right username/passwords.)
 

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

Top