HyperV How to Virtualize Computing Environment in Windows  featured

 

With Hyper-V Windows 10 can run any operating system as a Virtual Machine. We show you how to setup Hyper-V and how to connect it to the network.


A) Adding Hyper-V to Windows 10
B) Using the Hyper-V Manager
C) Network Sharing & Internet: Creating a Virtual Switch in Hyper-V
D) Creating a Windows Virtual Machine with Hyper-V

 

A) Adding Hyper-V to Windows 10

In Windows 10 Hyper-V isn’t available by default and comes as an optional component which needs to be installed. To install Hyper-V you need some simple steps and a few minutes.

Press Windows key + X and click on Programs and Features.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_001_winbuzzer
Click Turn Windows features on or off.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_002_winbuzzer
Check Hyper-V and click on OK. This will add Hyper-V to your Windows 10 feature set.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_003_winbuzzer

After installing this feature, you will have to restart your computer.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_004_winbuzzer

B) Using the Hyper-V Manager

To launch the Hyper-V Manager, press Windows key + S and type hyper-v and click on the result.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_005_winbuzzer

Another way to open the program is to open the Start menu and click on All apps. You can find the Hyper-V manager under Windows Administrative Tools.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_006_winbuzzer

Hyper-V Manager should automatically connect to the host-computer which should appear as a child in the left panel. The host-system is also called the Hyper-V Server.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_007_winbuzzer

If it doesn’t show your computer as a Hyper-V Server, then you will have to click on Connect to server from the right panel under Hyper-V Manager.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_008_winbuzzer

Select Local computer and finish with OK.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_009_winbuzzer

To change where your local machines will be saved, you need to click on Hyper- Settings and address the new location on your computer.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0010_winbuzzer

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0011_winbuzzer

C) Network Sharing & Internet: Creating a Virtual Switch in Hyper-V

Hyper-V uses virtual switches to connect virtual machines (VM) to the Internet or other networks. The virtual switch is basically a bridge between the virtual hardware network adapter inside the VM to the real network adaptor of the Hyper-V Server (the host-system).

As your VMs would be unable to connect to the Internet without a virtual Switch, you should create one before creating your first VM.

In the right panel, under your computer’s name, click on Virtual Switch Manager.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0013_winbuzzer

Select New virtual network switch on the left, choose External and click on Create Virtual Switch.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0014_winbuzzer

Type a name for your new Virtual Switch and select External network. You also need to select a host network adapter to work with this switch, using the drop down list.

To give your Hyper-V virtual machine Internet access, choose the adapter your host system uses to connect to the Internet. Click on OK to finish.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0015_winbuzzer

Click on Yes to apply all the changes. you might experience a brief interruption of your internet connection.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0016_winbuzzer

Now if you check your Network Connections, you’ll find the new switch that Hyper-V has created. This switch will be visible both on the host-system and inside virtual machines.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0017_winbuzzer

D) Creating a Windows Virtual Machine with Hyper-V

On the right sidebar, click on New > Virtual Machine.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0018_winbuzzer

Click Next.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0019_winbuzzer

Type a name for your virtual machine and click on Next. If you want to store your virtual machine on some other place in your computer, just check Store the virtual machine in a different location and select the alternative location on your computer.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0020_winbuzzer

Choose the preferred Generation 1 for your virtual machine regarding your 32 or 64 bit operating system. If you don´t want to use a 32Bit operating system, you should go for Generation 2.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0021_winbuzzer

Now you need to assign memory for your VM. Check Use Dynamic Memory for this virtual machine and click on Next. How much memory you should choose, depends on your system resources and the minimum requirements of the guest operating system.

More RAM will also result in better performance of the Virtual Machine. But if you go to the limit of your host system this might slow down the host together with the VM.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0022_winbuzzer

Here you have to configure networking by choosing a virtual switch that you have installed it previously. Select it from the drop down list and click on Next.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0023_winbuzzer

Your VM needs a storage so you need to specify the size and the path for those virtual hard disks. 20 GB will be enough for a fresh installation but if you want to install apps or programs, you should consider more space.

Hyper-V uses dynamically expanding virtual hard disks in VHDX format. That means you can give a virtual machine 500GB of disk space which will not be used instantly. The virtual disk will only get as big as the files stored inside the VM require. Therefor it is usually better to create large virtual disks on installation.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0024_winbuzzer

How do you want to install the operating system? From a CD/DVD or an Image file? Here we select Image file (.iso) but if you want to install from a CD/DVD you can choose Physical CD/DVD drive.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0025_winbuzzer

Check if your settings are OK and click on Finish.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0026_winbuzzer

That´s all. Your virtual machine has been created and you can install your OS like on a real PC.  Click on Connect and when the virtual machine windows opens, click on Start to boot the machine.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0027_winbuzzer

Good to go!

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0028_winbuzzer

Here you go! Now you can install the OS with your custom settings as you have done before on a physical computer.

HyperV_How_to_Visualize_Computing_Environment_in_Windows_10_0029_winbuzzer