I. Shutdown server:
- Open Hyper-V Management Console from the Taskbar or Start Menu, select the Hyper-V server on the left (E.G. HYPERV1) to display the list of Virtual Machines in the middle. Then select the Virtual Machine (VM) you want to shut down, right-click it and choose one of the shut down options:
- Turn Off – Instantly *forcibly* turns off the virtual machine as if you had pulled the power plug (only use if VM is frozen)
- Shut Down – Same action as navigating inside the VM to Start > Shut Down. This gracefully initiates the shutdown procedure on the virtual machine’s operating system.
- Save – This saves the state of the virtual machine’s operating system, much like a laptop’s Hibernate mode. This is the default action taken for all running VMs when you initiate a shutdown of the host Hyper-V 2012 Server. By default a VM’s settings are configured to save the state of the VM on host shutdown, and resume on startup. This “saved” state is stable and will not lost data even if power is pulled from the host Hyper-V server.
- Pause – This simply freezes the guest VM operating system temporarily, much like a laptop’s Sleep mode. This state is not stable if you unplug the power to the host 2012 server. However, if you shut down the host Hyper-V 2012 server, any virtual machines in a “paused” state will be by default automatically converted into the “saved” state, just like any other running VMs.
- Shut down the host Hyper-V operating system by clicking Start > (Power Icon) [Top right] > Shut Down > Continue (Other Unplanned):
II. Startup VM Server:
If you have shutdown or saved the state of the guest Virtual Machine Operating System manually (for example by following the steps above), you’ll need to Start the VM again when the host Hyper-V server has booted up again. To do so, launch the Hyper-V Management Console, make sure you have the correct server selected on the left, right-click on the Virtual Machine in the center and choose Start from the menu (you can also choose Start from the Actions pane on the lower-right of the window:
Note: To manage the running VM (such as viewing the desktop/console), see the article: Hyper-V Virtual Machine Connection (Connect to Virtual Machine Console)