Hyper-V in Windows 10: the activation of the full-time hypervisor and create a virtual machine
The three leaders in the market of software for virtualization of operating systems – VMware, VirtualBox and Hyper-V is the latest hypervisor occupies a special place. Such a special place due to the fact that Hyper-V is the regular component of the server systems Windows and some versions of Windows desktop. Yielding VMware Workstation and VirtualBox in functionality, cross-platform and to some extent in usability, Hyper-V, however, is not devoid of advantages. And the most important of them – the higher the performance of the guest OS.
Below we will talk about how to activate Hyper-V in Windows 10 and create means that the hypervisor of the virtual machine.
1. Hyper-V — full-time hypervisor from Microsoft
The regular Hyper-V, Windows 10 inherited from the versions of Windows 8 and 8.1, and the hypervisor migrated from Windows Server. And Windows 8.1, and Windows 10 optionally include Hyper-V in the Pro and Enterprise editions. The job of the hypervisor is only possible on 64-bit systems.
Long time Hyper-V did not support any other guest OS, except Windows. However recently Microsoft have taken care of the support of the hypervisor to the guest OS Linux. Today with Hyper-V you can test some Linux distributions, particularly Ubuntu popular.
2. Requirements to run Hyper-V
The minimum amount of RAM physical computer to Hyper-V 4 GB.
The computer’s processor must support SLAT (Intel EPT or AMD RVI). Almost all modern processors comply with this requirement.
Another requirement of the processor, also provide many modern models support hardware virtualization and, therefore, its active state in the BIOS. In the BIOS of motherboards for Intel processors this technology (depending on version) may have different names – Intel VT, Intel Virtualization Technology, Intel VT-x Vanderpool or Virtualization Extensions. Have AMD hardware virtualization technology called AMD-V or SVM (Secure Virtual Machines). For example, in AMI BIOS version 17.9 hardware virtualization AMD processor you can find on the way Cell Menu – CPU Feature SVM Support.
Have AMD processors feature hardware virtualization usually enabled by default. Does a specific model of the processor hardware virtualization, this moment you can find on the websites of Intel and AMD.
3. Activation and launch Hyper-V
Hyper-V included Windows 10 Pro and Enterprise options available. Initially staffing the hypervisor is disabled. It is included in the control panel «Programs and features». The fastest way to get there – in-system search.
Triggered «Enabling and disabling system components.»
In the appearing small window with a tick mark all the sub-items under Hyper-V. Click «OK».
System a couple of seconds to apply the changes and asked to reboot. After the restart looking for the shortcut to run Hyper-V Manager. the Label of Hyper-V Manager can be directly pinned to the start screen of Windows 10, which it found in the administrative tools menu start.
Access shortcut Hyper-V Manager can also be obtained using an in-system search.
Launch Hyper-V Manager.
4. Configuring network access
In Hyper-V Manager network is configured in a separate step, you must first create a virtual switch option that provides access to the network. Do click on the name of the physical computer, and the right part of the window select «virtual switch Manager…».
This will start the wizard to create the virtual switch, where the first thing you need to choose the type of network. Three of them:
- External – this type uses the network card or the Wi-Fi adapter of the physical computer and the virtual machine connects to the same network, which is a physical computer. Accordingly, this type of network, providing the virtual machine access to the Internet;
- Internal – this type provides a network between the physical computer and the virtual machines on Hyper-V, but does not provide access to the Internet;
- Private – this type allows you to create a network between virtual machines on Hyper-V, but in this network there is no physical computer, and will not have access to the Internet.
In our case, the virtual machine access to the Internet, therefore will pick the first type to the external network. Click «Create virtual switch».
In the properties window of the virtual switch to specify a name, it can be any name, such as «Network card 1». If necessary, the virtual switch can add a note. If the physical computer has on Board and a network card and a Wi-Fi adapter, the specific device through which the virtual machine will connect to the network, you can select from the drop-down list in the «connection Type». After done the settings, click «Apply» at the bottom.
5. Create a virtual machine
You can now proceed directly to the creation of the virtual machine. On the left in the Hyper-V choice still must be on the name of the physical computer. In the right corner at the top click «Create» and then «Virtual machine».
In the welcome Launchpad window of the wizard, click «Next.»
Specify the virtual machine name; you can also change its location on disk of the physical computer, specifying the desired partition of the disk and the desired folder using the browse button. Click «Next».
One of the relatively new features of Hyper-V – select the virtual machine generation. In our case, we chose generation 2.
What does it mean? Generation 1 is a virtual machine that supports 32 — and 64-bit Windows system. Generation 1 is compatible with previous versions of Hyper-V.
Generation 2 virtual machines, a new format with firmware based on UEFI. These virtual machines support a number of new features and is able to provide a small performance boost. Virtual machine generation 2 as a guest OS, you install only the 64-bit version of Windows 8.1 and 10 as well as the server Windows Server 2012, Server 2012 R2 and Server 2016.
Platform UEFI leads to another requirement for the use of virtual machines generation 2 UEFI bootable media. This situation should be clarified by downloading an ISO image of a Windows distribution with third-party s on the Internet. But still better to download from the official Windows s Microsoft. Thus, the utility Media Creation Tool that downloads from Microsoft Windows 8.1 and 10, the output creates a bootable ISO image that supports UEFI environment.
If you install as a guest OS on Windows 10 this method of obtaining the ISO image of the system and recommended. Windows 10 provides the setup process with the ability to enter a product key. In our case as a guest OS will be running Windows 8.1, and its official distribution obtained by utilities Media Creation Tool, the installation process requires entering a product key. To provide support for the UEFI environment and take advantage of the free opportunity to test Windows 8.1 will help site TechNet evaluation Center. On this website you can download the English-language edition 64-bit Windows 8.1 Enterprise for free and test the system as much as 3 months. The problem with the lack of support of the Russian language after installation of the system can be solved separately by installing the language pack and configuring the basic Russian language system.
Return to the wizard to create the virtual machine. In the window memory allocation, subject to preset parameters, if the physical computer has 4 GB of RAM. If it is larger than 4 GB, you can increase the rate allocated at startup of the virtual machine. For guest Windows XP the measure of RAM we can, however, reduce to 512 MB. Click «Next».
In the settings window of the network from the drop-down list, select the previously created virtual switch. Click «Next».
In the connection window virtual hard disk, specify the virtual machine name, specify the location on disk of the physical computer, specify the size. This settings create a new hard drive. The second paragraph of this step of the wizard, when the computer already has a virtual hard disk, in particular, with an installed guest OS. When you select the virtual machine generation 2 file this virtual hard disk should be formatted as VHDX file (not VHD), and the guest OS must support the UEFI boot environment. Click «Next».
If in the previous step of the wizard, select create a new virtual hard disk, the next step is to specify the path to the Windows distribution. Virtual machine generation 2 will not provide for booting from a physical CD/DVD drive. AMI load distribution guest OS can only be network and ISO image. In our case it is the ISO image. Click «Next».
The final stage of the wizard – click Finish.
6. The virtual machine connection
Creating a virtual machine, back out the window Hyper-V Manager. Now it needs to be connected. For this there is the command «Connect» among the other commands on the context menu on the virtual machine. The command «Connect» is present in the right side of the window Hyper-V Manager. To connect you can also double-click the left mouse button on the window preview of the selected virtual machine.
In the opened connection window, click the green start button.
Then click any button the virtual machine is booted from the ISO image.
Follow normal installation process of Windows 8.1, as it would happen on a physical computer.
As soon as I start copying the installation files, you can close the window, connect to the virtual machine and do other things.
Closing the window the connection will free up some resources of the physical computer to perform other tasks at the same time, the virtual machine will continue its work in the background. Her performance will be displayed in the Hyper-V Manager.
To connect to the virtual machine as needed, run action.
All Windows 8.1 installs. Stop, pause, and save virtual machine or to reset its state and commands in Hyper-V Manager, and the buttons on the top bar of the window connection.
7. The boot priority
In the future, when you start the virtual machine as not to waste time on window boot from CD/DVD-ROM, you need to off her to open the options window and remove the path to the ISO file with the distribution. This is done in the tab DVD drive hardware settings of the virtual machine.
The alternative is to raise the hard drive boot priority above the DVD drive (but not the above file «bootmgfw.efi»). This is done in the tab «Firmware» the hardware configuration.
In both cases, the changes are saved the «Apply» button at the bottom.
8. Restrictions bypass Windows connect Hyper-V
At the forefront of the hypervisor Hyper-V shipped VM performance, not functionality. Unlike its competitors – VMware and VirtualBox virtual machine on Hyper-V does not work with the connected flash drives, no sound, and interaction with the physical computer is using only insert inside the guest OS of text copied to the host OS. Such is the price performance of virtual machines on Hyper-V. But if it is to work with conventional connection window in Hyper-V.
Full integration between the physical computer and the virtual machine can be accessed using standard utilities connecting to remote desktop.
This utility allows you to flexibly configure the connection settings, in particular, to make available inside the virtual machine not only connected to a physical computer, a USB drive, but separate partitions on your hard disk.
The connection to the virtual machine in this manner will provide the guest OS sound playback and two-way file transfer.