Cannot create virtual switch Hyper-V (0x80041002)


  1. Posts : 2
    Win 10 Pro
       #1

    Cannot create virtual switch Hyper-V (0x80041002)


    I had a situation where a VM in Hyper-V on Win 10 Pro (build 19043.1415) wouldn´t stop and the first thing I did was stopping various services related to Hyper-V. After that I rebooted the host, and suddenly all my VM`s were no longer listed in Hyper-V. I thought this was weird, cause usually you´d expect these services to come back after a reboot. Anyway, I tried restarting services related to Hyper-V, but they all seemed to have a dependency, unnamed, prevending them from running. After a bit of trying to resolve it, I decided to simply uncheck Hyper-V as installed, reboot and then check it as installed + reboot again. Now I could see my machines again, but ran into a new problem: The virtual internal switch that I use for connecting through my VPN was gone. So I tried creating it, both with Hyper-V and from PowerShell, but with the same result:

    New-VMSwitch -Name Intern -SwitchType Internal
    New-VMSwitch : Virtuelle Ethernet-switchforbindelser kunne ikke tilføjes.
    Intern miniport kunne ikke oprettes. Navn = '1F870B16-E6E9-4D9E-83EC-7A114ACB9A49', brugervenligt navn = '', MAC = 'DYN
    AMIC': Not found (0x80041002).
    At line:1 char:1
    + New-VMSwitch -Name Intern -SwitchType Internal
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [New-VMSwitch], VirtualizationException
    + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.NewVMSwitch

    Please bear with the message being in Danish, but it´s basically telling that Virtual internet switch connections could not be added and the internal miniport could not be created. The same thing happened when trying to add an external switch. It takes up to 10 mins before I get the message btw. I found others with what seemed to be a similar problem, but here the solution was to remove Hyper-V (in already mentioned way) and do a netcfg -d, reboot, reinstall hyper-v and reboot, but this did not make any difference for me. I also found a hotfix from MS dated 2021, that also did not improve my situation.
    Also, I´ve done a sfc /scannow as well as repair installing Win-10.
    FYI, I can start the machines, but with the only available virtual switch type = private.

    Some good ideas apart from reinstalling Windows completely?
      My Computer


  2. Posts : 2
    Win 10 Pro
    Thread Starter
       #2

    Found the solution: Unistalled Comodo Internet Security, rebooted and I could proceed with creating the switch. I did not have to do this when I created a switch a few months ago, but there´s probably a conflict between Comodo and a recent Win 10 update causing this.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:31.
Find Us




Windows 10 Forums