Hyper-V Live Migration: Error Applying Changes

Today I came across an error when enabling Hyper-V Live Migration on a node in my cluster (Hyper-V Server 2012)
It read: “Error applying Live Migration changes. Failed to modify service settings.”

After a bit of digging I found a solution. Strangely enough all I had to do was the following:

This was performed on a Hyper-V Server 2012 installation, but i presume this would be exactly the same for Server 2012 Core and Server 2012 GUI. With either PowerShell or a cmd.exe window do The following.

  1. Navigate to C:\Windows\System32\GroupPolicy\Machine on the server in question
  2. Delete the file “Registry.pol
  3. Try to enable Live Migration again

After i deleted Registry.pol i was able to start the Live Migration service and migrate a VM. I wasn’t required to restart the server.

Jack.

Source

A picture of the error for your convenience

live_migration_error

Comments

  1. says

    I wouldn’t have believed it if I hadn’t seen it, but this is absolutely the solution to my exact same problem.
    I was building a 2 node cluster, and for some reason the older of the 2 systems had this problem.

    Thanks.

  2. says

    Had to cold boot one of our hosts (4 node) due to a system hang, and after that the server suffered this exact problem. When I found that VMMS wasn’t listening on a port that lead me to look at the host LM settings, which were un-ticked. Ticking it lead to the ‘error applying live migration changes’ message.

    This fixed it for me. Thanks a lot!!

  3. Tristan says

    Thanks very much. Spent most of the day trying to troubleshoot this one and couldn’t believe this is what fixed it.

  4. Adam Werner says

    Thank you! This too was my exact same problem…. This was also preventing me from using the Hyper-V server with System Center VMM 2012 R2. So strange….

Trackbacks

Leave a Reply

Your email address will not be published. Required fields are marked *