Adding Multiple WINS Servers to network configuration with NETSH

  • Thread starter Thread starter Robert Lindholm
  • Start date Start date
R

Robert Lindholm

Hello:

I'm looking for a way to change multiple [primary/secondary] WINS server
settings [remotely] on Windows XP client systems using the netsh command.

I have the ability to run a remote command shell [using psexec], but am not
sure if I'm running into a command synatx issue or if netsh doesn't provide
this facility.

I've been able to effectively remove the existing WINS server entries and
replace them with a single entry, but would also be able to simultaneously
add secondary server to the configuration.

So, if netsh can accomplish this task, what would the syntax look like and
if it can't, is there another tool that I can use instead.

Any suggestions regarding the solution to this issue are appreciated :-)

Thanks,

Bob
 
Robert Lindholm said:
Hello:

I'm looking for a way to change multiple [primary/secondary] WINS
server settings [remotely] on Windows XP client systems using the
netsh command.

I have the ability to run a remote command shell [using psexec], but
am not sure if I'm running into a command synatx issue or if netsh
doesn't provide this facility.

I've been able to effectively remove the existing WINS server entries
and replace them with a single entry, but would also be able to
simultaneously add secondary server to the configuration.

So, if netsh can accomplish this task, what would the syntax look
like and if it can't, is there another tool that I can use instead.

Any suggestions regarding the solution to this issue are appreciated
:-)

Thanks,

Bob

You might try posting in microsoft.public.windows.server.scripting for more
immediate/expert help with this....although if it were my network I'd be
using DHCP :)
 
Hello:

Thanks for your recommendation, but I was finally able to find the netsh
command [sequence] I was looking for:

- netsh interface ip delete wins "Local Area Connection" "old primary WINS"
- netsh interface ip delete wins "Local Area Connection" "old secondary WINS"
- netsh interface ip add wins "Local Area Connection" "new primary WNS"
- netsh interface ip add wins "Local Area Connection" "new secondary WINS"
index=2

It might not be pretty, but it got the job done :-)

Bob
--
Robert Lindholm
University of Rochester


Lanwench said:
Robert Lindholm said:
Hello:

I'm looking for a way to change multiple [primary/secondary] WINS
server settings [remotely] on Windows XP client systems using the
netsh command.

I have the ability to run a remote command shell [using psexec], but
am not sure if I'm running into a command synatx issue or if netsh
doesn't provide this facility.

I've been able to effectively remove the existing WINS server entries
and replace them with a single entry, but would also be able to
simultaneously add secondary server to the configuration.

So, if netsh can accomplish this task, what would the syntax look
like and if it can't, is there another tool that I can use instead.

Any suggestions regarding the solution to this issue are appreciated
:-)

Thanks,

Bob

You might try posting in microsoft.public.windows.server.scripting for more
immediate/expert help with this....although if it were my network I'd be
using DHCP :)
 
Robert Lindholm said:
Hello:

Thanks for your recommendation, but I was finally able to find the
netsh command [sequence] I was looking for:

- netsh interface ip delete wins "Local Area Connection" "old primary
WINS"
- netsh interface ip delete wins "Local Area Connection" "old
secondary WINS"
- netsh interface ip add wins "Local Area Connection" "new primary
WNS"
- netsh interface ip add wins "Local Area Connection" "new secondary
WINS" index=2

It might not be pretty, but it got the job done :-)

Bob

Glad you got it resolved (although much depends on whether the connection is
actually *called* "Local Area Connection" - sometimes there are sequential
numbers in the name). In the future,tho, note that the scripting gurus
hang out down the hall in the group I mentioned. And DHCP is the way to go
:-)

Robert Lindholm said:
Hello:

I'm looking for a way to change multiple [primary/secondary] WINS
server settings [remotely] on Windows XP client systems using the
netsh command.

I have the ability to run a remote command shell [using psexec], but
am not sure if I'm running into a command synatx issue or if netsh
doesn't provide this facility.

I've been able to effectively remove the existing WINS server
entries and replace them with a single entry, but would also be
able to simultaneously add secondary server to the configuration.

So, if netsh can accomplish this task, what would the syntax look
like and if it can't, is there another tool that I can use instead.

Any suggestions regarding the solution to this issue are appreciated
:-)

Thanks,

Bob

You might try posting in microsoft.public.windows.server.scripting
for more immediate/expert help with this....although if it were my
network I'd be using DHCP :)
 
Back
Top