With this kind of default configuration, the overall boot time of the physical Windows Server 2012 becomes quite slow.
In order to use the virtual machines efficiently, you can configure the Hyper-V VMs to automatically shut down before the physical computer is finally shut down.
Here is how you can configure the Windows Server 2012 Hyper-V virtual machine settings in order to get the optimum results:
- Using the appropriate account that has the required privileges, log on to the Windows Server 2012 computer on which the Hyper-V role is installed.
- If not already started, initialize the Server Manager window from the bottom left corner of the screen.
- Once the Server Manager window is initialized, from the left pane, click to select the Hyper-V category.
- From the right pane, under the SERVERS section, right-click the Hyper-V server from the available list.
- From the context menu that appears, click the Hyper-V Manager option.
- On the opened Hyper-V Manager snap-in, from the left pane, right-click the name of the server. (DC-01 for this demonstration.).
- From the context menu, make sure that the service is started and all the contextual options are visible. If the service is not started, you must click the Start Service option from the context menu, and then right-click the server name again and continue with the instructions.
- From the center pane, click to select and then right-click the virtual machine on which you want to mount the bootable ISO image to install the required operating system.
- From the context menu, click Settings.
- From the opened box, from the left pane, under the Management section, click to select the Automatic Stop Action category.
- From the right pane, click to select the Shut down the guest operating system radio button.
- Once this is done, click OK to save the changes that you have made.
Note: When you configure the VM as instructed above, the virtual machine needs to be started manually every time the physical computer is powered on.