D
D
dobromin2018-03-09 19:08:31
Hyper-V
dobromin, 2018-03-09 19:08:31

How to remove Hyper-V default switch?

Hello!
Cannot remove virtual switch in hyper-v. I don’t remember how and why this one was created. In the
5aa2b0f7ce9f4894194844.png
Device Manager, I deleted it, in network connections, this is the picture
5aa2b139eac0e685768475.png
.


PS C:\WINDOWS\system32> get-VMSwitch
Name SwitchType NetAdapterInterfaceDescription
---- ---------- ---------------------- --------
External Killer E2500 Gigabit Ethernet Controller Virtual Switch
Default Switch Internal
PS C:\WINDOWS\system32> Remove-VMSwitch "Default Switch"
Confirmation
Are you sure you want to remove the "Default Switch" virtual switch?
[Y] Yes - Y [A] Yes to all - A [N] No - N [L] No to all - L [S] Suspend - S [?] Help
(default value is "Y"):Y
Remove -VMSwitch : Failed to remove virtual ethernet switch.
The "Internet Connection Sharing" automatic switch cannot be modified.
string:1 character:1
+ Remove-VMSwitch "Default Switch"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-VMSwitch], VirtualizationException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.RemoveVMSwitch

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CowSayMoo, 2018-03-29
@dobromin

go to the Properties of this connection, in the list of components look for a line on the topic Hyper-V Switch
-> select and click delete

V
Vozdyh7, 2018-03-09
@Vozdyh7

Good day!
Unfortunately, in your case, you need to reinstall the Hyper-V role

L
LloydChristmas, 2019-06-28
@LloydChristmas

I uninstalled "Network Adapters" in device manager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question