Share via


windows 10 failed to remove network bridge completely

Question

Tuesday, March 1, 2016 7:58 AM

I am using Hyper-V on Windows 10.

Two days ago, I added a virtual switch at first using wireless network adapter with connection type of internal network, and then added a bridge between the virtual switch and actual wireless net adapter. It's certain that my virtual machine can't connect to the outside because of the internal network type of the switch. After I was aware of the fault I wanted to change the connection type of the virtual switch to external network but failed. And then I had a urgent matter and closed the computer. After I reopened the computer, I entered the UI {control panel}\network and internet}\network connection} and selected the network bridge and intended to remove it via its context menu. After accepted the remove instruction the computer lost response for a long time (over 15 minutes) and I had to shutdown the computer hardly. 

 After restarted the system I removed the virtual switch from Hyper-V manager and just wanted to add a new one with connection type of external network. But I received a message as follows:

Fail to bind Ethernet port {here is a GUID}: requested resource is in use.
Can't  bind the virtual switch to WLAN adapter because the network bridge is in use. You are allowed to config at most one virtual switch to connect to WLAN adapter.

(The above messages are originally shown in Chinese. I am regretful that the above messages might lack of accuracy because of my poor translation skill)

And now I can't add virtual switch and my virtual machine consequently can't access outside network via WiFi.

I guess that the unsuccessful removing operation(the one caused system halted) of the network bridge had removed the bridge from the UI but in the background just somewhere, the network bridge exists still and occupies the port resource.

I had tried to disable Hyper-V and re-enable Hyper-V from {Enable Windows features on or off}, and it cut no ice with the problem.

All replies (4)

Tuesday, March 1, 2016 7:53 PM âś…Answered | 1 vote

Well the Virtual Switch to add to internet access would be an External switch in Hyper-V Manager as you stated.

For the stuck network adaptors, try to remove the adapters. Please take a Windows Restore Point before doing this as I have heard of report once where it caused issues.

So take a restore point, then from an admin command prompt;

netchg /d

From the help displayed from netchg /?;

"... netcfg -d

    Example:

    netcfg -d

        Performs a cleanup on all networking devices.
        This will require a reboot."

So do that a reboot let Windows detect the network adapters and see if that helps.


Friday, March 4, 2016 2:02 AM

Hi SirZWProfileAtMSDN,

What is your current situation?

If any further help needed, please feel free to post back.

Regards

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Wednesday, October 11, 2017 7:05 PM

I have the same situation... Used 'bridge network connections', realized it didn't help AND created a security nightmare... and now I can't reset to non-bridged mode.  I've tried the inputs before, but I'm not using VM, just a WIN 10 single user setup.  I can't delete the network connections, the netcfg -d command gives a bunch of errors, and after the reboot, the network connection 'Ethernet' still says 'Connected, Bridged.'  

Any other ideas?  I'm open to anything!  Ideas I mean... didn't mean that the way it sounded.

Erin

 


Wednesday, October 11, 2017 9:48 PM

I have the same situation... Used 'bridge network connections', realized it didn't help AND created a security nightmare... and now I can't reset to non-bridged mode.  I've tried the inputs before, but I'm not using VM, just a WIN 10 single user setup.  I can't delete the network connections, the netcfg -d command gives a bunch of errors, and after the reboot, the network connection 'Ethernet' still says 'Connected, Bridged.'  

Any other ideas?  I'm open to anything!  Ideas I mean... didn't mean that the way it sounded.

Erin

 

Well beyond that my ideas the netcfg -d has been replaced with a GUI version, so start > Settings > Network & Internet, scroll down to the bottom, Network reset see if that does anything different (be interested in that).

Beyond that post a new question with any extra details, perhaps explaining the two nics that are bridged and the errors with netcfg.