Script for changing the domain name of a local computer and join.

pts.
Tags:
Active Directory
Lotus Domino
Greetings to you!!! We've been cracking our heads for this for a long time now. We're looking for a script that would change a computers network identification, preferably the domain name. Think of it this way, instead of us going to each and every computer, right-click My Computer, Properties, Network Identification Tab, Properties, and change the domain name, enter admin username and password to join it and restart PC, we'll just run a script either during log-on or a user would jsut have to double click on the batch file or something when they see it on their desktops and the script will do the rest. Is there anything like it?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You should be able to do this using “Scripting”.

See:
Script Center

http://www.microsoft.com/technet/scriptcenter/default.mspx

Assign the DNS Domain for a Network Adapter

http://www.microsoft.com/technet/scriptcenter/scripts/network/client/modify/nwmovb02.mspx

along with:
Remote/Multiple Computer Scripting Templates

http://www.microsoft.com/technet/scriptcenter/scripts/templates/default.mspx

Good Luck

<a href=”http://itknowledgeexchange.techtarget.com/profile/Alessandro.panzetta”>Alessandro Panzetta</a>
Hello you may use the <a href=”http://support.microsoft.com/?scid=kb%3Ben-us%3B329721&x=15&y=10″>NETDOM </a>utility for this, I leaded a rollout on 300 PCs with it and everything run smoothly.
Bye

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • JEAKINS
    If the computers are still a part of an existing 2000 or NT domain, you can possibly use the MS Domain Migration tool. http://www.microsoft.com/WINDOWS2000/techinfo/howitworks/activedirectory/admt.asp
    0 pointsBadges:
    report
  • ID4387606
    Else you could check if you have a lot of admin work to do on many computers and see if buying some management tool would be a wise option. Altiris Deployment Solution is a tool that I know about and it allows you to change domain membership, run script, remote control and do a lot of admin (software install) in addition to it imaging capabilities. It start to be worth putting this type of system in place if you have anything above 100 computers or if you have a small pool (
    0 pointsBadges:
    report
  • Gstornelli
    You can use the "netdom" utility from the server to rename a computer with no user involvement. The utility is included with the server tools.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following