DHCP Server Does Not Issue IP Leases After You Run Dhcpexim.exe (287031)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Server 4.0 SP1
  • Microsoft Windows NT Server 4.0 SP2
  • Microsoft Windows NT Server 4.0 SP3
  • Microsoft Windows NT Server 4.0 SP4
  • Microsoft Windows NT Server 4.0 SP5
  • Microsoft Windows NT Server 4.0 SP6
  • Microsoft Windows NT Server 4.0 SP6a

This article was previously published under Q287031
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

After you use Dhcpexim.exe to move the DHCP scopes, the DHCP server does not issue internet protocol (IP) leases.

CAUSE

This issue occurs because Dhcpexim.exe incorrectly sets the value for the RangeFlags value that is located in the following registry key, (where x.x.x.x stands for defined scopes):

HKEY_Local_Machine\Software\Microsoft\DhcpServer\Configuration\Subnets\x.x.x.x\IpRanges\x.x.x.x


After you use Dhcpexim.exe, the RangeFlags value is set to Disable = 0.

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 work around this problem, use either of the following methods to modify the RangeFlags value:
  • Use the DCHP snap-in:
    1. Start DHCP Manager.
    2. Right-click Scope, and then click Properties.
    3. Click the Advanced tab, and then click to select Both in the Assign IP addresses dynamically to clients of section.
  • Use Registry Editor:
    1. Start Registry Editor (Regedt32.exe).
    2. Locate the RangeFlags value under the following key in the registry:

      HKEY_Local_Machine\Software\Microsoft\DhcpServer\Configuration\Subnets\x.x.x.x\IpRanges\x.x.x.x

    3. Double-click RangeFlags, and then type one of the following three values that is appropriate for your configuration:
      • DHCP only = 1
      • BootP only = 2
      • Both (DHCP and BootP) = 3
    4. Quit Registry Editor.
    5. Restart the DHCP Server service.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The Dhcpexim.exe migration tool is included in the Windows 2000 Resource Kit Supplement 1. This tool allows you to export and import scopes between DHCP servers.
A new Dhcpexim binary is available and has corrected the problem that is described in the "Symptoms" section of this article. To download the new Dhcpexim binary, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:2/10/2004
Keywords:kbenv kbprb KB287031