码迷,mamicode.com
首页 > Windows程序 > 详细

关闭 APIPA

时间:2017-06-02 14:46:39      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:system   start   services   this   window   sof   lin   entry   support   

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

标签:system   start   services   this   window   sof   lin   entry   support   

原文地址:http://www.cnblogs.com/midhillzhou/p/6932932.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!