Turn APIPA off
In some cases, you might not want Windows 2000 to use APIPA to automatically assign an address. For example, where DHCP services are available, automatic address assignment can temporarily mask connectivity problems because the computer assigns itself an address rather than generating an error. Whatever your reason for wanting to disable APIPA, you disable it through a simple registry change.
Disable APIPA through the registry
You must create a setting in the registry to disable APIPA. You can disable it for a single adapter or for all network interfaces:
Run
regedt32orregeditto modify the registry.Expand the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
adapter_namewhere
adapter_nameis the name of the interface for which you want to disable APIPA.Create a DWORD value named IPAutoconfigurationEnabled and set its value to 0. (If you later need to re-enable APIPA set this value to 1.)
If multiple adapters are installed in the system and you want to disable APIPA for all interfaces, expand the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Create a DWORD value named IPAutoconfigurationEnabled and set it to 0. As with individual interfaces, you can later set this value to 1 if you need to re-enable APIPA.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access