01 March 2021
How to configure the shutdown of virtual machines when a Hyper-V host is commanded to shut down on Windows Hyper-VProduct:
PowerChute Network Shutdown
PowerChute Business EditionEnvironment:
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:
- In Hyper-V Manager, right click on the VM and select Settings.
- Under Management check if Integration Services option is shown – if it is proceed to step 4.
- 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.
- In Hyper-V Manager, choose the VM and then "Settings". Click on the Integration Services option and ensure “Operating System Shutdown” is enabled.
- Choose "Automatic Stop Action" option under Management.
- Choose "Shut down the guest operating system".
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.