Pcornel
Windows · Hyper-V

Hyper-V Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3342

Back to the Topic

Answer

Hyper-V troubleshooting identifies whether a problem sits in the guest, the VM configuration, the virtual switch, storage or the host, by starting from the last layer that is known to work and testing the next one.

Remember

  • Start by scoping one VM versus many VMs; that sharply changes the likely failure boundary.
  • A Running VM is host-side state only.
  • Management connectivity and Hyper-V Manager visibility do not prove VM data paths.
  • Always preserve the source/destination host, VM identity and timestamp when correlating migration, storage and network evidence.

First checks

  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30 — VMMS events

Commands

Get-VM
List Hyper-V VMs and state.
Get-VHD -Path <path>
Display VHD/VHDX metadata.
Get-VM -Name <vm> | Format-List Name,State,Status,OperationalStatus
Operational command for Inspect Hyper-V VM state and status. Focus fields: VM name, state, status and operational statu…
Get-VMNetworkAdapter
Read-only observation for VM NIC, switch attachment, MAC and connectivity state.

Verify in this order

host → VM config → devices → guest

Where it usually breaks

First mismatch in host/cluster identity → management configuration → quorum/resource ownership → network/storage dependencies → VM/service runtime → guest/application verification; preserve identity/native error/pre-state before mutation.

Hyper-V → Hyper-V Troubleshooting reference map

BoundaryMeaningEvidence limit
Host scopeOne host or all VMs affectedDoes not identify exact subsystem
VM scopeOne VM/config/runtime differsDoes not prove guest cause
Device pathStorage/network backing path verifiedDoes not prove guest/app
WorkloadGuest/application outcome validatedCompletes end-to-end diagnosis

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3342

Confirmation

Confirm action

Continue?