{}

Our Brands

Search FAQs

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

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

Product:
PowerChute Network Shutdown
PowerChute Serial Shutdown
PowerChute Business Edition

Environment:
Windows Hyper-V

Solution:
For virtual machines to shut down gracefully when the host is commanded to shut down, 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 the 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 the "Automatic Stop Action" option under Management.
  6. Choose "Shut down the guest operating system."
  7. To restart with the host, select Automatic Start Action."
VM Stop and start actions
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, 6, and 7 are not required if you have enabled the VM shutdown startup option in PowerChute when Hyper-V Support has been enabled.

If you wish to allow Hyper-V to handle VM shutdown instead, enable the Automatic Stop-Start Action outlined in steps 5, 6, and 7 above.

APC Canada

Explore more
Range:
Category:
Users group

Discuss this topic with experts

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