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 Backup, Checkpoint, and Storage Failures
2
+
title: Troubleshoot Hyper-V Virtual Machine Backup, Checkpoint, and Storage Failures
3
3
description: Provides a comprehensive guide to troubleshooting common issues encountered with Hyper-V virtual machine (VM) backup, checkpoint management, and storage failures in Windows Server environments.
4
4
ms.date: 08/19/2025
5
5
manager: dcscontentpm
@@ -10,181 +10,221 @@ ms.custom:
10
10
- sap:virtualization and hyper-v\backup and restore of virtual machines
11
11
- pcy:WinComm Storage High Avail
12
12
---
13
-
# Troubleshooting Hyper-V Virtual Machine Backup, Checkpoint, and Storage Failures
13
+
# Troubleshoot Hyper-V virtual machine backup, checkpoint, and storage failures
14
14
15
-
This article provides a comprehensive guide to troubleshooting common issues encountered with Hyper-V virtual machine (VM) backup, checkpoint management, and storage failures in Windows Server environments (2016, 2019, and 2022). These issues often arise during backup/restore operations, checkpoint creation or merging, VM startup, and storage connectivity. They can impact both production and disaster recovery workflows in standalone Hyper-V hosts, clustered setups, and environments integrated with third-party backup tools. Timely identification and resolution are critical to maintaining VM availability, data integrity, and backup reliability.
16
-
17
-
## Symptoms
15
+
This article provides a comprehensive guide to troubleshooting common issues encountered with Hyper-V virtual machine (VM) backup, checkpoint management, and storage failures in Windows Server environments (Windows Server 2016, Windows Server 2019, and Windows Server 2022). These issues often arise during backup or restore operations, checkpoint creation or merging, VM startup, and storage connectivity. They can impact both production and disaster recovery workflows in standalone Hyper-V hosts, clustered setups, and environments integrated with third-party backup tools. Timely identification and resolution are critical to maintaining VM availability, data integrity, and backup reliability.
18
16
19
17
You might encounter the following symptoms in affected environments:
20
18
21
-
###Backup and restore failures
19
+
## Backup and restore failures
22
20
23
21
- Backups fail to complete or hang indefinitely.
24
22
- Restore operations from checkpoints or images fail.
25
23
- Error messages from backup software (such as Veeam, Druva, Rubrik, or Veritas) including:
26
24
27
-
-*"Failed to create VM recovery checkpoint … error code: 32768"*
28
-
-*"Could not create backup checkpoint for virtual machine - Error -0x800423F2"*
29
-
-*"There was a problem recovering your PC"*
30
-
-*"Import failed. … The process cannot access the file because it is being used by another process. (0x80070020)"*
25
+
-> Failed to create VM recovery checkpoint … error code: 32768
26
+
-> Could not create backup checkpoint for virtual machine - Error -0x800423F2
27
+
-> There was a problem recovering your PC
28
+
-> Import failed. … The process cannot access the file because it is being used by another process. (0x80070020)
31
29
32
30
- Event log entries such as Event ID 8229 (host) and 12293 (guest) indicating Volume Shadow Copy Service (VSS) writer errors.
33
31
34
-
###Checkpoint and snapshot issues
32
+
## Checkpoint and snapshot issues
35
33
36
34
- Unable to create new checkpoints or merge existing ones.
37
35
- Accumulation of AVHDX files on disk, even when not visible in Hyper-V Manager.
38
-
- Errors such as: *"The process cannot access the file because it is being used by another process. (0x80070020)"*.
36
+
- Errors such as: "The process cannot access the file because it is being used by another process. (0x80070020)".
39
37
- Orphaned or hidden checkpoints blocking backup or VM operations.
40
-
- VMs stuck in *Saved*, *Paused*, or *Critical* states.
38
+
- VMs stuck in saved, paused, or critical states.
41
39
42
-
###VM startup or migration failures
40
+
## VM startup or migration failures
43
41
44
42
- VMs fail to start after host reboots, patching, or disk migration.
45
43
- Errors such as:
46
-
-*"The system cannot find the file specified. (0x2)"*
47
-
-*"An error occurred while attempting to start the selected VM. Unavailable could not initialize and update VM configuration failed."*
44
+
45
+
-> The system cannot find the file specified. (0x2)
46
+
-> An error occurred while attempting to start the selected VM. Unavailable could not initialize and update VM configuration failed.
47
+
48
48
- VMs not visible in Hyper-V Manager or Failover Cluster Manager.
49
49
- VM migration, export, or import fails due to missing or corrupted files.
50
50
51
-
###Storage and file system errors
51
+
## Storage and file system errors
52
52
53
53
- Event logs showing IDs 9, 39, 129, 3280, 55, 51, or 513 related to storage, disk, or file system corruption.
54
54
- Storage volume running out of space due to large AVHDX files.
55
55
- VHD/VHDX files missing, inaccessible, or corrupted.
56
56
- Errors such as:
57
-
-*"Cannot connect to virtual machine configuration storage"*
58
-
-*"The virtual machine is not in a valid state to perform the operation."*
59
57
60
-
### User experience
58
+
-> Cannot connect to virtual machine configuration storage
59
+
-> The virtual machine is not in a valid state to perform the operation.
60
+
61
+
## User experience
61
62
62
63
- Inability to perform backups or restores, leading to potential data loss.
63
64
- Unexpected VM downtime or loss of access.
64
65
- Orphaned disk files causing storage exhaustion.
65
66
- Persistent warning or error states in management consoles.
66
67
67
-
## Cause
68
-
69
-
The root causes of these issues can be grouped into the following categories:
70
-
71
-
### Checkpoint and VSS-related issues
72
-
73
-
-**Orphaned or unmerged checkpoints**: Caused by incomplete backup operations, hidden/invisible checkpoints, or AVHDX chain corruption.
74
-
-**VSS writer failures or timeouts**: VSS writers in failed or timed-out states, often due to overlapping backup jobs or VSS operations.
75
-
-**Third-party backup integration**: Misconfigurations or incompatibilities between Hyper-V and backup tools such as Veeam, Druva, or Veritas.
76
-
77
-
### File system and storage problems
78
-
79
-
-**Disk or volume corruption**: Metadata errors on NTFS/ReFS volumes triggered by failed merges or storage I/O issues.
80
-
-**Missing or corrupted VM files**: Loss or corruption of VHD, AVHDX, or configuration files due to failed merges or hardware issues.
81
-
-**Storage connectivity problems**: Issues with iSCSI, Cluster Shared Volumes (CSV), or Storage Spaces Direct (S2D) leading to unavailability or driver/firmware failures.
68
+
The root causes of these issues can be grouped into the following categories, with corresponding resolutions provided.
82
69
83
-
### Permissions and policy misconfiguration
70
+
##Checkpoint and VSS-related issues
84
71
85
-
-**Insufficient permissions**: Missing "Log on as a Service" rights for NT Virtual Machine accounts or incorrect NTFS permissions.
86
-
-**Antivirus interference**: AV filter drivers blocking access to disk files or interfering with checkpoint/backup operations.
87
-
-**Group Policy misconfigurations**: Changes removing required permissions or service rights.
72
+
-Orphaned or unmerged checkpoints: Caused by incomplete backup operations, hidden/invisible checkpoints, or AVHDX chain corruption.
73
+
-VSS writer failures or timeouts: VSS writers in failed or timed-out states, often due to overlapping backup jobs or VSS operations.
74
+
-Third-party backup integration: Misconfigurations or incompatibilities between Hyper-V and backup tools such as Veeam, Druva, or Veritas.
88
75
89
-
### Cluster and configuration issues
76
+
### Resolution: Checkpoint and AVHDX file management
90
77
91
-
-**Cluster role or metadata corruption**: Caused by improper failovers, role removal, or unsynchronized cluster states.
92
-
-**Configuration version mismatch**: VM config versions below the required minimum after migrations or upgrades.
93
-
-**Incorrect VM or storage path settings**: Misconfigured paths or mismatched network adapters after a migration.
78
+
1. Identify orphaned checkpoints:
94
79
95
-
### Operational and environmental causes
80
+
1. Run the following PowerShell cmdlet:
96
81
97
-
-**Improper maintenance**: Rebooting cluster nodes without draining roles or placing them in maintenance mode.
98
-
-**Simultaneous backup conflicts**: Overlapping backup jobs causing VSS contention or file corruption.
99
-
-**Hardware or driver issues**: Outdated network/storage drivers or hardware instability.
82
+
```powershell
83
+
Get-VMSnapshot -VMName
84
+
```
100
85
101
-
## Resolution
86
+
2. Inspect the VM disk folder for AVHDX files not listed in Hyper-V Manager.
102
87
103
-
Follow these steps to resolve issues based on their root causes:
88
+
2. Merge orphaned AVHDX files:
104
89
105
-
### Checkpoint and AVHDX file management
90
+
1. Shut down the affected VM.
91
+
2. In Hyper-V Manager:
106
92
107
-
1.**Identify orphaned checkpoints**: - Run the following PowerShell command:powershellGet-VMSnapshot -VMName
108
-
- Inspect the VM disk folder for AVHDX files not listed in Hyper-V Manager.
109
-
2.**Merge orphaned AVHDX files**: - Shut down the affected VM.
110
-
- In Hyper-V Manager: - Go to **Actions > Edit Disk > Select AVHDX > Merge > To Parent Disk**.
111
-
- Repeat the process until only the parent VHDX file remains.
4. **Reattach and start the VM**: - Verify the VM points to the correct (merged) VHDX file.
119
-
- Start the VM and confirm functionality.
102
+
4. Reattach and start the VM:
103
+
104
+
1. Verify the VM points to the correct (merged) VHDX file.
105
+
2. Start the VM and confirm functionality.
120
106
121
-
### Backup/restore and VSS writer troubleshooting
107
+
### Resolution: Backup/restore and VSS writer troubleshooting
122
108
123
-
1. **Restart VSS services**:
109
+
1. Restart VSS services:
124
110
125
-
```plaintext
111
+
```console
126
112
net stop vss
127
113
net start vss
128
114
net stop swprv
129
115
net start swprv
130
116
```
131
117
132
-
2. **Check VSS writers**: - Run: vssadmin list writers and resolve failed writers by restarting related services or rebooting the host.
133
-
3. **Clear stuck checkpoints**: - Use vendor-specific tools, such as nbhypervtool.exe deleteNbuCheckpoints -vmguid <vmguid> for Veritas.
134
-
4. **Stagger backup schedules** to avoid overlapping VSS operations.
118
+
2. Check VSS writers:
119
+
120
+
Run the `vssadmin list writers` command and resolve failed writers by restarting related services or rebooting the host.
121
+
122
+
3. Clear stuck checkpoints:
123
+
124
+
Use vendor-specific tools, such as `nbhypervtool.exe deleteNbuCheckpoints -vmguid <vmguid>` for Veritas.
135
125
136
-
### File system and storage repair
126
+
4. Stagger backup schedules to avoid overlapping VSS operations.
137
127
138
-
1. **Run disk and file system repairs**:
128
+
## File system and storage problems
139
129
140
-
```plaintext
130
+
- Disk or volume corruption: Metadata errors on NTFS/ReFS volumes triggered by failed merges or storage I/O issues.
131
+
- Missing or corrupted VM files: Loss or corruption of VHD, AVHDX, or configuration files due to failed merges or hardware issues.
132
+
- Storage connectivity problems: Issues with iSCSI, Cluster Shared Volumes (CSV), or Storage Spaces Direct (S2D) leading to unavailability or driver/firmware failures.
133
+
134
+
### Resolution: File system and storage repair
135
+
136
+
1. Run disk and file system repairs:
137
+
138
+
```console
141
139
chkdsk <drive:> /f
142
-
140
+
```
141
+
143
142
Or for ReFS volumes:
143
+
144
144
```powershell
145
145
Repair-Volume <drive:>
146
146
```
147
147
148
-
2. **Restore missing files**: - Recover from the latest backup if files are irrecoverable.
149
-
3. **Validate storage health**: - Check iSCSI, CSV, or S2D connectivity and ensure sufficient space.
148
+
2. Restore missing files:
149
+
150
+
Recover from the latest backup if files are irrecoverable.
151
+
3. Validate storage health:
152
+
153
+
- Check iSCSI, CSV, or S2D connectivity and ensure sufficient space.
150
154
- Update storage drivers and firmware.
151
155
152
-
### Permission and policy corrections
156
+
## Permissions and policy misconfiguration
157
+
158
+
- Insufficient permissions: Missing **Log on as a Service** rights for NT Virtual Machine accounts or incorrect NTFS permissions.
159
+
- Antivirus interference: AV filter drivers blocking access to disk files or interfering with checkpoint/backup operations.
160
+
- Group Policy misconfigurations: Changes removing required permissions or service rights.
161
+
162
+
### Resolution: Permission and policy corrections
163
+
164
+
1. Assign required rights:
165
+
166
+
Ensure **NT Virtual Machine\\Virtual Machines** has **Log on as a Service** rights via Group Policy or Local Security Policy.
167
+
2. Update NTFS permissions:
168
+
169
+
Use `icacls` to verify and grant **Full Control** to VM service accounts.
170
+
3. Configure antivirus exclusions by following the [Microsoft antivirus exclusions for Hyper-V](antivirus-exclusions-for-hyper-v-hosts.md).
171
+
172
+
## Cluster and configuration issues
173
+
174
+
- Cluster role or metadata corruption: Caused by improper failovers, role removal, or unsynchronized cluster states.
175
+
- Configuration version mismatch: VM config versions below the required minimum after migrations or upgrades.
176
+
- Incorrect VM or storage path settings: Misconfigured paths or mismatched network adapters after a migration.
177
+
178
+
### Resolution: Cluster and VM configuration fixes
179
+
180
+
1. Resynchronize cluster metadata:
181
+
182
+
- Use Failover Cluster Manager for VM operations.
183
+
- Perform live migrations to force metadata sync and clear warnings.
184
+
2. Restore or import missing VMs:
185
+
186
+
In Hyper-V Manager, use **Import Virtual Machine** and locate the exported/imported files.
187
+
3. Update VM configuration version:
188
+
189
+
In Hyper-V Manager, right-click the VM, and select **Upgrade Configuration Version**. Or use the folowing PowerShell cmdlet:
190
+
191
+
```powershell
192
+
Update-VMVersion
193
+
```
194
+
195
+
4. Correct disk or network settings:
153
196
154
-
1. **Assign required rights**: - Ensure "NT Virtual Machine\Virtual Machines" has "Log on as a Service" rights via Group Policy or Local Security Policy.
155
-
2. **Update NTFS permissions**: - Use icacls to verify and grant Full Control to VM service accounts.
156
-
3. **Configure antivirus exclusions**: - Follow the [Microsoft antivirus exclusions for Hyper-V](https://learn.microsoft.com/troubleshoot/windows-server/virtualization/antivirus-exclusions-for-hyper-v-hosts).
197
+
Edit VM settings to ensure correct disk and network adapter assignments.
157
198
158
-
### Cluster and VM configuration fixes
199
+
##Operational and environmental causes
159
200
160
-
1. **Resynchronize cluster metadata**: - Use Failover Cluster Manager for VM operations.
161
-
- Perform live migrations to force metadata sync and clear warnings.
162
-
2. **Restore or import missing VMs**: - In Hyper-V Manager, use **Import Virtual Machine** and locate the exported/imported files.
163
-
3. **Update VM configuration version**: - In Hyper-V Manager: Right-click the VM > **Upgrade Configuration Version**.Or use PowerShell:```powershellUpdate-VMVersion
164
-
4. **Correct disk or network settings**: - Edit VM settings to ensure correct disk and network adapter assignments.
201
+
- Improper maintenance: Rebooting cluster nodes without draining roles or placing them in maintenance mode.
202
+
- Simultaneous backup conflicts: Overlapping backup jobs causing VSS contention or file corruption.
203
+
- Hardware or driver issues: Outdated network/storage drivers or hardware instability.
165
204
166
-
### Other repairs and checks
205
+
## Other repairs and checks
167
206
168
-
1. **Clean up saved states**: - Delete .vmrs and .vmgs files in the VM folder if stuck in a "Saved" state.
169
-
2. **Check and fix cluster resource states**: - Use PowerShell cmdlets like Get-ClusterResource to inspect and repair cluster roles.
170
-
3. **Reboot the host** to clear stale file locks if needed.
207
+
1. Clean up saved states: Delete `.vmrs` and `.vmgs` files in the VM folder if stuck in a "Saved" state.
208
+
2. Check and fix cluster resource states: Use PowerShell cmdlets like `Get-ClusterResource` to inspect and repair cluster roles.
209
+
3.Restart the host to clear stale file locks if needed.
171
210
172
211
## Data collection
173
212
174
-
To assist with troubleshooting, collect the following:
213
+
To assist with troubleshooting, collect the following items:
175
214
176
-
- **Event logs**: Application, System, and Hyper-V-specific logs.
**Note**: Always back up critical VMs before performing file merges, deletions, or major configuration changes. For further assistance, consult Microsoft Support or your backup vendor.
229
+
> [!NOTE]
230
+
> Always back up critical VMs before performing file merges, deletions, or major configuration changes. For further assistance, consult Microsoft Support or your backup vendor.
0 commit comments