Search FAQs

{"searchBar":{"inputPlaceholder":"Search by keyword or ask a question","searchBtn":"Search","error":"Please enter a keyword to search"}}

Configuring Virtual Machines to shut down when a Hyper-V host is commanded to shut down.

How to configure the shutdown of virtual machines when a Hyper-V host is commanded to shut down on Windows Hyper-V

PowerChute Network Shutdown
PowerChute Business Edition

Windows Hyper-V

In order for virtual machines to shut down gracefully when the host is commanded to shutdown, you need to configure each Virtual Machine to shut down the guest operating system.

To do this:
  1. In Hyper-V Manager, right click on the VM and select Settings.
  2. Under Management check if Integration Services option is shown – if it is proceed to step 4.
  3. If Integration Services is not already installed:
    • Right click on the VM and select Connect.
    • In the console window select the Action menu and choose “Insert Integration Services setup disk”.
    • Double-click the VM guest disk to continue with the installation.
  4. In Hyper-V Manager, choose the VM and then "Settings". Click on the Integration Services option and ensure “Operating System Shutdown” is enabled.
  5. Choose "Automatic Stop Action" option under Management.
  6. Choose "Shut down the guest operating system".
See video at https://www.youtube.com/watch?v=dJ7yydlbZoI
and https://www.elevenforum.com/t/change-automatic-stop-action-of-hyper-v-virtual-machine-in-windows-11.4206/

For PowerChute Network Shutdown v3.1 and above, steps 5 and 6 are not required if you have enabled the VM shutdown option in PowerChute when Hyper-V Support has been enabled.
If you wish to allow Hyper-V to handle VM shutdown instead then enable the Automatic Stop action as outlined in steps 5 and 6 above.

Did this answer your question?

Explore more
Explore more
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.