Skip to content

Commit bb7c43d

Browse files
authored
Updates from editor
1 parent f9e2617 commit bb7c43d

File tree

1 file changed

+56
-56
lines changed

1 file changed

+56
-56
lines changed

support/windows-server/virtualization/hyper-v-virtual-machine-live-migration.md

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Hyper-V Virtual Machine Live Migration Troubleshooting Guide
33
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
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -16,13 +16,13 @@ Live migration in Hyper-V allows virtual machines (VMs) to be moved between host
1616

1717
## Troubleshooting checklist
1818

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:
2020

2121
1. Baseline health checks
2222

2323
- Confirm VM integration services are up-to-date.
2424
- 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").
2626

2727
1. Cluster and host configuration
2828

@@ -33,23 +33,23 @@ Use this checklist as a step-wise process before and during troubleshooting:
3333
1. Network and storage
3434

3535
- 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.
3737
- Check firewall rules and port accessibility (for example, UDP 3343 for WSFC).
3838

3939
1. Authentication or permissions
4040

4141
- 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.
4444

4545
1. Virtual switches or networks
4646

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.
4848
- Validate network teaming (SET or LBFO) consistency.
4949

5050
1. VM-specific features
5151

52-
- If using vTPM/Shielded VM, confirm certificate requirements between hosts.
52+
- If using vTPM/Shielded VMs, confirm certificate requirements between hosts.
5353
- Check for snapshots/checkpoints—merge or delete as appropriate.
5454

5555
Here are common issues and their respective resolutions:
@@ -63,8 +63,8 @@ Here are common issues and their respective resolutions:
6363

6464
### Resolution
6565

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.
6868

6969
> [!TIP]
7070
> 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:
7575
- Error message:
7676

7777
> Live migration or quick migration fails with compatibility issues.
78-
- Event IDs 10698, 21502
78+
- Event IDs 10698 and 21502
7979

8080
### Resolution
8181

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).
8383

8484
> [!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.
8686
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.
8888

8989
## Network connectivity or configuration issues
9090

91-
- Live migration fails before/during transfer.
91+
- Live migration fails before/during the transfer.
9292
- 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
9494

9595
### Resolution
9696

9797
- 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>"`
100-
- Verify firewall allows necessary ports (default SMB, WinRM, and clustering ports).
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>"`.
100+
- Verify firewall allows the necessary ports (default SMB, WinRM, and clustering ports).
101101
- Match network configurations (switch names/types, teaming) across hosts.
102102

103103
## Authentication or delegation issues
104104

105105
- Error code: "General access denied error (0x80070005)"
106-
- Errors 0x8009030E, 0x8009030D (delegation/Kerberos/SPN issues)
106+
- Errors 0x8009030E and 0x8009030D (delegation/Kerberos/SPN issues)
107107

108108
### Resolution
109109

110110
- Enable Kerberos authentication: **Hyper-V Settings** > **Live Migrations** > **Advanced** > **Authentication protocol: Kerberos**.
111-
- 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`.
114114

115115
## Storage or shared disk issues
116116

117-
- Migration fails for VMs with shared VHDX/shared disks
117+
- Migration fails for VMs with shared VHDX/shared disks.
118118
- Error: Shared disk missing in migration options.
119119

120120
### Resolution
121121

122122
- 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.
124124

125125
## VTPM or shielded VM certificate issues
126126

127127
- 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.
129129

130130
### Resolution
131131

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.
133133
- Windows certificates snap-in (**certmgr.msc**) can be used.
134134
- PowerShell cmdlets: `Export-PfxCertificate` and `Import-PfxCertificate`.
135135

@@ -138,20 +138,20 @@ Here are common issues and their respective resolutions:
138138
- Error message:
139139

140140
> 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.
142142

143143
### Resolution
144144

145145
- 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.
147147
- Remove or merge corrupted checkpoints.
148148

149149
## Cluster or migration limit issues
150150

151151
- Error message:
152152

153153
> 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.
155155

156156
### Resolution
157157

@@ -162,48 +162,48 @@ Here are common issues and their respective resolutions:
162162
Set-VMHost -MaximumVirtualMachineMigrations N
163163
```
164164

165-
- Always drain roles before reboot with: `Suspend-ClusterNode -Name <NodeName> -Drain`
165+
- Always drain roles before rebooting with `Suspend-ClusterNode -Name <NodeName> -Drain`.
166166

167167
## Code defects or bugs
168168

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.
170170

171171
### Resolution
172172

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.
175175

176176
## Data collection
177177

178178
Standard data collection checklist:
179179

180-
- Event logs: `Get-WinEvent -LogName "Microsoft-Windows-Hyper-V-VMMS/Admin"`
181-
- Cluster logs: `Get-ClusterLog -UseLocalTime -Destination <Path>`
182-
- Hyper-V migration logs: `Get-WinEvent -LogName Microsoft-Windows-Hyper-V-Worker-Admin`
180+
- Event logs: `Get-WinEvent -LogName "Microsoft-Windows-Hyper-V-VMMS/Admin"`.
181+
- Cluster logs: `Get-ClusterLog -UseLocalTime -Destination <Path>`.
182+
- Hyper-V migration logs: `Get-WinEvent -LogName Microsoft-Windows-Hyper-V-Worker-Admin`.
183183
- Network diagnostics: `Get-NetAdapter`, `ipconfig /all`, and ensure all network paths are up.
184-
- Delegation and SPN checks: run `setspn -L <HostName>`, and check **Delegation** tab in AD.
184+
- Delegation and SPN checks: run `setspn -L <HostName>`, and check the **Delegation** tab in AD.
185185
- VM and system configuration: `Get-VM * | select Name, Version`, `Get-VMSwitch`, and `Get-VMProcessor -VMName <VMName>`.
186-
- WinRM configuration: `winrm quickconfig Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<Host1>,<Host2>"`
187-
- PowerShell to gather live migration traces: `TSS.ps1 -CollectLog SHA_support-all -noBasicLog -noUpdate -NewSession`
188-
- Snapshot or checkpoint chain: `Get-VHDChain -Path <PathToVHD>`
186+
- WinRM configuration: `winrm quickconfig Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<Host1>,<Host2>"`.
187+
- PowerShell to gather live migration traces: `TSS.ps1 -CollectLog SHA_support-all -noBasicLog -noUpdate -NewSession`.
188+
- Snapshot or checkpoint chain: `Get-VHDChain -Path <PathToVHD>`.
189189

190-
## Common issues quick reference table
190+
## Common issue quick reference table
191191

192-
| Symptom or error | Likely root cause | Resolution summary |
192+
| Symptom or error | Possible root cause | Resolution summary |
193193
| --- | --- | --- |
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.
207207

208208
## References
209209

0 commit comments

Comments
 (0)