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

This article was previously published under Q287031
This article has been archived. It is offered "as is" and will no longer be updated.
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
After you use Dhcpexim.exe to move the DHCP scopes, the DHCP server does not issue internet protocol (IP) leases.
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):

After you use Dhcpexim.exe, the RangeFlags value is set to Disable = 0.
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:
    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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Dhcpexim exe

Article ID: 287031 - Last Review: 12/06/2015 00:13:24 - Revision: 3.0

Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbenv kbprb KB287031