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
Copy file name to clipboardExpand all lines: support/windows-server/virtualization/hyper-v-virtual-machine-live-migration.md
+56-56Lines changed: 56 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Hyper-V Virtual Machine Live Migration Troubleshooting Guide
3
3
description: Provides a comprehensive troubleshooting process, detailed solutions for common migration issues, structured data collection procedures, and quick reference resources.
4
-
ms.date: 09/02/2025
4
+
ms.date: 09/04/2025
5
5
manager: dcscontentpm
6
6
audience: itpro
7
7
ms.topic: troubleshooting
@@ -16,13 +16,13 @@ Live migration in Hyper-V allows virtual machines (VMs) to be moved between host
16
16
17
17
## Troubleshooting checklist
18
18
19
-
Use this checklist as a step-wise process before and during troubleshooting:
19
+
Use this checklist as a stepwise process before and during troubleshooting:
20
20
21
21
1. Baseline health checks
22
22
23
23
- Confirm VM integration services are up-to-date.
24
24
- Ensure all hosts are fully patched and running supported Windows Server versions.
25
-
- Confirm the VM is in a supported state for migration (for example, not in backing up or stopping).
25
+
- Confirm the VM is in a supported state for migration (for example, not in "Backing up" or "Stopping").
26
26
27
27
1. Cluster and host configuration
28
28
@@ -33,23 +33,23 @@ Use this checklist as a step-wise process before and during troubleshooting:
33
33
1. Network and storage
34
34
35
35
- Confirm live migration, management, and storage networks are correctly configured and reachable.
36
-
- Ensure VM storage is accessible on the destination host.
36
+
- Ensure the VM storage is accessible on the destination host.
37
37
- Check firewall rules and port accessibility (for example, UDP 3343 for WSFC).
38
38
39
39
1. Authentication or permissions
40
40
41
41
- Verify Kerberos or CredSSP is enabled and delegated properly for live migrations.
42
-
-Check required Service Principal Names (SPNs) are registered.
43
-
- Confirm permission levels for migration accounts.
42
+
-Ensure the required Service Principal Names (SPNs) are registered.
43
+
- Confirm permission levels of migration accounts.
44
44
45
45
1. Virtual switches or networks
46
46
47
-
- Ensure required VM switches exist and are identically configured across hosts.
47
+
- Ensure the required VM switches exist and are identically configured across hosts.
48
48
- Validate network teaming (SET or LBFO) consistency.
49
49
50
50
1. VM-specific features
51
51
52
-
- If using vTPM/Shielded VM, confirm certificate requirements between hosts.
52
+
- If using vTPM/Shielded VMs, confirm certificate requirements between hosts.
53
53
- Check for snapshots/checkpoints—merge or delete as appropriate.
54
54
55
55
Here are common issues and their respective resolutions:
@@ -63,8 +63,8 @@ Here are common issues and their respective resolutions:
63
63
64
64
### Resolution
65
65
66
-
- In Hyper-V Manager, set VM's processor settings: Enable **Migrate to a physical computer with a different processor version**.
67
-
- Ensure target host supports VM's CPU features.
66
+
- In Hyper-V Manager, set the VM's processor settings. Enable **Migrate to a physical computer with a different processor version**.
67
+
- Ensure the target host supports the VM's CPU features.
68
68
69
69
> [!TIP]
70
70
> Always start VMs for the first time on the oldest (least capable) CPU host.
@@ -75,61 +75,61 @@ Here are common issues and their respective resolutions:
75
75
- Error message:
76
76
77
77
> Live migration or quick migration fails with compatibility issues.
78
-
- Event IDs 10698, 21502
78
+
- Event IDs 10698 and 21502
79
79
80
80
### Resolution
81
81
82
-
- Upgrade VM configuration version when moving to a newer host (Hyper-V Manager: Action > Upgrade VM Configuration Version).
82
+
- Upgrade the VM configuration version when moving to a newer host (Hyper-V Manager: Action > Upgrade VM Configuration Version).
83
83
84
84
> [!NOTE]
85
-
> Can't roll back; VMs with upgraded version can't be migrated back to older hosts.
85
+
> This action can't be rolled back. VMs with the upgraded version can't be migrated back to older hosts.
86
86
87
-
- Verify configuration versions with the `Get-VM * | select Name, Version` cmdlet.
87
+
- Verify the configuration version with the `Get-VM * | select Name, Version` cmdlet.
88
88
89
89
## Network connectivity or configuration issues
90
90
91
-
- Live migration fails before/during transfer.
91
+
- Live migration fails before/during the transfer.
92
92
- Migration fails with: "The client cannot connect to the destination specified in the request" or "WinRM protocol errors."
93
-
- Event IDs: 20406, 280
93
+
- Event IDs: 20406 and 280
94
94
95
95
### Resolution
96
96
97
97
- Ensure hosts can resolve and reach each other via hostname/IP (test with `ping`).
98
-
- Use winrm quickconfig to verify/configure WinRM on both hosts.
99
-
- Update TrustedHosts as needed: `Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<Host1>,<Host2>"`
- Configure constrained delegation in AD: **Computer Properties** > **Delegation** tab > **Trust this computer for delegation to specified services only** > **Add cifs and Microsoft Virtual System Migration Service**.
112
-
- Register missing SPNs: `setspn -s Microsoft Virtual System Migration Service/<FQDN> <ComputerName>`
113
-
- Purge old Kerberos tickets: `KLIST PURGE -li 0x3e7`
111
+
- Configure constrained delegation in Active Directory (AD): **Computer Properties** > **Delegation** tab > **Trust this computer for delegation to specified services only** > **Add cifs and Microsoft Virtual System Migration Service**.
112
+
- Register missing SPNs: `setspn -s Microsoft Virtual System Migration Service/<FQDN> <ComputerName>`.
113
+
- Purge old Kerberos tickets: `KLIST PURGE -li 0x3e7`.
114
114
115
115
## Storage or shared disk issues
116
116
117
-
- Migration fails for VMs with shared VHDX/shared disks
117
+
- Migration fails for VMs with shared VHDX/shared disks.
118
118
- Error: Shared disk missing in migration options.
119
119
120
120
### Resolution
121
121
122
122
- Shared virtual disks can only be used in clustered VM roles and can't be migrated using standard methods.
123
-
- Manually move and reattach shared disks at destination where required.
123
+
- Manually move and reattach shared disks at the destination where required.
124
124
125
125
## VTPM or shielded VM certificate issues
126
126
127
127
- Error: "The key protector for the virtual machine could not be unwrapped."
128
-
- Migration only fails for vTPM-protected VMs.
128
+
- Migration fails only for vTPM-protected VMs.
129
129
130
130
### Resolution
131
131
132
-
- Export shielding or key protector certificates from source host and import on destination.
132
+
- Export shielding or key protector certificates from the source host and import them on the destination.
133
133
- Windows certificates snap-in (**certmgr.msc**) can be used.
134
134
- PowerShell cmdlets: `Export-PfxCertificate` and `Import-PfxCertificate`.
135
135
@@ -138,20 +138,20 @@ Here are common issues and their respective resolutions:
138
138
- Error message:
139
139
140
140
> Cannot restore this virtual machine because the saved state data cannot be read. Delete the saved state data and then try to start the virtual machine. (0xC0370027)
141
-
- VMs stuck in "Backing up" state
141
+
- VMs are stuck in the "Backing up" state.
142
142
143
143
### Resolution
144
144
145
145
- In Hyper-V Manager: Select **VM** > **Delete Saved State**.
146
-
- Manually delete `.bin` and `.vsv` files from VM folder if necessary.
146
+
- Manually delete `.bin` and `.vsv` files from the VM folder if necessary.
147
147
- Remove or merge corrupted checkpoints.
148
148
149
149
## Cluster or migration limit issues
150
150
151
151
- Error message:
152
152
153
153
> Virtual machine migration limit 1 was reached, please wait for completion of an ongoing migration operation.
154
-
- VMs enter Saved state during node drain or reboot.
154
+
- VMs enter the "Saved" state during a node drain or reboot.
155
155
156
156
### Resolution
157
157
@@ -162,48 +162,48 @@ Here are common issues and their respective resolutions:
162
162
Set-VMHost -MaximumVirtualMachineMigrations N
163
163
```
164
164
165
-
- Always drain roles before reboot with:`Suspend-ClusterNode -Name <NodeName> -Drain`
165
+
- Always drain roles before rebooting with `Suspend-ClusterNode -Name <NodeName> -Drain`.
166
166
167
167
## Code defects or bugs
168
168
169
-
VMs stuck in "Stopping" state after migration; orphaned vport reported in live dump analysis.
169
+
VMs are stuck in the "Stopping" state after migration; orphaned vports are reported in live dump analysis.
170
170
171
171
### Resolution
172
172
173
-
- Update to latest Windows Server Cumulative Update.
174
-
- If upgrade not possible, request Microsoft support for hotfix if bug is referenced.
173
+
- Update to the latest Windows Server Cumulative Update.
174
+
- If an upgrade isn't possible, request Microsoft support for a hotfix if the bug is referenced.
- PowerShell to gather live migration traces: `TSS.ps1 -CollectLog SHA_support-all -noBasicLog -noUpdate -NewSession`.
188
+
- Snapshot or checkpoint chain: `Get-VHDChain -Path <PathToVHD>`.
189
189
190
-
## Common issues quick reference table
190
+
## Common issue quick reference table
191
191
192
-
| Symptom or error |Likely root cause | Resolution summary |
192
+
| Symptom or error |Possible root cause | Resolution summary |
193
193
| --- | --- | --- |
194
-
| "The VM uses processor-specific features not supported..." | CPU feature/BIOS/firmware mismatch | Enable migration compatibility; check host CPU features and BIOS |
195
-
| VM migration fails with version error |Config version mismatch | Upgrade VM config version on new host, can't migrate back to old host |
196
-
| "General access denied error (0x80070005)," 0x8009030E/0x8009030D | SPN/delegation/Kerberos misconfig| Configure constrained delegation, register SPNs, set Kerberos, check AD |
197
-
| "The server does not support WS-Management Identify operations..." | WinRM/proxy/trustedhosts misconfig| Set WinRM/trusted hosts, update hosts files, bypass proxy |
198
-
| "Cannot restore this virtual machine because the saved state data..." | Corrupt checkpoint/saved state files | Delete Saved State, remove/merge checkpoints, manually delete .bin/.vsv |
199
-
| vTPM-enabled VM fails: "The key protector... could not be unwrapped." | Certificate/Shielded VM config| Export/import key protector certificates |
200
-
| Migration fails—shared disk not available in migration wizard | Unsupported scenario |Manual re-attach disks, follow shared disk migration documentation |
201
-
| Live migration limit reached; VMs enter Saved state in draining |Concurrency settings low; improper drain | Raise migration limit, drain roles before reboot|
202
-
| "No matching virtual switch found..." | Network switch config inconsistency | Ensure identical virtual switch config on all hosts |
203
-
| Live migration events show failures post-update | Patch/Firmware/Speculation setting| Ensure all nodes are updated/patched; check speculation control settings |
204
-
| VM backs up forever, can't move/out/in "Backing up" state | Backup software lock | Restart backup service, VMMS service, or power on VM to merge checkpoints |
205
-
206
-
Ensuring successful Hyper-V live migration requires diligent configuration management—including CPU, firmware, network, authentication, storage, and permissions—across all participating hosts. By following the troubleshooting checklist, addressing known root causes as outlined in the solutions section, and using targeted data collection, most migration failures can be swiftly resolved or appropriately escalated. Staying current with patches, standardizing cluster configurations, and understanding log outputs minimize downtime and operational risk for mission-critical virtual machine workloads.
194
+
| "The VM uses processor-specific features not supported..." | CPU feature/BIOS/firmware mismatch | Enable migration compatibility; check the host CPU features and BIOS.|
195
+
| VM migration fails with a version error.|Configuration version mismatch | Upgrade the VM configuration version on the new host; can't migrate back to the old host.|
196
+
| "General access denied error (0x80070005)," 0x8009030E/0x8009030D | SPN/delegation/Kerberos misconfiguration| Configure constrained delegation, register SPNs, set Kerberos, and check AD.|
197
+
| "The server does not support WS-Management Identify operations..." | WinRM/proxy/trustedhosts misconfiguration| Set WinRM/trusted hosts, update hosts files, and bypass the proxy.|
198
+
| "Cannot restore this virtual machine because the saved state data..." | Corrupt checkpoints/saved state files | Delete the "Saved" state, remove/merge checkpoints, and manually delete .bin/.vsv files.|
199
+
| vTPM-enabled VM fails with "The key protector... could not be unwrapped." | Certificate/Shielded VM configuration| Export/import key protector certificates.|
200
+
| Migration fails—the shared disk isn't available in the migration wizard.| Unsupported scenario |Manually reattach disks; follow the shared disk migration documentation.|
201
+
| Live migration limit reached; VMs enter the "Saved" state in draining.|Low concurrency settings; improper drain | Raise the migration limit; drain roles before rebooting.|
202
+
| "No matching virtual switch found..." |Inconsistent Network switch configuration | Ensure the identical virtual switch configuration on all hosts.|
203
+
| Live migration events show failures post-update | Patch/Firmware/Speculation settings| Ensure all nodes are updated/patched; check speculation control settings.|
204
+
| VM backs up forever and can't move in/out of the "Backing up" state.| Backup software lock | Restart the backup service and VMMS service, or power on the VM to merge checkpoints.|
205
+
206
+
Ensuring successful Hyper-V live migrations requires diligent configuration management—including CPU, firmware, network, authentication, storage, and permissions—across all participating hosts. By following the troubleshooting checklist, addressing the known root causes as outlined in the resolution sections, and using targeted data collection, most migration failures can be swiftly resolved or appropriately escalated. Staying current with patches, standardizing cluster configurations, and understanding log outputs minimizes downtime and operational risk for mission-critical VM workloads.
0 commit comments