First a bit of history:
- This is a work VM that was migrated to a VM using P2V. The VM is on my personal PC and not a server
- When the VM was migrated everything was great except that Windows needed activated. At this point I was just using the default switch with Hyper-V
- Removed from the domain as the suggestion of MS to downgrade the license from Enterprise to Pro. Didn't work
- VPN stopped working when removed from the domain.
- Eventually re-joined the domain but I was unable to use the default switch for the VPN. Internet worked but VPN did not.
- Using an external virtual switch bridged to my WiFi adapter allowed me to access the internet and use the VPN.
- This setup would eventually fail meaning that internet connection failed for both the host and VM. At this point I would delete the virtual switch and create it again and then internet/VPN would work again. This continued for a couple of months.
- Today, these steps no longer work. Instead I get an error "Failed while adding virtual Ethernet switch connections. Ethernet port '{GUID}' bind failed: Element not found. (0x80070490)
- The WiFi adapter shows as bridged in the adapter settings.
- I need to disable/enable the WiFi adapter and then remove from the bridge.
- I can create an external virtual switch on the ethernet port without issues. I cannot use this because I do not have an ethernet cable long enough (it is about 60').
Ideally I would like to get the default switch to work again but even getting the external switch working again would be great. It may not make sense but I feel like I have hit a max number of connection numbers (you know, the thing that shows "Local Connection 2" or w/e the number is). Since this stopped suddenly without a restart or update (that I know of) I can't think of much else besides the fact that I hit the some max number - after all who is going to have 100 different connections?
I also wonder if the NAT settings are incorrect on the Default Switch in Hyper-V and that is why it is not working. While researching this issue I found these instructions for creating a NAT but when I run Get-NetNat
there are no results. As I mention below, I am not familiar enough with networking to know if this is a problem and if it is, what should be done to restore the NAT to the correct settings for the Default Switch.
I have tried:
- Updating the drivers
- Removing the drivers with netcfg
- Reinstalling Hyper-V
I am a developer and familiar with windows but I lack experience in the networking area of computers.