Re: Remotely rename computer name and join to domain
- From: "Shenan Stanley" <newshelper@xxxxxxxxx>
- Date: Fri, 25 May 2007 06:33:49 -0500
Kil wrote:
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.)
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
.
- Prev by Date: Re: What's the best account to be used?
- Next by Date: Re: DRIVECLEANER
- Previous by thread: Re: What's the best account to be used?
- Next by thread: Re: DRIVECLEANER
- Index(es):
Relevant Pages
|