Solved

Edit IP Settings on Muliple Servers

Posted on 2008-06-11
5
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DHCP lease duration / Migration 8 106
AD account Auto logoff 1 58
New Client, New Server 8 40
Advice on adding/replace drive for Dell PowerEdge 4 36
On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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