How to disable APIPA

By | 2007-07-11

A Windows-based computer that is configured to use DHCP can automatically assign itself an Internet Protocol (IP) address if a DHCP server is not available. For example, this could occur on a network without a DHCP server, or on a network if a DHCP server is temporarily down for maintenance.

Read more about APIPA on the What’s APIPA? page.

You may want to disable it in any of the following cases:

  • Your network uses routers.
  • Your network is connected to the Internet without a NAT or proxy server.

To disable automatic address configuration do the following:

Windows 2000/XP/2003

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

Note: You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure.

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 to 0 at the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters

Windows 98/ME

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

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.