You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Troubleshooting Hyper-V virtual machine start, state, and access failures in clustered and standalone environments
2
+
title: Troubleshoot Hyper-V Virtual Machine Start, State, and Access Failures
3
3
description: Provides a detailed troubleshooting guide to help you resolve issues related to Hyper-V virtual machines (VMs) that fail to start, become stuck in transitional states, or become inaccessible in both clustered and standalone environments.
4
4
ms.date: 08/22/2025
5
5
manager: dcscontentpm
@@ -10,159 +10,189 @@ ms.custom:
10
10
- sap:virtualization and hyper-v\virtual machine state
11
11
- pcy:WinComm Storage High Avail
12
12
---
13
-
# Troubleshooting Hyper-V virtual machine start, state, and access failures in clustered and standalone environments
13
+
# Troubleshoot Hyper-V virtual machine start, state, and access failures in clustered and standalone environments
14
14
15
15
This article provides a detailed troubleshooting guide to help you resolve issues related to Hyper-V virtual machines (VMs) that fail to start, become stuck in transitional states (such as starting, stopping, saved, or paused), or become inaccessible in both clustered and standalone environments. Common causes include VM configuration file corruption, storage or network problems, process lockups, checkpoint or AVHDX (automatic virtual hard disk) issues, and permission or driver errors. Timely identification and resolution of these problems are essential to minimize VM downtime, prevent business disruption, and avoid data loss in production environments.
16
16
17
-
## Symptoms
17
+
You might encounter various symptoms when dealing with Hyper-V VM issues, including the following items:
18
18
19
-
You may encounter various symptoms when dealing with Hyper-V VM issues, including the following:
20
-
21
-
### End-user and technical symptoms
19
+
## End-user and technical symptoms
22
20
23
21
- VMs fail to start or power on in Hyper-V Manager or Failover Cluster Manager.
24
22
- VMs are stuck in states like "starting," "stopping," "saved-critical," "paused," or "restoring."
25
-
- VMs are missing or not visible in Hyper-V Manager or the output of Get-VM.
23
+
- VMs are missing or not visible in Hyper-V Manager or the output of `Get-VM`.
26
24
- VM states are displayed as "running critical," "stopping," or "online pending."
27
25
- VM consoles are inaccessible, and remote desktop connections are unavailable.
28
26
- VMs fail to migrate successfully between cluster nodes.
29
-
- Hyper-V Manager or Failover Cluster Manager cannot change VM states or report their status.
30
-
-VMMS (virtual machine management service) or VMM services are stuck in a "Stopping" state.
27
+
- Hyper-V Manager or Failover Cluster Manager can't change VM states or report their status.
28
+
-Virtual machine management service (VMMS) or VMM services are stuck in a "Stopping" state.
31
29
- Storage volumes, such as Cluster Shared Volumes (CSVs), appear as RAW or offline, and VHDX files are inaccessible or locked.
32
30
33
-
### Error messages, event logs, and codes
31
+
## Error messages, event logs, and codes
32
+
33
+
- Error messages:
34
+
35
+
-> A virtual machine or container with the specified identifier already exists in Hyper-V.
36
+
-> Failed to start worker process: Catastrophic failure 0x8000FFFF.
37
+
-> Virtual machine failed to generate VHD tree: The system cannot find the file specified (0x80070002).
38
+
-> The process cannot access the file because it is being used by another process.
39
+
-> Failed to perform the Cleaning up stale reference point(s) operation. The virtual machine is currently performing: Turning Off.
40
+
-> The file or directory is corrupted and unreadable. (0x80070570)
34
41
35
-
- “A virtual machine or container with the specified identifier already exists in Hyper-V.”
36
-
- “Failed to start worker process: Catastrophic failure 0x8000FFFF.”
37
-
- “Virtual machine failed to generate VHD tree: The system cannot find the file specified (0x80070002).”
38
-
- “The process cannot access the file because it is being used by another process.”
39
-
- “Failed to perform the Cleaning up stale reference point(s) operation. The virtual machine is currently performing: Turning Off.”
40
-
- “The file or directory is corrupted and unreadable. (0x80070570)”
- Cluster resources stuck in "online pending" or "failed" states.
43
44
- VMs are unavailable after patching, host restarts, or storage and network events.
44
45
45
-
## Cause
46
+
Hyper-V VM failures might originate from several root causes categorized as follows, and corresponding resolutions are provided respectively:
46
47
47
-
Hyper-V VM failures may originate from several root causes categorized as follows:
48
+
-[Cause 1: Configuration and metadata corruption](#cause-1-configuration-and-metadata-corruption)
49
+
-[Cause 2: Storage and file system issues](#cause-2-storage-and-file-system-issues)
50
+
-[Cause 3: Process and service lockups](#cause-3-process-and-service-lockups)
51
+
-[Cause 4: Permissions, security, and driver problems](#cause-4-permissions-security-and-driver-problems)
52
+
-[Cause 5: Cluster, network, and failover issues](#cause-5-cluster-network-and-failover-issues)
48
53
49
-
### 1. Configuration and metadata corruption
54
+
> [!NOTE]
55
+
> To resolve these issues, perform the initial checks using the following steps:
56
+
>
57
+
> 1. Identify error messages, event IDs, and affected VMs using Hyper-V Manager, Failover Cluster Manager, or PowerShell.
58
+
> 2. Review system logs, Hyper-V logs, and cluster event logs for relevant entries.
50
59
51
-
- Corrupt or missing VM configuration files (e.g., .VMCX, .XML) prevent the VM from being recognized or started by Hyper-V, often after failed migrations, storage issues, or abrupt shutdowns.
60
+
## Cause 1: Configuration and metadata corruption
61
+
62
+
- Corrupt or missing VM configuration files (for example, `.VMCX`, `.XML`) prevent the VM from being recognized or started by Hyper-V, often after failed migrations, storage issues, or abrupt shutdowns.
52
63
- Checkpoint (AVHDX) chain corruption or missing differencing disks prevent the VM from starting.
53
64
- Orphaned checkpoints, incomplete merges, or invalid entries in configuration files block VM operations.
54
65
- Duplicate VM GUIDs or object entries, particularly with System Center Virtual Machine Manager (SCVMM), can cause "already exists" errors and prevent VM imports or starts.
55
66
56
-
### 2. Storage and file system issues
67
+
##Cause 2: Storage and file system issues
57
68
58
69
- CSVs or volumes are offline, RAW, or inaccessible due to storage subsystem failures, disk corruption, or drive letter conflicts.
59
70
- VHD or VHDX files are locked or in use by another process, such as a backup or antivirus program.
60
71
- Missing or corrupted VM runtime state files (VMRS) impede VM operations.
61
72
- BitLocker-locked disks prevent VMs from starting after patching or reboots.
62
73
63
-
### 3. Process and service lockups
64
-
65
-
- Stale VMWP (VM Worker Process) or VMMS (VM Management Service) processes are stuck due to storage or network issues or deadlocks.
66
-
- Failed attempts to terminate VM processes via Task Manager, taskkill, or Process Explorer persist due to kernel or resource locks.
67
-
68
-
### 4. Permissions, security, and driver problems
69
-
70
-
- Permissions issues restrict the Hyper-V service account from accessing VM files or folders.
71
-
- Antivirus or third-party filter drivers interfere with Hyper-V, blocking file access or causing merge failures.
72
-
- Outdated or misconfigured storage or network drivers lead to connectivity loss or failover events.
73
-
74
-
### 5. Cluster, network, and failover issues
75
-
76
-
- CSV or network communication failures, such as cluster node isolation, result in mass VM failovers or reboots.
77
-
- Improper cluster configurations or inconsistent patching across nodes cause instability.
78
-
- Live migration or failover failures occur due to insufficient memory, incompatible settings, or node misconfigurations.
79
-
80
-
## Resolution
81
-
82
-
To resolve these issues, follow the troubleshooting steps below:
83
-
84
-
### A. Initial checks
85
-
86
-
1. Identify error messages, event IDs, and affected VMs using Hyper-V Manager, Failover Cluster Manager, or PowerShell.
87
-
2. Review system logs, Hyper-V logs, and cluster event logs for relevant entries.
88
-
89
-
### B. File system and storage checks
74
+
### Resolution: File system and storage checks
90
75
91
76
1. Verify storage volumes:
92
77
93
-
- Use Disk Management or diskpart to ensure volumes are online and properly assigned.
94
-
- If volumes are RAW or missing, reassign drive letters and repair disk corruption using chkdsk:
78
+
- Use Disk Management or `diskpart` to ensure volumes are online and properly assigned.
79
+
- If volumes are RAW or missing, reassign drive letters and repair disk corruption using `chkdsk`:
80
+
81
+
```console
82
+
chkdsk <drive_letter>: /f /r</drive_letter>
83
+
```
95
84
96
-
chkdsk <drive_letter>: /f /r</drive_letter>
97
85
2. Check VM configuration and disk file presence:
98
86
99
-
- Confirm the existence of .VMCX, .VMRS, .VHDX, and .AVHDX files in the VM folder.
87
+
- Confirm the existence of `.VMCX`, `.VMRS`, `.VHDX`, and `.AVHDX` files in the VM folder.
100
88
- For missing or corrupt configuration files, rebuild the VM using existing VHDX files or restore from a backup.
3. Ensure consistent patching and proper network/storage configurations across nodes.
139
163
140
-
### F. VM configuration repairs and rebuilds
164
+
### Resolution: VM configuration repairs and rebuilds
141
165
142
-
1. For corrupt configuration files, edit the .VMCX file or create a new VM with existing disks.
166
+
1. For corrupt configuration files, edit the `.VMCX` file or create a new VM with existing disks.
143
167
2. Address saved state or checkpoint issues by removing invalid checkpoints or reattaching disks.
144
168
145
-
### G. Escalation and bug reference
169
+
## Escalation and bug reference
146
170
147
-
1.If known bugs or product defects are involved (e.g., UEFI firmware bugs or cluster communication issues), review vendor advisories and apply recommended updates or fixes.
171
+
If known bugs or product defects are involved (for example, UEFI firmware bugs or cluster communication issues), review vendor advisories and apply recommended updates or fixes.
148
172
149
173
## Data collection
150
174
151
175
Gather the following logs and diagnostics to assist with troubleshooting:
0 commit comments