Azure DevOps, Scrum, & .NET Software Leadership and Consulting Services

Introducing Slide Speaker: Videos with Voice-over from your PowerPoint and Google Slides Presentations

Problem moving virtual machines between Hyper-V 2012 hosts


(Huge thanks to Antone Heyward for the answer to this problem.)

One of the things I love about Hyper-V 2012 is that you can easily move Hyper-v virtual machines (guests) between Hyper-V hosts using the Hyper-V Manager app.  Sure, in previous versions of Hyper-V you could do an Export, Copy, and Import to move VMs between hosts but that’s a lot of manual steps.  Or, if you were feeling really motivated, you could set up System Center Virtual Machine Manager and have SCVMM handle moving your hosts around. 

I ran into a problem today moving some VMs between some new Hyper-V hosts.  I’d right-click on the machine, choose Move…, and then go through the migration wizard only get an error.  Here’s the error:

“Failed to establish a connection with host ‘VESIME’: the credentials supplied to the package were not recognized (0x8009030D).  The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the source host: no suitable credentials available.  Make sure the operation is initiated on the source host of the migration, or the source host is configured to use Kerberos for the authentication of migration connections and Constrained Delegation is enabled for the host in Active Directory.”

 

SNAGHTML1d2970
Right-click the VM you want to migrate and choose Move… from the context menu.

 

image
Here’s that error message.

 

Two things popped out at me in that error.  1) “Make sure the operation is initiated on the source host” and 2) “make sure…Constrained Delegation is enabled for the host in Active Directory.”  For item #1, I tried logging in to the source server and starting the migration from there and it worked.  Win.  But that’s a bit of a pain so I started looking for how to enable Constrained Delegation. 

The answer came from Antone Heyward’s blog post “Microsoft Hyper-V 2012 Live Migration and Constrained Delegation”.  Antone has a full walk-through on his blog but here’s the short form.

Step 1: Go to Hyper-V settings for the host machines and enable Live Migrations using Kerberos.

SNAGHTML283726

Step 2: Go to Active Directory Users and Computers and for each Hyper-V host server enable delegation for “cifs” and “Microsoft Virtual System Migration Service” for all the servers you want to migrate to/from. 

SNAGHTML2a0c02

Done and done. 

 

-Ben

SUBSCRIBE TO THE BLOG

,

10 responses to “Problem moving virtual machines between Hyper-V 2012 hosts”

  1. Joshua Avatar

    Just wanted to say thanks on this, was a big help!

  2. […] Source: Problem moving virtual machines between Hyper-V 2012 hosts | Benjamin Day Consulting, Inc. […]

  3. Bart Avatar
    Bart

    Thanks! it helped me a lot 🙂

  4. Papali Avatar
    Papali

    You are great!!! Gracias!

  5. Caeden Avatar
    Caeden

    You really saved my bacon today! Thank you so much!

  6. JSL Avatar
    JSL

    Thank you, this did the trick!

  7. Jean Doyon Avatar

    Thank for that post!

  8. Vipin Avatar
    Vipin

    Thank you… that really helped !!

  9. Ryan Cooley Avatar
    Ryan Cooley

    Do you have a script to do this for 70+ hosts?

  10. Chris Baete Avatar
    Chris Baete

    I an trying to move a VM from Hyper-v 2016 to a 2019 Hyper-v server. I am not in a cluster and I have enabled live migration and constrained delegation as per various documents on the internet. I have disabled AV software. When I try and live migrate it it fails saying Virtual machine failed at the migration destination with error (0x800705B4). it says the operation returned because the timeout period expired.
    I am not sure if there is anything I have missed but I am keen to get this moved over before my old host dies.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.