Automatic WINS

  • Thread starter Thread starter Chris Coryell
  • Start date Start date
C

Chris Coryell

Can anyone tell me how to push out a secondary WINS server
to all my windows 2000 clients. We need to connect to
another organizations WINS server and it'd be a lot easier
if we could push this out rather than have to sit down and
fat finger it in on each workstation.

Thanks.

Chris
 
Can anyone tell me how to push out a secondary WINS server
to all my windows 2000 clients. We need to connect to
another organizations WINS server and it'd be a lot easier
if we could push this out rather than have to sit down and
fat finger it in on each workstation.

Thanks.

Chris
Chris--
try this if running a logon script is okay:
{dump into text and save as .vbs}

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colNetCards = objWMIService.ExecQuery _
("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True")
For Each objNetCard in colNetCards
strPrimaryServer = "your server here"
strSecondaryServer = "your server here"
objNetCard.SetWINSServer strPrimaryServer, strSecondaryServer
Next

regards,
KR
 
Chris Coryell said:
Can anyone tell me how to push out a secondary WINS server
to all my windows 2000 clients. We need to connect to
another organizations WINS server and it'd be a lot easier
if we could push this out rather than have to sit down and
fat finger it in on each workstation.

Thanks.

Chris

Use DHCP

V.
 
Back
Top