Pcornel
Virtualization · Hyper-V

Hyper-V Troubleshooting

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

Back to the Topic

Answer

Hyper-V troubleshooting is fastest when you compare the failing VM with a working one on the same host and time window, then check which layer differs: guest, VM settings, virtual switch, storage or host.

Remember

  • Symptom ≠ root cause.
  • Host healthy ≠ VM healthy.
  • VM Running ≠ guest/application healthy.
  • Event presence ≠ causation, and absence ≠ nothing happened unless collection/retention is proven.

First checks

  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin,Microsoft-Windows-Hyper-V-Worker-Admin -MaxEvents 50 — recent errors
  • Get-VM | ? Status -ne 'Operating normally' — VMs with issues
  • Get-ClusterLog -TimeSpan 30 -Destination C:\temp — cluster log

Verify in this order

symptom → events → VM/host/cluster layer → fix

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Hyper-V → Hyper-V Troubleshooting reference map

BoundaryMeaningEvidence limit
ScopeOne VM/host/cluster/allNarrows likely boundary
Control planeHyper-V can enumerate/manageNot data-path proof
Data pathStorage/network/device worksNot application proof
AcceptanceOriginal workload succeedsRequired closure

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

Confirmation

Confirm action

Continue?