hyper v virtual machine manager Installing and configuring hyper-v server for those who see it for the first time


The Microsoft Windows 8 operating system introduced Hyper-V virtualization technology, previously available only in Microsoft server operating systems.

System requirements for running Hyper-V on Windows 8

1. OS

Hyper-V is only available on 64-bit versions of Windows 8/8.1. Supported editions of Windows 8/8.1 Professional and Enterprise operating systems.

2. CPU

  • 64-bit processor made by Intel or AMD
  • Support for virtualization technologies (Intel VT-x or AMD-V), as well as Second Level Address Translation (SLAT) technology. Intel calls this technology Extended Page Tables (EPT), while AMD calls it Rapid Virtualization Indexing (RVI).

Before enabling the Hiper-V component, you must check whether all these technologies are enabled in the BIOS/UEFI. In some cases, you may need to update the BIOS to enable them.

You can check whether the processor supports these virtualization technologies on the intel manufacturer's website http://ark.intel.com/Products/VirtualizationTechnology or amd http://products.amd.com/pages/desktopcpuresult.aspx

You can also use the utility for Intel processors IntelProcessorIdentificationUtility.

1. Download the program from Intel downloadcenter.intel.com


2. Install and run the program.

3. Go to tab CPU technologies, to check whether the processor supports virtualization technologies.


Enabling the Hyper V component in MS Windows 8.1

1. To install, you need to open Control Panel -> Programs and components and select item Enable or disable featuresWindows.


This window can be called up by pressing Win + R (to open the window Execute) and input OptionalFeatures.

2. In the window that opens, find the Hyper-V item


In addition to the platform itself Hyper-V this includes tools for its management - graphic equipment Hyper-V Manager and module Hyper-V for PowerShell.

3. Check the checkboxes of all the required components and click OK, after which you will need to restart your computer.

4. After the reboot, shortcuts to launch will appear in the Metro interface Hyper-V Manager And Connections to a Hyper-V virtual machine.


5. These shortcuts are also available in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Hyper-V Management Tools


Installing a guest operating system in Hyper-V

1. Open Hyper-V Manager


2. In the main menu, select Actions -> Create -> Virtual Machine… Similar actions are available in the right panel Actions.


3.In the wizard dialog box that opens, click the button Further

The wizard is required to assist in the process of configuring a virtual machine. It collects information about the location of the virtual machine, its name, information about the virtual network to connect the virtual machine, virtual hard disk parameters, etc.

4. In the next dialog box, specify the name of the virtual machine, and if you need to store the virtual machine in a location that is different from the default one suggested when installing Hyper-V, you must specify a new location.


5. In the next step, you need to specify the generation of the virtual machine


The second generation of virtual machines appeared only in the latest version of Hyper-V and has a number of features, some of which are listed below:

  • Only the following operating systems can be used as a guest operating system in a second generation virtual machine:
    1. Windows Server 2012 and Windows Server 2012 R2;
    2. Windows 8 (64 bit) or Windows 8.1 (64 bit).
  • no legacy devices such as floppy drives and COM ports
  • There is no IDE controller, instead there is a SCSI controller with boot capability
  • the standard BIOS is replaced by firmware based on the Unified Extensible Firmware Interface (UEFI).

6. In the next dialog box, you must specify the amount of RAM for the guest system.


RAM configuration greatly affects Hyper-V performance. The option of using dynamic memory is available. When using dynamic memory, virtual machines that require more memory are allocated memory resources to virtual machines that have lower memory requirements. For example, those that are idle.

7.In the next step, the virtual machine creation wizard will show the screen Network configuration.

You must specify the virtual switch to which the virtual machine will be connected. If there is no choice of network adapters in this window, you must create a virtual switch after configuring the virtual machine.


8. In the next step, when configuring a new virtual machine, you need to set the radio button in the item Create a new virtual disk. You can specify the name of the virtual hard disk, its location, and its size. If the virtual machine has already been created, you can select Use an existing virtual hard disk or Connect the virtual disk later.


9. In the dialog box Installation options you need to choose where the operating system will be installed from. It is necessary to select the radio button in the Image file (.iso) item and specify the path to the iso image of the operating system being installed.



If the operating system distribution is recorded on disk, you must select PhysicalCD orDVD. If you need to later register the path to the ISO image of the operating system, you can select Install the operating system later.

10.Dialog window for the final configuration of the virtual machine. If you need to make changes to the configuration, you must click the button Back. After pressing the button Ready an entry for the new virtual machine will appear in Hyper-V Manager in the status Off.


Creating and configuring a virtual switchHyperV

11.On the menu Actions choose Virtual Switch Manager.


There are three types of virtual networks that you can connect to in Hyper-V: private, internal, and external virtual network

A private virtual network allows all virtual machines to communicate with each other. Private networks do not have a physical network adapter associated with them. On this network, virtual machines cannot communicate with the host operating system, and the host OS cannot communicate with virtual machines in the private virtual network.

An internal virtual network is similar to a private virtual network in that it allows all virtual machines to communicate with each other, but unlike a private network, virtual machines can also communicate with the host system.

An external network is used when you need to provide a virtual machine with access to a physical network. Essentially, a physical network adapter is associated with a virtual switch, and Hyper-V takes over when the virtual machine tries to access the network through that switch.

12. Select virtual network type External -> Create virtual switch

13. In the virtual switch properties window that opens, you must specify the switch name and connection type.


14.When creating an external network, you can allow shared access to the network adapter from the virtual switch and the host system; to do this, you need to check the checkbox Allow the managing operating system to share this network adapter.

15 . If the network uses logical subnetting, then for a virtual switch connected to an external network, you can allow the use of VLANs by checking the checkbox Allow VLAN identification for the host operating system and specify the VLAN ID.

16.Press Apply-> OK

17. On the panel Virtual machines Hyper-V manager, select the configured virtual machine and open the context menu with the right mouse button.

18. In the context menu, select Options -> Network adapter

19. Specify the created virtual switch for the selected virtual machine


20. Click Apply-> OK

21.Start the installation of the guest operating system by clicking on the icon Start on the panel Actions(you can also start the virtual machine by selecting in the main menu Action-> Start or via the context menu).

Not everyone knows that some editions have a built-in Huper-V hypervisor. This role is simply disabled by default. Below we will tell you how to activate the Hyper-V virtual machine in Windows 8, as well as how to create a new virtual machine in this environment.

1. What you will need

  1. Operating system Professional / Windows 8 Pro (64-bit) or Enterprise / Windows 8 Enterprise (64-bit). Other versions do not have the Hyper-V role (link).
  2. A computer with a processor that supports hardware virtualization technology. In addition, support for second-level address translation technology - SLAT (Second Level Address Translation) is required. Intel calls this technology Extended Page Tables (EPT), while AMD calls it Rapid Virtualization Indexing (RVI). You can check whether your processor supports these technologies on the manufacturer's website. For example, for Intel processors - see, for AMD -.
  3. An additional network adapter on a physical computer, if you need to provide the virtual machine with network access.

2. Enabling virtualization support in the computer BIOS

First of all, you need to enable virtualization support. To do this, let's go into the BIOS of the physical computer and find the corresponding item. In different BIOS versions, it may be called differently. For example, on an HP Pavilion g6 laptop this is the item Virtualization Technology on the tab System Configuration.

3. Activate the Hyper-V role

Launch the Control Panel, go to the “ tab Programs", then click " Turn Windows features on or off» .

In the window that opens, select all components in the group “ Hyper-V" and click " OK» .

After installing the role, the system will require a reboot. We restart the computer, and we see that shortcuts to launch have appeared in the Metro interface Hyper-V Manager And Connections to a Hyper-V virtual machine.

These shortcuts are also available in
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Hyper-V Management Tools\

4. Create a virtual switch

Now that the Hyper-V hypervisor is installed, let's create a virtual switch to connect virtual machines to the network. To do this, launch Hyper-V Manager and in the menu “ Actions» select « Virtual Switch Manager...» .

In the launched manager, click on “ Create a virtual network switch" and we will be taken to a window where you need to select the type of future virtual network. There are 3 options:

  • External— Select this if you need to provide the virtual machine with access to the network to which the current computer is connected. In this case, this computer must have a free network card, which we will rename for the virtual machine.
  • Internal— To create a network between all virtual machines and the current computer. In this case, the physical network will not be accessible to virtual machines.
  • Private- In this case, a network is created between all available virtual machines. The current computer, as well as the physical network, will be unavailable.

Having selected the type of future network, click “ Create a virtual switch» .

The properties window for the virtual switch opens. Here you need to specify the name of the switch, and you can also set additional parameters. For example, my computer has 2 network cards: for a wired connection via an RJ-45 connector and a Wi-Fi adapter. The last one I override for the current switch. Thus, my future virtual machine will access the network through this Wi-Fi adapter.

Well, in the network connections you can see that now this Wi-Fi network card is connected to the virtual switch that has appeared there.

5. Create a virtual machine

Finally, you can proceed directly to creating the virtual machine itself. To do this, in the Hyper-V Manager in the menu " Actions» select « Create» — « Virtual machine…» .

The Virtual Machine Creation Wizard will launch. Here we will set the name of the virtual machine to be created, and also select the directory for storing it. You must ensure that there is sufficient free space on the selected hard drive. Since in the case of using snapshots, the virtual machine as a whole can have a fairly significant volume. Having specified the necessary parameters, click " Further» .

Then we indicate the amount of RAM that the virtual machine will use while running, and click “ Further» .

Now you need to specify a virtual switch to connect the virtual machine to the network. Select the connection created in step 2 and click “ Further» .

At this step, you need to create and connect a virtual hard disk for this virtual machine, or specify an existing virtual hard disk. If you create a new one, enter the name of the hard drive, location and size (remembering that when using snapshots, the volume of the virtual machine as a whole can be significantly increased), then click “ Further» .

Now let’s select the device from which the operating system will be installed in the virtual machine being created. Possible options:

  • Do not install the operating system.
  • Use a physical computer's DVD drive.
  • Use a disk image file from a physical computer.
  • Use virtual disk.
  • Network installation.

Once again, check all the installed parameters and complete the creation of the virtual machine by clicking “ Ready» .

After successful installation, the newly created virtual machine should appear in the Hyper-V Manager list of virtual machines, with the status “ Off". In order to connect to it, right-click on this line and select “ To plug…» .

After which a connection to this virtual machine will be made. In order to launch it, click on the button “ Start" in the upper left corner of the window.

The virtual machine will start, and we will observe this process in the connection window, as if we were on a physical computer. If the source for installing the operating system is selected, then the installation will begin accordingly. Further management of the virtual machine is also performed using the menu at the top of the connection window.

Did this article help you?

This article shows you the steps to create a virtual machine in Hyper-V Manager on Windows 10

Microsoft Hyper-V technology is a built-in hardware virtualization system that provides guest systems with direct access (without intermediate virtual drivers that slow down operation) to computer devices (disk, memory, processor).

The operating system inherited the Hyper-V component from previous versions, Windows 8 and . In Windows 10, Hyper-V is only available in 64-bit Pro and Enterprise editions. System requirements for enabling Hyper-V are described in detail in the article

In Windows 10, the Hyper-V hypervisor, in addition to guest operating systems of the Windows family, now supports some Linux distributions, in particular the popular Ubuntu.

You can install new distributions of operating systems on a virtual machine for testing, and also use it as a server.

CONTENT:
 1

How to start Hyper-V Manager

There are several ways to start Hyper-V Manager

➁ You can use the search, to do this, click on the search icon on the taskbar or press the key combination + S, in the window that appears, enter hyper-v in the search field. In the search results, select Hyper-V Manager or right-click and select from the context menu To Home screen or Pin to taskbar(if you will be using Hyper-V Manager frequently).

➂ You can also launch Hyper-V Manager from the list of programs in the Start menu in the folder "Administration Tools"

➃ You can also create a shortcut to launch Hyper-V Manager, to do this, right-click on the desktop and in the context menu that appears, select New > Shortcut, then in the "Create Shortcut" window in the field Specify the location of the object: enter virtmgmt.msc and click Next

In the next window, in the field Enter a shortcut name enter, for example, Hyper-V Manager and click Finish, which will create a shortcut on the desktop with which you can launch Hyper-V Manager

How to create a virtual switch

Network access settings in Hyper-V Manager are configured separately. To do this, in Hyper-V Manager, in the list on the left, select the item with the name of your computer, and in the right part of the window, select Virtual Switch Manager...

In the virtual switch creation wizard that opens, you need to select the network type. Depending on what access you plan to provide to virtual machines, you can choose one of three types of virtual network:

● External - This type uses the network card or Wi-Fi adapter of the physical computer and connects the virtual machine to the same network as the physical computer. Accordingly, this is a type of network that provides virtual machine access to the Internet.
● Internal—This type provides a network between the physical computer and the Hyper-V virtual machines, but does not allow them to access the Internet.
● Private - this type allows you to create a network between Hyper-V virtual machines, but there will be no physical computer on this network, nor will there be Internet access.

In this case, the virtual machine needs access to the Internet, so select the first type - external network and click Create a virtual switch

In the properties window of the virtual switch we give it a name, it can be any name, in this example Virtual Network. If your computer has both a Wi-Fi adapter and a network card, select in the External network item the network adapter that is used to access the Internet. In this case, a Wi-Fi adapter is used. After the settings have been made, click OK

The virtual network adapter has been created. You can see the result of adding a virtual switch to Hyper-V on a physical machine in the “Network Connections” window; as a result, a network bridge and a virtual adapter were created.


How to create a virtual machine
in Hyper-V Manager

To create a virtual machine in Hyper-V Manager, right-click on the computer name and select from the context menu that appears New > Virtual Machine...

In the first window of the virtual machine creation wizard, click Next >

In the next window, we give the virtual machine a name; you can also change its location (the standard location for virtual machines is the folder C:\ProgramData\Microsoft\Windows\Hyper-V) on the disk of a physical computer, specifying the desired disk partition and the desired folder using the Browse... button, click Next >

The next step is to select the generation of the virtual machine. Select the required generation of the virtual machine (in this case, generation 2 is selected) and click Next >

Generation 1 are virtual machines that support 32- and 64-bit Windows systems. Generation 1 is compatible with legacy versions of Hyper-V
Generation 2 – new format virtual machines with built-in UEFI-based software. Such virtual machines support a number of new features and can provide a small performance increase. On generation 2 virtual machines, only 64-bit versions of Windows 8.1 and 10, as well as server versions of Windows Server 2012, Server 2012 R2 and Server 2016 are installed as guest OSes

Next, in the memory allocation window, leave the preset parameters if the physical computer has no more than 4 GB of RAM. If you have more than 4 GB of RAM, you can increase the amount allocated when starting the virtual machine. Select the amount of memory you need and click Next >

In the "Network Settings" window, in the Connection drop-down list, select the previously created virtual switch and click Next >

In the "Connect virtual hard disk" window, specify the desired location on the disk, the name of the virtual hard disk file, and also set the size that will be sufficient for your purposes and click Next >. In this case, the default parameters are left.

The next step is to specify the path to the Windows distribution. Second generation virtual machines do not allow booting from a physical CD/DVD drive. The only sources for downloading the guest operating system distribution can be the network and ISO image. In this case it is an ISO image. Click Next >

Then, in the Completing the New Virtual Machine Wizard window, click Finish

Connecting and starting a virtual machine

Once the virtual machine is created, it will appear in the list of virtual machines in Hyper-V Manager. Now the virtual machine needs to be connected. To do this, right-click on the virtual machine and select Connect from the context menu. The Connect command is also present on the right side of the Hyper-V Manager window. To connect, you can also double-click with the left mouse button on the preview window of the selected virtual machine.

In the connection window that opens, click the green Start button

The normal Windows 10 installation process will then begin, just as it would on a physical computer.

Once the installation files have started copying, you can close the virtual machine connection window.

Closing the connection window will free up some of the physical computer's resources for other tasks, while the virtual machine will continue to run in the background. Its performance will be displayed in Hyper-V Manager. You can connect to the virtual machine as needed to perform actions in it.

Back in Windows 8, Hyper-V virtualization technology appeared, previously available only in Microsoft server operating systems. This solution looks better than the Windows Virtual PC virtual machine included in Windows 7. Today I will tell you how to create a virtual machine in Windows using Hyper-V, and also set up the Internet, local network and file sharing in it.

In addition to Coreinfo, you can use Intel's proprietary utility (AMD has a similar one).

You can also look at the virtualization technology support table on your processor manufacturer's website: Intel | AMD.

Enable Hyper-V

Hyper-V is an operating system component that is initially disabled. Advanced users can enable it with one PowerShell command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

If you prefer a GUI, press Win + R, enter OptionalFeatures and press Enter.

In the window that opens, select the Hyper-V checkbox.

One way or another, the component will become available after a system reboot. Among the problems with installation in Windows 8 RP, a cyclic reboot due to the fault of USB 3.0 controller drivers has been noticed so far, which on some systems was solved by disabling USB 3.0 in the BIOS.

Creating and configuring a virtual machine

Press Win + R, enter virtmgmt.msc and press Enter to open Hyper-V Manager. From the menu Actions select CreateVirtual machine.

The virtual machine creation wizard is extremely simple, but I will note some points for those who like detailed instructions with pictures. I will skip the network setup step now, since I will analyze this issue in more detail.

The standard location for virtual machines is a folder ProgramData, but it can be changed.

If you already have a virtual disk in VHD format, you can connect it. By the way, I did just that, using the disk I created earlier for Virtual Box.

When you specify an existing VHD, the wizard removes the step where you specify the media for installing the system.

However, you can specify the path to the ISO later by opening the virtual machine settings in the main Hyper-V Manager window.

Starting a virtual machine and installing Windows on it

Everything here is also simple, but a little unusual for those who have not previously encountered Hyper-V.

In Hyper-V Manager:

  • To start the virtual machine, click “Start”
  • To interact with it, click “Connect” or double-click the machine’s thumbnail

When the bootable Windows ISO image is specified in the machine settings, you will see the familiar Press any key to boot message on the screen... Then you can do it yourself, but if you need step-by-step installation instructions, they are on OSZone for Windows 7 and Windows 8.

If the operating system on the physical machine is newer than the one installed on the virtual one, it is recommended to update the integration components (thanks, Artem). To do this, connect to the virtual machine in the Hyper-V manager, press Ctrl + I and run setup.exe.

Setting up Internet access and local network

The instructions in this section are only necessary if you are unhappy with the Default Switch introduced in Windows 10 1709, which cannot be removed or renamed. When using Default Switch, if the host is connected to a VPN, the virtual machine also uses the VPN. This is one of the main differences from an external switch, the creation of which I will describe later.

On the menu Actions select Setting up virtual switches. A window will open in which you can create a switch of one of three types. To enable your virtual machine to access the Internet, create external switch.

Now you need to set the name of the switch and select the network adapter if you have more than one. I use a wireless network at home, so I chose a Wi-Fi adapter.

All that remains is to specify the created switch in the network connection parameters of the virtual machine.

Now, with Windows installed, you will have an Internet connection and a local network between the physical and virtual machines.

In the picture above you see:

  • on the left is the result of adding a virtual switch to Hyper-V on a physical machine, i.e. network bridge and virtual adapter
  • on the right – Internet access and connection to the local network on the virtual machine

As you can see, setting up the Internet and local network is not so much complicated as it is unusual for users of Microsoft client operating systems.

Sharing files between physical and virtual machines

As you work with a virtual machine, you regularly need to copy files from a physical one to it, or vice versa. I will describe several ways to solve this problem.

Shared network folders

This method works in all editions of Windows 10. Since we have a local network at our disposal, we can use shared folders to share files. In fact, the instructions below boil down to the basics of creating shared folders.

Access from virtual machine to physical machine

A picture is worth a thousand words, as the Americans say.

The figure shows the virtual machine explorer (VIRTUAL-PC), from where the physical machine (VADIK-PC) is accessed. Once you enter your account credentials, access to your profile will be at your disposal.

You may want to create a shared folder located on a physical machine outside of your profile. To do this, it is enough to use standard sharing tools, but I will explain this process using the example of access to an arbitrary virtual machine folder.

Access from physical machine to virtual machine

Let's say there is a folder in the root of the virtual machine disk Shared. Right click on it and select General accessIndividual people(or Specific users in Windows 7).

Now you can open a shared folder over the network in Explorer, including by entering the address of the form in the address bar \\computer-name\folder-name.

Connecting to a remote desktop of a virtual work machine

In Hyper-V, files cannot be exchanged between a physical and virtual machine by copying and pasting. You can only paste text copied on a physical machine using the keyboard shortcut Ctrl + V. However, once the virtual machine is running, you can connect to it via RDP instead of opening it from Hyper-V Manager. This method works in Pro editions and higher.

Actions on a virtual machine

First, you need to enable remote desktop connections on the virtual machine in the system properties. Press Win + R and run:

RUNDLL32.EXE shell32.dll,Control_RunDLL sysdm.cpl,5

Then allow the connection as shown in the picture.

All that remains is to find out the IP address of the virtual machine with the command ipconfig

Actions on a physical machine

Press Win + R and enter mstsc and expand login options.

In the window that opens:

  1. Enter the IP address of the virtual machine (required).
  2. Enter the name of the user whose account you will be signing in to.
  3. Enable login credentials to be remembered.
  4. Save the connection settings.

You can also set the Display tab to a resolution lower than what is used on the physical machine.

Now you can exchange files between physical and virtual machines using the usual keyboard shortcuts Ctrl + C and Ctrl + V.

Finally, I would like to virtualize a few recommendations from Denis Diaghilev for working with Hyper-V.

Use RDP to connect to virtual machines.

This will not only allow you to share files between the physical and virtual machine by copying and pasting, but will also save system resources that vmconnect consumes when connecting to the virtual machine in Hyper-V Manager or from the command line.

If you plan to regularly use RDP to connect to various virtual machines, pin the program to the taskbar. Then the list of cars will be saved in the transition list.

Be careful with your photos

With Hyper-V you can create snapshots of a virtual machine using differential disk technology. However, the logic of the images is almost the opposite of what a person who has never stepped on a rake would expect from it.

Alexander Kosivchenko (MVP for virtualization) described in detail, although somewhat chaotically, the principle of operation of Hyper-V snapshots on Habré.

Use virtual machine import if necessary

Import will be more interesting to IT specialists, but I happened to use this function by accident. After creating the virtual machine, I renamed the drive letter where it was stored, and then Hyper-V Manager lost it.

Looking around in the snap, I saw the import option and instantly restored the machine.

Moreover, I didn’t even suspect that the actions I performed became possible only due to the emergence of a new feature in Hyper-V :)

Hyper-V vs. VirtualBox

While understanding Hyper-V, I couldn’t help but compare Microsoft’s solution for the client operating system with Oracle VirtualBox.

From the point of view of typical tasks of home users (testing the system installation, familiarization with it, checking the operation of applications), these solutions are practically no different from each other. But VirtualBox can be used in Windows 10 Home editions, while Hyper-V is not available in them.

VirtualBox does not have such strict hardware requirements, and its graphics capabilities are even greater, since it supports 3D hardware acceleration (though I have never used it).

As for the graphical interface, this is purely a matter of taste. Probably, the hypervisor that came from server operating systems looks more ascetic, but the parameters and configuration of virtual machines are generally very similar.

The presence of Hyper-V in Windows will primarily please IT professionals accustomed to this technology. For home users, this is a good opportunity to take advantage of the system’s built-in tools and expand their horizons by becoming familiar with Microsoft server technologies.

Survey

I became acquainted with virtual machines in 2004, when I started doing Windows Auto Install. Since then they have become an integral part of my daily work, including testing system settings, programs, etc.

In comments Tell us what virtualization solution you use and for what purpose!

I would like to thank Denis Diaghilev for his assistance in preparing this material. One of the benefits of the MVP program is exposure to top Microsoft technology talent. This means that you can get competent advice on any issue privately;)

Denis also kindly offered his assistance in facilitating the discussion. Therefore, if you have any technical questions regarding this article, you can count on qualified answers.

I want to specifically emphasize that

Hello friends, in today’s article we will connect a Hyper-V virtual machine to our Windows 8 and install the Windows 7 and Windows 8 operating systems on it, and also answer all the questions asked by users. By the way, you can transfer your entire physical computer to Hyper-V! Several system administrators I know work only on Hyper-V and have even forgotten what a normal operating system is. At the very beginning we publish several of your letters.

Installing Hyper-V

If you have Windows 8 Pro or Windows 8 Enterprise (corporate) installed on your computer, then you can use the Hyper-V virtualization system or, in simple words, use the virtual machine built into the Windows 8 operating system. It is very easy to use and I have no doubt that you will understand it.

For Hyper-V to work, your processor must support virtualization technology. Before work, be sure to enable the following options in the computer BIOS:

"Intel Virtualization Technology" for Intel processors or "AMD Virtualization" for AMD processors.

I warn you that Hyper-V is primarily designed and intended for IT professionals and is used on servers.

When working in Hyper-V, you will not be able to use a flash drive, sound card, and WiFi; in this regard, it is preferable to use VirtualBox. But I still think that those who read this article know why they need it.

For its operation, the Hyper-V virtual machine makes small requirements:

Windows 8 Pro must be 64 bit.

Availability of at least 4GB of RAM.

Hyper-V connection

Opening Control Panel

and choose Programs

Programs and components. Turn Windows features on or off

Find the Hyper-V partition and mark it with a checkmark and click OK.

There will be a short search for the required files and a reboot.

After the reboot, go to the Metro interface and left-click on the arrow, then select Hyper-V Manager,

The Hyper-V Setup Wizard appears. Click on the name of our computer, then Create And Virtual machine.

Hyper-V Settings

1) Getting started. This wizard will help you create a virtual machine, click Next.

2) Specify a location. We assign a name to the virtual machine in Latin, for example Windows 7. We indicate the location of the files of the Hyper-V virtual machine, since I don’t have space on drive C:, I will check the Save virtual machine in another location checkbox and click browse, then specify the drive D: and Next.

3) Specify the generation. I want to install Windows 7 so I will select Generation 1.

4) Allocate memory. My computer has 8GB of RAM, which means I can safely allocate 2GB of RAM for a virtual machine. Check the box “Use dynamic memory for this virtual machine” and Next.

5) Network setup. We skip this parameter (we’ll set up an Internet connection later) and click Next.

6) Connect the virtual hard disk. Mark the item Create a virtual hard disk. So in the second paragraph Specify location, we indicated the location of the virtual machine files on the D: drive, then by default the virtual machine will offer us to locate the virtual hard disk on the D:\Windows 7\Virtual Hard Disks\ drive.

Friends, the item Size 127 GB does not mean that 127 GB will immediately be “squeezed out” on your D: drive.

Note: A virtual hard disk can be created at the very beginning, that is, before you create a virtual machine, and in this case you can choose which virtual hard disk to create, for example:

Dynamic(grows in volume gradually, according to accumulated data, at first it takes up several megabytes).

Fixed size(immediately requires allocation for the required space; if you create a 120 GB disk, that means you must allocate exactly that much space to it).A fixed-size hard drive is considered to have higher performance.

See the end of the article for more details.

7) Installation parameters. Check the box Install the operating system later. Further.

8) Done

How to set up Internet in Hyper-V

Now let's set up the network. In the main Hyper-V window, click on the Virtual Switch Manager button.

In the window that appears, select what type of virtual switch you want to create. I will select the type - External network. WITH create a virtual switch.

Choose an arbitrary name for the virtual switch. The Wi-Fi network adapter on my computer is from Atheros, so I’ll choose that name. Apply.

Choose Options


A window will open, on the left side of which you can see two sections with different parameters; if you select the parameter you need with the left mouse, then on the right side of the window you can configure it.

Network adapter. In the right part of the window, select our Virtual Switch "Atheros", Apply And OK.

Installation on Hyper-V operating system

Now the actual question is how to install the operating system in a virtual machine. To install a Hyper-V virtual machine, you need to boot it from the Windows 7 installation disk located in the drive or for these purposes you need to use an ISO image with Windows.

, then on the right side of the window using the buttons Up And Down We set the virtual machine boot to what we need:

CD- boot from installation disk or ISO image.

Choose Controller 1 IDE and click on the plus sign, then DVD drive, if you want to boot the virtual machine from the DVD drive, check the item Physical CD and DVD drive: then insert the Windows 7 installation disk into the drive.

Also, to boot a virtual machine and install an ISO image with Windows 7, you can use Windows 7, in this case you need to check the File image item and click the Browse button, in the explorer that opens you need to select the image with Windows 7 and click Open. Apply and OK.

Click Start and the virtual machine starts. Hyper-V is loading from the Windows 7 ISO image. Double-click with the left mouse on the thumbnail of the Hyper-V virtual machine window,

A window will open in which you and I will work. Press any key, otherwise booting from the Windows 7 installation disk will not occur. At the top of the window there are virtual machine settings buttons.

The usual Windows 7 installer dialog box. Next, you can install the Windows 7 operating system on the virtual machine. The whole process is described in detail in our article.

So you and I connected a Hyper-V virtual machine to our operating system and installed Windows 8 on it, the Internet is present on the virtual machine. You can install Windows 8 on it in exactly the same way.

How to create a virtual hard disk in Hyper-V

Friends, a virtual hard disk in Hyper-V can be created not only during the process of creating a virtual machine.

In the main window of the virtual machine, select Create -> HDD


Selecting the disc format. You can choose a new hard drive format, but please note that it is not supported by earlier operating systems before Windows 8

Select the disk type. You can create a fixed partition disk, which is considered higher performance

We indicate the location of the virtual hard disk, if you have little free space on the C: drive, then place the virtual hard disk on the D: drive. Click on the Browse button and select drive D:

Disk setup. If we create not a dynamic expandable virtual disk, but a virtual disk of a fixed partition, then we must specify the exact size of the disk; if we specify the size of 127 GB, then this is exactly how much our virtual disk will occupy on the D: drive. Make sure you have enough free space on your D: drive.

note per parameter Copy the contents of the specified physical disk, you can use it if you want to transfer your physical computer along with all the settings to a virtual machine!

The virtual hard disk has been created. When creating a new virtual machine in step Connect a virtual hard disk we can check the box Use an existing virtual hard disk, then click Browse and specify the location of the virtual disk -D:\New virtual hard disk.vhdx

Blue screen when creatingvirtual switch in Hyper-V

Friends, several times I had to deal with the fact that in the new Windows 8.1 operating system in the Hyper-V virtual machine, when creating a virtual switch, the operating system went to a blue screen with the error:

The problem seems to be caused by the following file: fwpkclnt.sys UNEXPECTED_KERNEL_MODE_TRAP *** STOP: 0x0000007f.

I tried to solve the problem in various ways: by reinstalling the virtual machine, restoring system files, removing the antivirus and firewall, updating drivers for all computer components, including the network card. Unfortunately, only changing the network adapter helped.







2024 gtavrl.ru.