Solved

Edit IP Settings on Muliple Servers

Posted on 2008-06-11
5
188 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
Comment Utility
Added notification e-mail.
0
 

Author Comment

by:deanexpert
Comment Utility
Increased point value.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
Comment Utility
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
Comment Utility
Thanks for the info on PsExec.  This at least gets me headed in the right direction.
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
Thanks deanexpert.
Cheers !
--Rob
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
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 Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now