Setup for Move VM from one Hyper-V host to another

Setup for Move VM from one Hyper-V host to another

Moving a VM from one host to another is supposed to be simple. It can be done using PowerShell, or you can use Windows Admin Centre. It should be a matter of selecting the VM, clicking Move and specifying the destination machine. However, try as I might, it wouldn’t work.

Although I had a domain, the VMs and host machines were on that domain, and I signed in as a Domain Admin; moving a VM from one host to another didn’t work. I spent a lot of time updating various things, including the following: –

On the Hyper-V host server, I enabled remote access – then, on the client machine, I did the following: –

Use GPedit as administrator.

image-7-1024x655 Setup for Move VM from one Hyper-V host to another

Set the following: –

image-6 Setup for Move VM from one Hyper-V host to another

Then click the ‘show’ button and add the server: –

image-6 Setup for Move VM from one Hyper-V host to another

On client do this: –

set-item WSMan:\localhost\Client\TrustedHosts -value "HOST01,HOST02,HOST03,HOST04,HOST05"

Once these changes were made and the hosts and client machine were rebooted, I could finally move the VMs.

Stephen

Hi, my name is Stephen Finchett. I have been a software engineer for over 30 years and worked on complex, business critical, multi-user systems for all of my career. For the last 15 years, I have been concentrating on web based solutions using the Microsoft Stack including ASP.Net, C#, TypeScript, SQL Server and running everything at scale within Kubernetes.

Finchett.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.