Vethernet default switch что это
Перейти к содержимому

Vethernet default switch что это

  • автор:

Как удалить все vEthernet (коммутатор по умолчанию) раз и навсегда?

vEthernet

Как на скриншоте выше, я не знаю, почему vEthernet (переключатель по умолчанию) на моем ноутбуке Windows 10 держит воспроизведение себя и автоматическое подключение к нему каждый раз, когда я выключаю и включаю ноутбук.

хуже всего, если я переключаю сети Wi-Fi, он автоматически подключается к vEthernet (переключатель по умолчанию), даже если у меня есть pre-disabled это перед

пожалуйста, помогите мне выяснить основная причина этой проблемы? Например. :

  1. почему это странное явление продолжает происходить (я подозреваю, что это потому, что я установил Docker?)
  2. почему я не могу удалить vEthernet (коммутатор по умолчанию) из сетевых подключений
  3. почему он поддерживает автоматическое подключение к vEthernet (коммутатор по умолчанию) и как его отключить?

2 ответов

Я только что узнал, что я мог бы легко удалить все коммутаторы vEthernet, просто перейдя к:

«Панель управления» > «Программы» > «программы и компоненты» > «Включение и выключение компонентов Windows» на компьютере с Windows 10 Найдите имя функции, которую вы хотите отключить-в этом случае «контейнеры «и (необязательно)»Hyper-V»

Как удалить в Hyper-V Коммутатор по умолчанию?

Здравствуйте!
Не удается удалить виртуальный коммутатор в hyper-v. Не помню как и почему создался вот такой
5aa2b0f7ce9f4894194844.png
В Диспетчере устройств удалил, в сетевых подключения вот такая картина
5aa2b139eac0e685768475.png
Попытка удалить так Remove-VMSwitch «QoS Switch»
Вот такая ошибка

Name SwitchType NetAdapterInterfaceDescription
—- ———- ——————————
Виртуальный коммутатор External Killer E2500 Gigabit Ethernet Controller
Коммутатор по умолчанию Internal

PS C:\WINDOWS\system32> Remove-VMSwitch «Коммутатор по умолчанию»

Подтверждение
Вы действительно хотите удалить виртуальный коммутатор «Коммутатор по умолчанию»?
[Y] Да — Y [A] Да для всех — A [N] Нет — N [L] Нет для всех — L [S] Приостановить — S [?] Справка
(значением по умолчанию является «Y»):Y
Remove-VMSwitch : Сбой при удалении виртуального коммутатора Ethernet.
Автоматический коммутатор «Общий доступ к подключению к Интернету» невозможно изменить.
строка:1 знак:1
+ Remove-VMSwitch «Коммутатор по умолчанию»
+

How to remove all the vEthernet (Default Switch) once and for all?

vEthernet

As in the screenshot above, I don’t know why the vEthernet (Default Switch) on my Windows 10 laptop keeps reproducing itself and auto connecting to it everytime I shut down and switch on the laptop.

Worst is if I switch Wi-Fi networks, it auto connects to the vEthernet (Default Switch) even when i have pre-disabled it before

Please help me find out the root cause of this problem? E.g. :

  1. Why this strange occurrence keeps happening (I suspect it is because I installed Docker?)
  2. Why I can’t seem to delete the vEthernet (Default Switch) from Network Connections
  3. Why does it keep auto connecting to vEthernet (Default Switch) and how to permanently disable it?

9 Answers 9

I just found out that I could easily remove all the vEthernet switches by simply going to:

«Control Panel» > «Programs» > «Programs and Features» > «Turn Windows features on or off» on your Windows 10 machine Find the name of the feature/s you would like to disable—in this case, «Containers» and (optionally) «Hyper-V»

enter image description here

Just go to device manager, network adapters, right click and uninstall

I have 160 of these devices, and I don’t feel like uninstalling them all by hand.

But that’s only a disable;

This gets an error message.

Dennis's user avatar

I found a definitive solution. My solution works, even with Hyper-V enabled. Many of us don’t want to disable Hyper-V security, and nothing else here worked for me on Windows 10 2004, everything is replaced on reboot, even netbios settings which increase attack surface, and its a pain to configure potentially hundreds of adapters every single time. Even automating with Nvspbind all settings revert on reboot. One way to disable these adapters literally ONCE AND FOR ALL is to disable DNScache aka Dns Client service and use a third-party DNS service such as Acrylic , or SimpleDNSCrypt. Be sure to comb through Acrylics configuration with a fine toothed comb because initially your default DNS provider will automatically be set to google or cloudflare. Then point acrylic to your router IP, or preferred DNS server, and set all your adapters DNS settings to 127.0.0.1 .

You must disable DNSCache with regedit, here:

Set start to 4 , and reboot.

The only minor caveat is you may see a single adapter constantly and briefly appearing and disappearing under Control Panel\Network and Internet\Network Connections and your device manager window will constantly refresh each time it attempts to install adapters. This problem appears to have went away for me after I enabled DNSCache (which was already disabled before I initially started using Hyper-V), then disabled it again. Another caveat is that initially loading the windows store you will get an error, unless you have previously opened the store with DNScache enabled. After that the store will work indefinitely unless you reset it. Not a big price to pay given how annoying this is, this actually works.

Vethernet default switch что это

Does anyone know a way to permanently disable or change the settings of the Default Switch created when setting up a VM in Hyper V. Host is Windows 10 1803, the VM is Windows 7, I’ve created an external switch but unless I disable the Default Switch I can’t get internet access on the host machine or the VM but everytime I restart the machine the Default Switch is enabled again, not a bother for me but trying to explain that to users is a bit difficult.

Answers

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

  • Marked as answer by Ace_rimmer Monday, October 29, 2018 11:29 AM

All replies

Why aren’t you using the Default Switch for internet connectivity?

Details about the Default Switch

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

  • Proposed as answer by Michael_hxy Microsoft contingent staff Tuesday, October 16, 2018 6:18 AM

You’ve asked in windows server forums that support a server OS, better to ask subject matter experts over here in dedicated forum.

Regards, Dave Patrick .
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

Hi,

Why aren’t you using the Default Switch for internet connectivity?

Details about the Default Switch

https://blogs.technet.microsoft.com/virtualization/2017/07/26/hyper-v-virtual-machine-gallery-and-networking-improvements/

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Couldn’t get it to work, the VM’s need network access as well as remote support access through different software but the default switch doesn’t seem to be configurable and once set up I couldn’t get network or internet access or connect remotely.

Hi,

Why aren’t you using the Default Switch for internet connectivity?

Details about the Default Switch

https://blogs.technet.microsoft.com/virtualization/2017/07/26/hyper-v-virtual-machine-gallery-and-networking-improvements/

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

You’ve asked in windows server forums that support a server OS, better to ask subject matter experts over here in dedicated forum.

https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprovirt

Regards, Dave Patrick .
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

Can you paste a screenshot of all virtual switches configured in Hyper-V Manager?

Did you try to reinstall Hyper-V Role?

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Can you paste a screenshot of all virtual switches configured in Hyper-V Manager?

Did you try to reinstall Hyper-V Role?

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

This problem has been on around 40 machines running 1803, i’ve tried removing Hyper V, setting up switches again but no joy, I have the same issue on all machines, if I disable vEthernet (Default Switch) 2 everything is fine but it’s re-enabled after a restart.

Strange, your external virtual switch should work without disabling the default switch, because as you mention the default switch will be automatically enabled each time you restart your computer.

I’m guessing that you already installed the latest cumulative update on your machines?

What about if you create a simple PowerShell script which will automatically disable the default switch on Windows startup? I know it’s not ideal, but it might work for you.

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Strange, your external virtual switch should work without disabling the default switch, because as you mention the default switch will be automatically enabled each time you restart your computer.

I’m guessing that you already installed the latest cumulative update on your machines?

https://www.catalog.update.microsoft.com/Search.aspx?q=cumulative%20update%201803

What about if you create a simple PowerShell script which will automatically disable the default switch on Windows startup? I know it’s not ideal, but it might work for you.

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Thanks, I did check the update but it’s not applicable to my machine (Windows 10 x64 1803) I’ll have a google of a Powershell script, good idea but way beyond my level of knowledge.

On you Windows client create a new scheduled task with At log on trigger. Then create Start a program action, type powershell in the Program/script window and under arguments enter this:

Modify the adapter name if necessary.

This should work, if not let me know.

Hope this helps

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

On you Windows client create a new scheduled task with At log on trigger. Then create Start a program action, type powershell in the Program/script window and under arguments enter this:

Modify the adapter name if necessary.

This should work, if not let me know.

Hope this helps

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Thanks so much for this but it’s not working, I had to take off the -command & and use Disable — NetAdapter — Name ‘vEthernet (Default Switch) 2’ — Confirm : $false > when the task runs I get a permissions error PermissionDenied, if I run the command manually in an admin PowerShell it runs fine, is there a way to get this to run an as admin.

Microsoft Certified Professional

[If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *