Use this topic as the branch-wide diagnostic workflow when the symptom has not yet been localized to a specific Hyper-V subsystem.
Hyper-V Troubleshooting
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.
1. VM state and VMMS/Worker events.
2. Host resources (memory, storage space).
3. Network: switch, VLAN, guest IP.
4. Integration services.
5. Checkpoint chains and disk files.
host → VM config → devices → guest
Test the next adjacent boundary from the last proven healthy state and preserve correlated timestamps.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
A single healthy Hyper-V status does not exclude downstream guest, storage, network, cluster or application failure.
Next check: Test the next adjacent boundary from the last confirmed healthy state and preserve correlated timestamps.
Operational reference
Fast context before you go deeper.
Get-VMPrimary Commands
Configuration and operational commands for this Topic.
Get-VMVerifyList Hyper-V VMs and state.
Use when: Use after confirming the Hyper-V target and before changing state.
Quick note: Hyper-V / Proxmox VE / KVM-QEMU. A running VM proves only execution state; it does not prove guest health, network reachability, storage durability or recoverability.
Hyper-V PowerShell · mixedGet-VHD -Path <path>ReferenceDisplay VHD/VHDX metadata.
Use when: Use after confirming the PowerShell target and before changing state.
Quick note: Windows / Windows Server / PowerShell. A running Windows service or successful cmdlet does not prove effective policy, replication, authorization or remote consumer success.
Hyper-V PowerShell · mixedGet-VM -Name <vm> | Format-List Name,State,Status,OperationalStatusReferenceOperational command for Inspect Hyper-V VM state and status. Focus fields: VM name, state, status and operational status.
Use when: Use when working the canonical Topic windows--hyper-v-hyper-v-troubleshooting and the matching failure boundary.
Quick note: Known-good: the intended VM has the expected running/off state and operational status reports OK. Suspicious: state/status differs from intent or operational status reports a degraded/error condition. Next discriminating check: inspect Hyper-V VMMS/worker events and VM device/storage/network state for the same VM.
Windows Server / Hyper-V · serviceGet-VMNetworkAdapterVerifyRead-only observation for VM NIC, switch attachment, MAC and connectivity state.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · data planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Symptom → scope → host/hypervisor → VM runtime → virtual device → host backing resource → guest OS → application → return/dependency path
Step 2 Verify Hyper-V host state, VM attachments and the guest workload path Verify boundary
Capture the Hyper-V VM ID, host, VM state, attached VHDX/checkpoint chain and virtual switch/NIC mapping, and expect every referenced resource to be accessible before start. Start or move the VM once, confirm it reaches Running without new Hyper-V errors, then verify guest heartbeat/integration state and the original guest network/application request. For storage-related fixes, perform a guest read/write and host-side storage read-back as appropriate. Running is only a hypervisor state, but it does not show the guest OS, network route or application is healthy.
Step 3 Branch Hyper-V failure at VM state transition, storage chain, switch and guest boundary Narrow the fault
If a Hyper-V VM will not start, inspect the exact VM state-transition error and host Hyper-V event log first; if the error names storage, verify VHDX/AVHDX paths, permissions, free space and chain consistency before touching networking. If the VM starts but has no connectivity, verify virtual NIC attachment and virtual switch/VLAN on the host, then test the guest IP stack. If the VM is Running but the service is dead, move into guest OS/application troubleshooting. If only one host reproduces the failure, compare host patch, virtual switch, storage path and CPU capability against a known-good Hyper-V host.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
Get-VM— VMs and stateGet-VMHost— host settingsGet-VMSwitch— virtual switchesGet-VMNetworkAdapter -VMName <vm>— vNICs, switch, VLANGet-VMHardDiskDrive -VMName <vm>— attached disksGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— VMMS events
ReferenceWhy it matters1 section · depth on demand
Hyper-V VM health spans VM configuration, compute, VHDX, virtual switch and guest state
Hyper-V Troubleshooting requires separating the host management plane from the virtual machine workload. VMMS can enumerate a VM while its configuration, checkpoints, VHDX chain, virtual switch, storage path or compute resources prevent start. A VM can be Running while the guest OS is hung or disconnected, and guest network failure can be caused by the virtual NIC/switch, host NIC/VLAN or guest stack. Checkpoint and differencing-disk lineage is stateful and should not be edited casually. Record VM ID, host, configuration generation, VHDX paths and switch attachment before changing anything.
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
Any single green status is partial evidence. End-to-end success requires the relevant host, VM, device, guest and workload boundaries to agree.
Escalate generic network/storage/cluster/security root causes to their authoritative Domains once the first failing step is confirmed.
In depth
VM and host state in one view
PS C:\> Get-VM | Select Name, State, Status, CPUUsage, @{n='MemGB';e={[math]::Round($_.MemoryAssigned/1GB,1)}}, Uptime, ReplicationHealth, Version
Name State Status CPUUsage MemGB Uptime ReplicationHealth Version
---- ----- ------ -------- ----- ------ ----------------- -------
web01 Running Operating normally 4 4.0 3.04:11 Normal 11.0
sql01 Off Operating normally 0 0.0 00:00:00 NotApplicable 11.0
PS C:\> Get-VMIntegrationService -VMName web01 | Select Name, Enabled, PrimaryStatusDescription
PS C:\> Get-VMHost | Select LogicalProcessorCount, MemoryCapacity, VirtualMachineMigrationEnabled
VM will not start — errors and causes
| Error | Cause |
|---|---|
| "Not enough memory in the system to start the virtual machine" | Startup RAM larger than host free memory; dynamic memory minimum |
| "The virtual machine could not be started because the hypervisor is not running" | hypervisorlaunchtype off (bcdedit /set hypervisorlaunchtype auto) or virtualisation disabled in firmware |
| "Account does not have permission to open attachment" (0x80070005) | VHDX ACL lacks the VM's virtual account — icacls file.vhdx /grant "NT VIRTUAL MACHINE\<VMId>:(F)" |
| "Cannot open attachment" / file not found | VHDX moved or AVHDX chain broken |
| Saved state cannot be restored | Host CPU differs — delete saved state or enable processor compatibility |
Event logs
| Log | Content |
|---|---|
Microsoft-Windows-Hyper-V-VMMS-Admin | Management service: start, configuration, checkpoints |
Microsoft-Windows-Hyper-V-Worker-Admin | Per-VM worker process errors |
Microsoft-Windows-Hyper-V-Compute-Admin | Host compute service |
Microsoft-Windows-Hyper-V-VmSwitch-Operational | Virtual switch |
Checkpoint chains
Get-VMSnapshot -VMName web01
Get-VMHardDiskDrive -VMName web01 | Select Path # .avhdx means a checkpoint is active
Lingering .avhdx files (often from failed backups) grow until the volume fills. Remove checkpoints through Hyper-V (Remove-VMSnapshot) so it merges them; never delete .avhdx files manually.
Live migration failures
Check processor compatibility (Set-VMProcessor -CompatibilityForMigrationEnabled $true while off), identical virtual switch names on both hosts, authentication (Kerberos constrained delegation or CredSSP) and the migration networks (Get-VMMigrationNetwork).
*The example VM inventory illustrates Hyper-V state and resource fields rather than telemetry from a running host.*
Method
Hyper-V troubleshooting covers VMs that will not start, poor performance, networking and migration problems.
Get-VM | Select-Object Name, State, Status, CPUUsage, MemoryAssigned
Get-VMIntegrationService -VMName app01
Get-VMNetworkAdapter -VMName app01 | Select-Object SwitchName, MacAddress, IPAddresses, Status
Get-VMSwitch
Get-WinEvent -LogName 'Microsoft-Windows-Hyper-V-VMMS-Admin' -MaxEvents 20
Get-WinEvent -LogName 'Microsoft-Windows-Hyper-V-Worker-Admin' -MaxEvents 20
| Symptom | Likely cause |
|---|---|
| VM fails to start | Insufficient memory, missing VHDX/checkpoint chain, permissions on files |
| No network | Wrong vSwitch, VLAN ID, external switch adapter issue |
| Slow VM | Host CPU/memory contention, dynamic memory pressure, storage latency |
| Live migration fails | Authentication (Kerberos delegation), processor compatibility, switch names |
| Integration services issues | Outdated guest components |
Compare host performance counters (Hyper-V Hypervisor Logical Processor) with guest metrics to see whether the host is the bottleneck.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Hyper-V Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → Hyper-V Troubleshooting reference map
Fast lookup boundaries for Hyper-V → Hyper-V Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Host scope | One host or all VMs affected | Does not identify exact subsystem |
| VM scope | One VM/config/runtime differs | Does not prove guest cause |
| Device path | Storage/network backing path verified | Does not prove guest/app |
| Workload | Guest/application outcome validated | Completes end-to-end diagnosis |