Hyper-V VMs start on same host after restart

Wai Lun Lee 1 Reputation point

We have 4 Hosts, which different VMs host on those 4 servers and defined different ownership on different hosts, the problem is when all the servers shut down and restarted, all the VM started on the same host but not on the defined owner's host. What should be check or configured? Thanks.

A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,601 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,476 Reputation points

    Hi there,

    Have you configured automatic startup and shutdown of Hyper V?

    If so in the Automatic Stop Action section, you can set what to do with your virtual machines if the host is shut down or restarted. You can select Save the virtual machine state so that at the next startup, the virtual machine will resume from this point and will start the same host as predefined.

    You can view and change the automatic startup and shutdown settings of your Hyper-V virtual machines using PowerShell.

    Display the current startup and shutdown settings of all VMs:

    Get-VM –VMname * | Select-Object VMname,AutomaticStartAction,AutomaticStartDelay,AutomaticStopAction

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.
    0 comments No comments