How to set interface settings for WINS using netsh?

12,021

Lets say you have an interface called "Local Area Connection 1" that you want DHCP to set WINS addresses for:

netsh interface ip set wins name="Local Area Connection 1" source=dhcp

Now, you might want "Local Area Connection 2" to have a static WINS source:

netsh interface ip set wins name="Local Area Connection 2" source=static addr=10.0.1.11

Check out the TechNet documentation for netsh interface ip

Share:
12,021
paradroid
Author by

paradroid

Updated on September 18, 2022

Comments

  • paradroid
    paradroid almost 2 years

    On the Advanced settings in the of a network interface Properties there is the WINS tab, where the address for the WINS server can be set.

    WINS Settings

    How do I add the address using netsh instead, for both interfaces with static addresses, and ones with addresses received through DHCP?

    I've tried a few things which I thought would have worked, but they didn't.

  • paradroid
    paradroid about 12 years
    Okay, it seems that one need to use the second command on DHCP clients and the first command is actually meant for WINS Servers which have DHCP addresses.