WINS servers

(imported topic written by SystemAdmin)

Question…

If a user’s PC has more than 2 WINS servers defined, is there an easy way to return them all?

For now I have…

(primary wins server of it; secondary wins server of it) of adapters whose (address of it != “0.0.0.0”) of network

…but that’s only good for the first two defined.

-Paul

(imported comment written by BenKus)

I was playing around with my WINS settings, but I can’t figure out how to add more than 2 WINS Servers… Am I missing something?

And might the WMI help?

Ben

(imported comment written by SystemAdmin)

Hey Ben…

Both XP and 2000 lets you add as many as you want. See attachment for a screenshot.

Yeah, I could resort to WMI if I need to. I think for now having the first two might be sufficient. I didn’t know if there was something I was missing.

Would have been nice if I could have done…

wins servers of adapters whose (address of it != “0.0.0.0”) of network

Paul

(imported comment written by SystemAdmin)

Hmph… I just checked WMI. Appears that Win32_NetworkAdapterConfiguration only exposes the primary and secondary, which is probably why you have the same names (primary and secondary) in the inspectors.

Guess the only alternative is to hit the registry, say, HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_{whatever}\NameServerList

Paul