AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1721366
Accepted
Boppity Bop
Boppity Bop
Asked: 2022-05-17 16:06:09 +0800 CST2022-05-17 16:06:09 +0800 CST 2022-05-17 16:06:09 +0800 CST

为什么 ipconfig 显示不在设备管理器中的 NIC (Hyper-V) 以及如何删除它们?

  • 772

当我运行时,ipconfig /all我看到适配器(由 Hyper-V 创建),但它们不在设备管理器中(显示隐藏设备已打开),它们不在 Hyper-V 虚拟交换机管理器中。

我有 2 个虚拟机。它们在 atm 中停止,并且都vEthernet (external-switch-1)用于 NIC。

在所有 4 个来源中,“不需要的”网卡仅在 ipconfig 中。

为什么以及如何删除以下适配器?

Ethernet adapter vEthernet (Ethernet 2.5GbE) - Hyper-V Virtual Ethernet Adapter
Ethernet adapter vEthernet (vEthernet (exte) - Hyper-V Virtual Ethernet Adapter #3

以下是插图:

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

C:\>ipconfig.exe /all                                                                                                                                                               
Windows IP Configuration

   Host Name . . . . . . . . . . . . : XX
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet 2.5GbE:

   Description . . . . . . . . . . . : Realtek PCIe 2.5GbE Family Controller
   Physical Address. . . . . . . . . : 24-4B-FE-59-D3-08

Ethernet adapter vEthernet (external-switch-1):

   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #5
   Physical Address. . . . . . . . . : 24-4B-FE-59-D3-07

Ethernet adapter vEthernet (Ethernet 2.5GbE):

   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
   Physical Address. . . . . . . . . : 00-15-5D-B3-D2-A9 

Ethernet adapter vEthernet (Default Switch):
 
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
   Physical Address. . . . . . . . . : 00-15-5D-28-80-22

Ethernet adapter vEthernet (vEthernet (exte):

   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #3
   Physical Address. . . . . . . . . : 00-15-5D-DA-81-7F

编辑:我发现另一个地方有这些幻像适配器:

动力壳

> Get-NetAdapter | Select name

name
----
WiFi
vEthernet (vEthernet (exte)
Bluetooth Network Connection
Ethernet 2.5GbE
vEthernet (Ethernet 2.5GbE)
vEthernet (Default Switch)
vEthernet (external-switch-1)
Ethernet
windows-10 networking
  • 2 2 个回答
  • 383 Views

2 个回答

  • Voted
  1. harrymc
    2022-05-26T11:35:31+08:002022-05-26T11:35:31+08:00

    我相信您在回答中做的太多了,禁用 Windows 沙盒就足够了。

    以下是我 对那张海报有用的答案。


    这篇文章恢复了一位发帖人所做的研究结果:
    Win10 2004 上的 Windows Sandbox 现在为每个物理 NIC 创建 vEthernet 接口?

    他的结论是,这些新的虚拟交换机与 Windows Sandbox 的特性有关。在“控制面板”>“程序和功能”>“打开或关闭 Windows 功能并重新启动”中卸载沙盒 会删除这些开关。如果您希望保留 Windows Sandbox,则还需要保留这些开关。

    我在他的帐户下面转载:

    我更新到 Win10 2004(撰写本文时为 Build 19041.208),我注意到在安装了 Hyper-V 和 Windows Sandbox 的系统上,我现在为系统上的每个物理以太网接口都自动创建了 vEthernet 接口。每一个都被命名为“vEthernet(物理接口名称)”。尽管我的主机系统上只有虚拟交换机是默认交换机,但这种情况仍在发生。

    当我运行“Get-VMNetworkAdapter -ManagementOS”时,我看到多个名为“Container NIC xxxxxx”的适配器,每个都显示为连接到默认交换机。

    所有这些 vEthernet 接口都有自动分配的 172.xxx IP 地址。它们无法在网络连接中删除(选项灰显),如果我使用设备管理器卸载与这些接口关联的实际 Hyper-V 虚拟以太网适配器设备,它们会在重新启动后重新出现。即使在我完全卸载 Hyper-V 后,这种行为仍然存在,但是当我重新安装它并卸载 Windows Sandbox 时,vEthernet 接口都消失了,除了与我希望保留的默认开关关联的接口。那时,运行“Get-VMNetworkAdapter -ManagementOS”只返回一个结果。

    • 1
  2. Best Answer
    Boppity Bop
    2022-05-26T02:50:47+08:002022-05-26T02:50:47+08:00

    显然,由于 Hyper-V,适配器不是(或不完全是)。它们是由“沙盒”功能创建的。

    我做了什么:

    1. 卸载 Hyper-V:没有效果
    2. 禁用 DNS 缓存:vEthernet 消失了
    3. 重新启用 DNS 缓存:他们回来了
    4. 卸载的沙盒:vEthernet 消失了
    5. 已安装 Hyper-V:不需要的 vEthernet 设备消失了

    每一步都需要重新启动。 事后看来 - 我不确定第 1 步和第 2 步是否有用。

    • 0

相关问题

  • VMware Workstation USB 仲裁服务无法自动启动

  • 如何在域和 Linux 活动目录中启用指纹传感器

  • 资源管理器侧面板中的桌面外壳快捷方式

  • 为什么我不能将文件从 Android 发送到 Windows 10?

  • 在多个文件上打开方式?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    v15 为什么通过电缆(同轴电缆)的千兆位/秒 Internet 连接不能像光纤一样提供对称速度? 2020-01-25 08:53:31 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve