106 个问题
Dear Team,
The graphical interface is failing because it cannot load the bad configuration. Use command-line tools to remove it first.
Open PowerShell as Administrator.
- Press the Windows key, type "PowerShell", right-click on "Windows PowerShell," and select "Run as administrator".
List all virtual switches.
- In the PowerShell window, type the following command and press Enter. This will show you the names of all configured virtual switches.
- `Get-VMSwitch`
**Remove the corrupted virtual switch.**
- Use the name(s) from the previous step to remove the switch. Replace `"YourSwitchName"` with the actual name of your switch (e.g., `"Default Switch"`).
- `Remove-VMSwitch -Name "YourSwitchName"`
- If you have multiple switches or are unsure which is corrupt, you can remove them all. Run the remove command for each one.
**Verify the fix.**
- Go back to the Hyper-V Manager and try to open the **Virtual Switch Manager** again. It should now open without any errors.
- Recreate your switch.
- You can now use the Virtual Switch Manager to create a new virtual switch as needed.
Best Regards,