Solved

Edit IP Settings on Muliple Servers

Posted on 2008-06-11
5
193 Views
Last Modified: 2013-12-05
Anyone know of a way to modify IP settings for multiple servers?  I need to remove an old IP address and add a new IP address for both DNS and WINS on about 100 servers and don't want to have to do them one at a time.  Thanks.
0
Comment
Question by:deanexpert
  • 3
  • 2
5 Comments
 

Author Comment

by:deanexpert
ID: 21760445
Added notification e-mail.
0
 

Author Comment

by:deanexpert
ID: 21762667
Increased point value.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 21766162
You could create a batch file such as the following, but it would likely require a logon, depending how you deployed, on each server:
netsh interface ip set dns name = "Local Area Connection" source = static addr = 10.10.10.111
netsh interface ip set wins name = "Local Area Connection" source = static addr = 10.10.10.222
note: "Local Area Connection" must be the name of the network adapter. Though this is the default, it may not always be the same.

You can also remotely apply using Microsoft/Sysinternal's PSExec:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
If you look at the Syntax of PSExec you can supply a text file with a list of computers to which you want to apply the .exe/.bat
0
 

Author Closing Comment

by:deanexpert
ID: 31466171
Thanks for the info on PsExec.  This at least gets me headed in the right direction.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 21804921
Thanks deanexpert.
Cheers !
--Rob
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question