Desired IP address is set to “Duplicate” and a new autoconfiguration IPv4 address is set as the "preferred" IP address of the server.
Solution
- Open Regedit
- Use Registry Editor to create the following registry key, where <var>adapter name</var> is the name of the Dynamic Host Configuration Protocol (DHCP) configured adapter where you want to disable APIPA:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\Interfaces\<var>adapter name</var> - Add the following value to this key:
Value name: IPAutoconfigurationEnabled
Value type: REG_DWORD
Value in hexadecimal: 0 (A value of 0 disables APIPA support on this adapter)
NOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is enabled. - Restart your computer. After the procedure has been completed successfully, the auto configuration IP is gone but the static IP set is still unusable as it still termed as duplicate by the windows OS.
- Open Regedit
- Locate this registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters - New, and click DWORD Value
- Type ArpRetryCount
- Right-click the ArpRetryCount registry entry and click Modify. In the Value box, type 0 and click OK
- Restart the computer. Check the IP address of the NIC, the static IP should be set to preferred.