cmd 如何删除网络接口

2022-05-12 04:56:35 +08:00
 vloony
cmd 如何删除网络接口

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation 。保留所有权利。

C:\Users\Administrator.SC-2022>route print
===========================================================================
接口列表
20...........................Wintun Userspace Tunnel #46
27...........................WireGuard Tunnel
14...94 e2 3c 19 03 60 ......Bluetooth 设备(个人区域网)
11...00 0c 29 d0 ec f1 ......Intel(R) PRO/1000 MT Network Connection
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
===========================================================================

IPv4 路由表
===========================================================================
活动路由:
网络目标 网络掩码 网关 接口 跃点数
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.21 266
127.0.0.0 255.0.0.0 在链路上 127.0.0.1 306
127.0.0.1 255.255.255.255 在链路上 127.0.0.1 306
127.255.255.255 255.255.255.255 在链路上 127.0.0.1 306
192.168.0.21 255.255.255.255 在链路上 192.168.0.21 266
224.0.0.0 240.0.0.0 在链路上 127.0.0.1 306
224.0.0.0 240.0.0.0 在链路上 192.168.0.21 266
255.255.255.255 255.255.255.255 在链路上 127.0.0.1 306
255.255.255.255 255.255.255.255 在链路上 192.168.0.21 266
===========================================================================
永久路由:


IPv6 路由表
===========================================================================
活动路由:
如果跃点数网络目标 网关
1 306 ::1/128 在链路上
11 266 fe80::/64 在链路上
11 266 fe80::48a1:8637:f321:8005/128
在链路上
1 306 ff00::/8 在链路上
11 266 ff00::/8 在链路上
===========================================================================
永久路由:




如何删除
20...........................Wintun Userspace Tunnel #46
27...........................WireGuard Tunnel
这两个接口
1534 次点击
所在节点    Windows
3 条回复
crab
2022-05-12 05:30:09 +08:00
试下这个 netsh interface delete ipv4 name="Demand-Dial Interface"
kokutou
2022-05-12 08:42:56 +08:00
cmd delete network interface

google 搜索.....
中文 jb 毛都搜不到

devcon.exe 应该是要下一个, 或者到向日葵安装包里取.

参考命令:
devcon findall =net
devcon findall =net |findstr /I "isatap teredo"
devcon disable *teredo*
devcon remove *teredo*
devcon disable *ISATAP*
devcon remove *ISATAP*
devcon findall =net |findstr /I "isatap teredo"
ysc3839
2022-05-12 10:29:49 +08:00
@kokutou 不需要 devcon ,可以用系统自带的 pnputil ,或者调用 powershell 大概也可以

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/852307

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX