Hyper-V Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3714
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 errorsGet-VM | ? Status -ne 'Operating normally'— VMs with issuesGet-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Scope | One VM/host/cluster/all | Narrows likely boundary |
| Control plane | Hyper-V can enumerate/manage | Not data-path proof |
| Data path | Storage/network/device works | Not application proof |
| Acceptance | Original workload succeeds | Required closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3714