title: hyper-v generic failure when trying to make new vmswitch
body: <p>I can't do anything with hyper-v manager. Everything that i try gives the generic failure.</p>
  
  <p>This all started after the update of 14-01-2020.</p>
  
  <p>I even tried removing the updates but that doesn't because i can't remove 1 out of the 3.</p>
  
  <p>Next option is reinstall.</p>
  
  <p>What i have tried so far: </p>
  
  <pre><code>dism /online /Disable-feature /FeatureName:Microsoft-Hyper-V
  </code></pre>
  
  <pre><code>Try to uninstall the network adapter from the device manager, and install it again.
  </code></pre>
  
  <pre><code>Enable inbound firewall rule for "Windows Management Instrumentation (DCOM-in)"
  </code></pre>
  
  <pre><code>netcfg -d
  </code></pre>
  
  <p>When i try to get my VMswitches:</p>
  
  <pre><code>PS C:\Windows\system32&gt; Get-VMSwitch
  Get-VMSwitch : Generic failure
  </code></pre>
  
  <p>When i try to make a new VMswitch: </p>
  
  <pre><code>PS C:\Windows\system32&gt; New-VMSwitch -SwitchName "NAT-Switch" -SwitchType Internal -Verbose
  
  VERBOSE: New-VMSwitch will create a new virtual switch "NAT-Switch".
  New-VMSwitch : Failed while creating virtual Ethernet switch.
  An unexpected error occurred: Provider is not capable of the attempted operation (0x80041024).
  Failed while creating virtual Ethernet switch.
  The Hyper-V Virtual Machine Management service encountered an unexpected error: Provider is not capable of the
  attempted operation (0x80041024).
  At line:1 char:1
  + New-VMSwitch -SwitchName "NAT-Switch" -SwitchType Internal -Verbose
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:) [New-VMSwitch], VirtualizationException
      + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.NewVMSwitch
  </code></pre>
  
  <p>My docker can't run as well:</p>
  
  <pre><code>[01:59:13.556][PowerShell        ][Info   ] Run script with parameters: -Create True -VhdPathOverride C:\ProgramData\DockerDesktop\vm-data\DockerDesktop.vhdx -VhdSize 68719476736 -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 28 -PreferredIPAddress  -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\docker-desktop.iso -Verbose True -ErrorAction Stop
  [01:59:13.607][HyperV            ][Info   ] Creating Switch: DockerNAT...
  [01:59:13.654][HyperV            ][Error  ] Unable to create: System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Generic failure 
     at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
     at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
     at Docker.Core.PowerShell.&lt;&gt;c__DisplayClass13_0.&lt;InvokeAsync&gt;b__0(IAsyncResult asyncResult)
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Docker.Core.PowerShell.&lt;InvokeAsync&gt;d__13.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Docker.Core.PowerShell.&lt;RunAsync&gt;d__6.MoveNext()
  </code></pre>
  
  <p>Even though all these errors are generated. I can't seem to find a single one of them in the Windows Event Viewer.</p>