Did you find this useful?
Socialize it today.


Disabling Automatic IP Addressing (APIPA)

Friday, October 28, 2011

Automatic Private IP Addressing (APIPA), is a feature of Windows (except Windows NT) operating systems. With APIPA, DHCP clients can automatically self-configure their IP configuration with an IP address and subnet mask when a DHCP server isn’t available. When a DHCP client boots up, it first looks for a DHCP server in order to obtain an IP configuration. If the client is unable to successfully negotiate a DHCP lease, it uses APIPA to automatically configure itself with an IP address from a range that has been reserved especially for Microsoft. The IP address range is 169.254.0.1 through 169.254.255.254. The client also configures itself with a default class B subnet mask of 255.255.0.0. A client uses the self-configured IP address until a DHCP server becomes available. The APIPA service also checks every five minutes for the presence of a DHCP server. If it detects a DHCP server on the network, APIPA stops, and the DHCP server replaces the APIPA networking addresses with dynamically assigned addresses.

To disable APIPA do the following:

Windows XP/Vista/7/200x

  1. Open Registry Editor.
  2. In Registry Editor, navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\adaptername
  1. Create the following entry: IPAutoconfigurationEnabled: REG_DWORD
  2. Assign a value of 0 to disable Automatic Private IP Addressing (APIPA) support for the selected network adapter.
  3. Close Registry Editor.
If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is used.

If multiple adapters are installed, you can disable APIPA for all installed adapters by setting the IPAutoconfigurationEnabled entry (create a REG_DWORD if it does not exist) to 0 at the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Windows 9x/ME

  1. Open Registry Editor.
  2. In Registry Editor, navigate to the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
  1. Create the following entry: IPAutoconfigurationEnabled: REG_DWORD
  2. Assign a value of 0 to disable Automatic Private IP Addressing (APIPA) support for the selected network adapter.
  3. Close Registry Editor.

Please help us spread the word by socializing it today!

email contact us

Did you find something wrong with the information on this page? Please take a moment to report it to us so that we can continue to improve the quality of the information on this site. Click here to report an issue with this page.



Recommended Books & Training Resources

Microsoft Windows XP Professional Administrators Pocket Consultant Microsoft Windows XP Professional Resource Kit Third Edition