Tuesday, August 31, 2021

disable APIPA

 

It may be desirable to disable this and to do this perform the following:

  1. Start the registry editor (Regedit.exe)
  2. Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
  3. Select the required interface
  4. From the Edit menu select New - DWORD value
  5. Enter a name of IPAutoconfigurationEnabled and press Enter
  6. Double click the new value and set to 0. Click OK
  7. Close the registry editor

If you have multiple adapters and wish to disable for all just create and set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IPAutoconfigurationEnabled to 0.

Tuesday, August 3, 2021

How do I reset or clear the TCP/IP autoconfiguration address, 169.XXX.XXX.XXX ?

 

Before running the command, take note of the existing TCP/IP settings for all of the LAN connections. This command will reset them to the default settings.

  1. To open a command prompt, click Start and then type cmd in the "Search programs and files" box.
  2. At the command prompt, type: netsh int ip reset C:\netsh.log.txt Press Enter.
  3. At the command prompt, type: netsh winsock reset Press Enter.
  4. Confirm that you receive the feedback commands indicating that the reset was successful.
  5. Close the command window.
  6. Shut down the computer, and power it back on. (Cold boot the computer, do not restart it.)
  7. In the Windows Control Panel, click Open Network and Sharing Center, and then click Change Adapter settings.
  8. Re-enter the desired TCP/IP settings for the problem LAN connection.
  9. Disable and re-enable the updated LAN connection.
  10. Right-click the LAN connection, and choose Properties > Details to confirm that the desired IP address is saved.