当前位置: 移动技术网 > 科技>操作系统>windows > Windows7/2008中批量删除隧道适配器的方法

Windows7/2008中批量删除隧道适配器的方法

2019年03月19日  | 移动技术网科技  | 我要评论

没那么简单mv女主角,印度狼孩卡马拉,人性本色联盟

1.在网卡属性的“网络”中,将“internet协议版本(tcp/ipv6)”前面的勾去掉。
2.在cmd下分别执行如下三条命令。
netsh interface teredo set state disable
netsh interface 6to4 set state disable
netsh interface isatap set state disable
3. 在“设备管理器”中先在“查看”菜单中选择“显示隐藏的设备”,然后在网络适配器中可以看到很多 6to4 adapter或者isatap adapter的隧道适配器。删掉所有这些。
技巧:一个个删实在是太痛苦。微软提供了命令行下对设备管理的工具,名字叫做devcon.exe 下载后,其中包括32位和64位使用的版本,选择适合自己的版本,然后在命令行cmd中运行如下命令: devcon remove *6to4(作用就是删除所有的隧道适配器) 最后cmd里ipconfig命令下,如果只有以太适配器和无线适配器(如果你有无线网卡),那么就说明你已经删除干净了。 重启电脑。

以下是本人自用的批处理,复制另存为.bat文件可用。需要下载devcon64.exe



复制代码
代码如下:

@echo off
::复制devcon64.exe跟此bat放在一起,或者devcon64放到windows系统目录
netsh interface teredo set state disable
netsh interface 6to4 set state disable
netsh interface isatap set state disable
devcon64 remove *teredo
devcon64 remove *6to4
devcon64 remove *isatap
@pause

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网