大网数据广告活动
Hyper-V与虚拟化

Guidance for troubleshooting virtual machine live migration

· 52CE 我爱测

Introduces general guidance for troubleshooting scenarios related to virtual machine live migration.

<a class="button is-primary" href="https://vsa.services.microsoft.com/v1.0/?partnerId=7d74cf73-5217-4008-833f-87a1a278f2cb&flowId=DMC&initialQuery=31806289" target='_blank'><b>Try our Virtual Agent</b></a> - It can help you quickly identify and fix common Active Directory replication issues

This article is designed to get you started on troubleshooting issues encountered during virtual machine live migration.

Troubleshooting checklist

  • Check the hosts are at the same level of patching and whether they can update to the latest rollup.

  • Update the BIOS, firmware and third party drivers.

  • Check whether the virtual machines have the latest matching integration services.

  • Check whether the migration is authorized on each side.

  • Check whether the protocol used is identical on each side.

  • Check whether the TCP Port 6600 and 3343 (for clustering) are listening on both sides.

  • Check compatibilities issues by running a Compare-VM command. Provide the name of the VM and the destination host. For example:

    Compare-VM -Name <vm_name> -DestinationHost <host_name>
    
  • Check whether any group policy object is preventing the migration from occurring. Verify that the following policy have at least the default settings.

    • Open GPEDIT.MSC and navigate to Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment.
      Open Create symbolic links and check whether the following user accounts are listed:

      • Administrators
      • NT VIRTUAL MACHINE\Virtual Machines

      Open Log on as a service and check whether the following user accounts are listed:

      • NT SERVICE\ALL SERVICES
      • NT VIRTUAL MACHINE\Virtual Machines
  • Check for the antivirus exclusions. For more information, see Recommended antivirus exclusions for Hyper-V hosts.

  • Check the corruption of the Registry.pol file:
    Run notepad and open C:\Windows\System32\GroupPolicy\Machine\Registry.pol. The file must start with the PReg signature.

  • Compare permissions on the folders containing the virtual machines files with a working host with the same operating system level.

Common issues and solutions

For more information about the common issues and solutions for virtual machine live migration, see Troubleshoot live migration issues.

Data collection

Before contacting Microsoft support, you can gather information about your issue.

Prerequisites

  1. TSS must be run by accounts with administrator privileges on the local system, and EULA must be accepted (once EULA is accepted, TSS won't prompt again).
  2. We recommend the local machine RemoteSigned PowerShell execution policy.

Note: If the current PowerShell execution policy doesn't allow running TSS, take the following actions:

  • Set the RemoteSigned execution policy for the process level by running the cmdlet PS C:\> Set-ExecutionPolicy -scope Process -ExecutionPolicy RemoteSigned.
  • To verify if the change takes effect, run the cmdlet PS C:\> Get-ExecutionPolicy -List.
  • Because the process level permissions only apply to the current PowerShell session, once the given PowerShell window in which TSS runs is closed, the assigned permission for the process level will also go back to the previously configured state.

Gather key information before contacting Microsoft support

  1. Download TSS on all nodes and unzip it in the C:\tss folder.

  2. Open the C:\tss folder from an elevated PowerShell command prompt.

  3. Run the SDP tool to collect the logs from the source and destination nodes.

  4. Unzip the file and run the following cmdlet on both nodes:

    TSS.ps1 -SDP HyperV -SkipSDPList skipBPA,skipTS
    

Collect all logs. Zip and upload the collection on the workspace.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。