PC Review


Reply
Thread Tools Rate Thread

Adding Multiple WINS Servers to network configuration with NETSH

 
 
Robert Lindholm
Guest
Posts: n/a
 
      15th Feb 2008
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
University of Rochester
 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a
 
      15th Feb 2008
Robert Lindholm <(E-Mail Removed)> wrote:
> 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


 
Reply With Quote
 
Robert Lindholm
Guest
Posts: n/a
 
      19th Feb 2008
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 [MVP - Exchange]" wrote:

> Robert Lindholm <(E-Mail Removed)> wrote:
> > 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
>
>
>

 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a
 
      19th Feb 2008
Robert Lindholm <(E-Mail Removed)> wrote:
> 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 <(E-Mail Removed)> wrote:
>>> 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





 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WINS tries to replicate with other WINS servers that don't exist =?Utf-8?B?Q2hhcmxlcw==?= Microsoft Windows 2000 0 2nd Mar 2006 12:02 PM
Multiple Ris Servers and file\configuration replication =?Utf-8?B?LT0gTWFyayA9LQ==?= Windows XP Setup 0 18th Mar 2005 02:27 PM
WINS script to delete multiple static entries on multiple servers? =?Utf-8?B?QmFycnlTdG9sZmk=?= Microsoft Windows 2000 Networking 0 1st Dec 2004 09:07 PM
WINS Burst Handling and NETSH =?Utf-8?B?QyBCZWFza2V0?= Microsoft Windows 2000 Networking 0 12th Jul 2004 07:48 PM
Netsh Wins scripting =?Utf-8?B?TWFuYXRhcm16?= Microsoft Windows 2000 0 16th Apr 2004 12:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:50 AM.