DHCP Settings on Clients Are Overridden If the NameServer Contains Valid Values (313691)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server, Enterprise Edition 4.0
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q313691
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

If you configure a client computer with the Internet protocol (IP) address of the primary and secondary Windows Internet Name Service (WINS) server and you change the Transmission Control Protocol/Internet Protocol (TCP/IP) configurations on the clients so that the clients obtain the TCP/IP settings from the Dynamic Host Configuration Protocol (DHCP) server, the primary and secondary WINS server IP addresses may be displayed when you use the Ipconfig /all command at a command prompt.

CAUSE

This behavior occurs because you manually set the primary and secondary WINS server IP addresses; if the NameServer contains values that are valid, the DHCP settings are overridden.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this behavior, use one of the following methods.

Windows 2000 and Windows NT

To resolve this behavior on a computer that is running either Windows 2000 or Windows NT:
  1. Start Registry Editor (Regedit.exe).
  2. Locate and click the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netbt\Adapters\Adapter Name

  3. Delete the NameServer IP address.
  4. Quit Registry Editor.
  5. At a command prompt, type ipconfig /release, and then type ipconfig /renew.

Windows 2000

To resolve this behavior on a computer that is running Windows 2000, remove the primary and secondary WINS server IP addresses by using the Netsh.exe tool.

Modification Type:MajorLast Reviewed:6/3/2003
Keywords:kbenv kbprb KB313691