共用方式為


Configure TCP/IP to use WINS

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To configure TCP/IP to use WINS

  1. Open Network Connections.

  2. Right-click the network connection you want to configure, and then click Properties.

  3. On the General tab (for a local area connection) or the Networking tab (for all other connections), click Internet Protocol (TCP/IP), and then click Properties.

  4. Click Advanced, click the WINS tab, and then click Add.

  5. In TCP/IP WINS server, type the IP address of the WINS server, and then click Add.

  6. Repeat steps 4 and 5 for each WINS server IP address you want to add, and then click OK.

  7. To enable the use of the Lmhosts file to resolve remote NetBIOS names, select the Enable LMHOSTS lookup check box. This option is enabled by default.

  8. To specify the location of the file that you want to import into the Lmhosts file, click Import LMHOSTS, and then select the file in the Open dialog box.

  9. To enable or disable NetBIOS over TCP/IP, do the following:

    • To enable the use of NetBIOS over TCP/IP, click Enable NetBIOS over TCP/IP.

    • To disable the use of NetBIOS over TCP/IP, click Disable NetBIOS over TCP/IP.

    • To have the DHCP server determine whether NetBIOS over TCP/IP is enabled or disabled, click Default. For more information, see Notes.

Notes

  • To perform this procedure, you must be a member of the Administrators group or the Network Configuration Operators group on the local computer. For more information, see Default local groups and Default groups.

  • To open Network Connections, click Start, click Control Panel, and then double-click Network Connections.

  • If you are using a DHCP server to allocate WINS server IP addresses, you do not need to add WINS server addresses.

  • If you disable NetBIOS over TCP/IP, you might not be able to connect to computers that are running operating systems other than Windows 2000, Windows XP, or a Windows Server 2003 operating system.

  • If you disable NetBIOS over TCP/IP, you cannot use broadcast-based NetBIOS name resolution to resolve computer names to IP addresses for computers on the same network segment. If your computers are on the same network segment, and NetBIOS over TCP/IP is disabled, you must install a DNS server and either have the computers register with DNS (or manually configure DNS records) or configure entries in the local Hosts file for each computer.

  • The DHCP server determines whether NetBIOS over TCP/IP is enabled or disabled based on the value of the Microsoft vendor-specific DHCP option Disable NetBIOS over TCP/IP (NetBT). This option either enables (set to 1) or disables (set to 2) NetBIOS over TCP/IP on the DHCP client computer. If the DHCP server does not send the Disable NetBIOS over TCP/IP (NetBT) DHCP option during DHCP lease negotiation or TCP/IP is manually configured, NetBIOS over TCP/IP is enabled. For more information about the Disable NetBIOS over TCP/IP (NetBT) DHCP option, see Related Topics.

  • You can no longer configure the NetBIOS scope ID on the WINS tab (previously available in Windows NT 4.0). To configure the NetBIOS scope ID, set the following registry value to the name of the scope ID that you want to use:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\ScopeID

    Caution

    • Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.
  • For more information about DHCP options, see "DHCP Options" at the Microsoft Windows Resource Kits Web site.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

NetBIOS name resolution TCP/IP configuration items Advanced configuration Configure TCP/IP to use DNS Configure TCP/IP for static addressing