首页 > 代码库 > 关闭 APIPA

关闭 APIPA

KrisIngmanson replied on

 

I just did this on Win7 Professional and it works. I tested it before and after making the change.

 

1. Use Registry Editor to create the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

2. 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 computer)

NOTE: If the IPAutoconfigurationEnabled entry is not present, a default value of 1 is assumed, which indicates that APIPA is enabled.

3. After you make this change, restart your computer.

 
按照上述的做法,自己在win7企业版上尝试了下,有效。不再出现169.254.*.*地址。
 
参考:https://answers.microsoft.com/en-us/windows/forum/windows_7-networking/how-do-i-disable-automatic-private-ip-addressing/1c9044d2-85a5-4cb2-ba90-ff6866a4adb1
   http://windowsitpro.com/networking/how-can-i-disable-apipa
   http://windowsitpro.com/networking/disabling-apipa
  
 
 
 

关闭 APIPA