Posted On September 7, 2020

Hyper-V Virtual Machines Won’t Start on Restore or Live Migration

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Hyper-V Virtual Machines Won’t Start on Restore or Live Migration

Symptom:

Cluster resource of type 'Virtual Machine' in clustered role failed. The error code was '0x37' ('The specified network resource or device is no longer available.').

Solution:

There are several probable causes, and these are outlined below:

  1. Antivirus interfering with VM files.
    • Follow these Recommended antivirus exclusions for Hyper-V hosts: https://learn.microsoft.com/en-us/troubleshoot/windows-server/virtualization/antivirus-exclusions-for-hyper-v-hosts
  2. Network adapter drivers with certain queuing features that cause problems
    • Check the event log for these errors:
    • System Event ID 113: Failed to allocate VMQ for NIC NINTENDO-C66A-4FCC-8395-CONTRA2--LUIGI-2F98-4DC4-A7CD-ZELDA (Friendly Name: test-vm) on switch NINTENDO-398C-49B1-B493-SUPERMARIO3 (Friendly Name: Trunk). Reason - Maximum number of VMQs supported on the Protocol NIC is exceeded. Status = Insufficient system resources exist to complete the API.
    • Either run this PowerShell script OR use the GUI method below
    • Run ncpa.cpl > right-click a NIC card or NIC Team > highlight ‘Microsoft Network Adapter Multiplexor Protocol > click Configure


      Click ‘Yes’ on this prompt


      Select the ‘Advanced’ tab > Locate ‘Virtual Machine Queues’, ‘Virtual Machine Queues – Shared Mumu’, ‘Virtual Machine Queues – VLAND Id Something’ > change its value to Disabled > OK

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: List All Hyper-V Snapshots of All VMs in All Clusters in Domain

# listHyperVSnapshots.ps1 $clusterName='*' function listAllHyperVSnapshots([string[]]$clusterName){ function includeRSAT{ $ErrorActionPreference='stop' [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 #$rsatWindows7x32='https://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x86-RefreshPkg.msu' $rsatWindows7x64='https://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x64-RefreshPkg.msu' $rsatWindows81='https://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu' $rsat1709…

PowerShell: Connect to Azure CLI

# Set PSGallery as trusted to bypass promptsSet-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted -WarningAction SilentlyContinue #…