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

Article translations Article translations
Article ID: 287031 - View products that this article applies to.
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
Expand all | Collapse all

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.

Properties

Article ID: 287031 - Last Review: November 5, 2012 - Revision: 3.0
Applies to
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
kbenv kbprb KB287031

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com