Jump to content

Massive TCP change on servers


Recommended Posts

Guest net_admin
Posted

Hi there, hope you can help with this one.

 

We had an WINS server which crashed. I will call it OLD.

We then moved the service to a new server. I will call it NEW.

 

Now we have around 100 servers with static IP and they point to OLD's IP

address.

Setting the same IP from OLD to NEW and changing NEW's IP is not an option.

 

Does anyone knows how to massively change the primary and eventually the

secondary WINS server on 100 clients remotelly?

 

--

NetAdmin <São Paulo, BR>

"Das ist nicht mein bier... arschloch."

  • Replies 4
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Massive TCP change on servers

 

 

"net_admin" <netadmin@discussions.microsoft.com> wrote in message

news:4E93BFEF-C592-487D-80EE-78F6D4715668@microsoft.com...

> Hi there, hope you can help with this one.

>

> We had an WINS server which crashed. I will call it OLD.

> We then moved the service to a new server. I will call it NEW.

>

> Now we have around 100 servers with static IP and they point to OLD's IP

> address.

> Setting the same IP from OLD to NEW and changing NEW's IP is not an

> option.

>

> Does anyone knows how to massively change the primary and eventually the

> secondary WINS server on 100 clients remotelly?

>

> --

> NetAdmin <São Paulo, BR>

> "Das ist nicht mein bier... arschloch."

 

You could use psexec.exe (http://www.sysinternals.com) to invoke this

command on each server:

 

netsh interface ip set wins . . .

 

You will have to experiment a little until you get the syntax right.

 

By the way, it is not a good idea to quote supposedly funny

phrases in foreign languages at the end of your post unless

you know exactly what they mean. The one you used above

is grossly offensive.

Guest net_admin
Posted

Re: Massive TCP change on servers

 

I know what the phrase means and sorry if it's not funny for you.

Anyways, as a tribute to your help, I will not use it anymore as a thank you.

 

Your tip was useful, thanks once again.

 

--

NetAdmin <São Paulo, BR>

''Don't take critics bad, use them to improve yourself.''

Guest net_admin
Posted

Re: Massive TCP change on servers

 

Do you happen to know if netsh would also work with network teams?

 

--

NetAdmin <São Paulo, BR>

''''Don''t take critics bad, use them to improve yourself.''''

Guest net_admin
Posted

Re: Massive TCP change on servers

 

As a courtesy to other colleagues, here is the code that sets WINS on remote

servers.

 

 

****

for /f %%i in (servers.txt) do psexec -d \\%%i wmic nicconfig where

(IPEnabled=TRUE and DHCPEnabled=FALSE) call SetWINSServer "1.1.1.1","1.1.1.2"

****

 

 

--

NetAdmin <São Paulo, BR>


×
×
  • Create New...