Microsoft KB Archive/287031

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

Article ID: 287031

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT 4.0 Service Pack 1
 * Microsoft Windows NT 4.0 Service Pack 2
 * Microsoft Windows NT 4.0 Service Pack 3
 * Microsoft Windows NT 4.0 Service Pack 4
 * Microsoft Windows NT 4.0 Service Pack 5
 * Microsoft Windows NT 4.0 Service Pack 6
 * Microsoft Windows NT 4.0 Service Pack 6a

-



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\ \IpRanges\ 

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:  Start DHCP Manager. Right-click Scope, and then click Properties. Click the Advanced tab, and then click to select Both in the Assign IP addresses dynamically to clients of section.  Use Registry Editor:  Start Registry Editor (Regedt32.exe).</li> Locate the RangeFlags value under the following key in the registry:

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

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

<div class="status_section">

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

<div class="moreinformation_section">

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 &quot;Symptoms&quot; section of this article. To download the new Dhcpexim binary, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=3603ae26-81f0-478a-836c-b31ed463af5e

Additional query words: Dhcpexim exe

Keywords: kbenv kbprb KB287031

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.