Create Your First Virtual Machine in Hyper-V 2019

It is time to create and configure your first virtual machine in Hyper-V 2019 Core Server. If you have missed previous three articles please check them on the links below:

Part 1: How to install Hyper-V 2019 Server Core?
Part 2: Hyper-V 2019 Core Server – Initial Configuration
Part 3: Hyper-V 2019 Core Remote Management

The procedure of creating virtual machines is the same as the procedure in other Hyper-V versions including Hyper-V 2012, Hyper-V 2016 and Hyper-V Client in Windows 8, Windows 8.1 and Windows 10. Our focus in this article is to create a virtual machine that will host Windows 10. We will not focus on the details, but only necessary steps to create the first virtual machine.

We will break this article into two steps. The first one will show you how to create a virtual switch so that our virtual machine is reachable via the network. The second step described the way how to create a virtual machine.

Step 1: Create a virtual switch

The first step is to create virtual switches that will provide virtual machines the possibility to communicate with the rest of the network. In order to do so, please follow the instructions below.

  1. Log on Windows 10
  2. Click on Start Menu and type Hyper-V Manager
  3. Open Hyper-V Manager on your Windows 10
  4. Select your Hyper-V 2019 Server. In our case it is Hyper-V
  5. On the right side click on Virtual Switch Manager
  6. Under Create virtual switch click Internal and then click Create Virtual Switch
  7. Type the name of virtual switches. In our example it is Internal.
  8. Click Apply and then OK

Step 2: Create a Virtual Machine and install Windows 10

  1. Open Hyper-V Manager
  2. Select your Hyper-V 2019 Server. In our case it is Hyper-V.
  3. On the right side click on New and then click on Virtual machine
  4. Under Before You Begin click Next
  5. Under Specify Name and Location type Windows 10
  6. Choose the generation of the virtual machine and click Next. In our case, we will choose Generation 1.
  7. Assing system memory to the virtual machine and deselect „Use Dynamic Memory for this virtual machine“. In our case, we have assigned 8 GB.
  8. Under Configure Network choose the network card that we added in the previous step and then click Next. It should be Internal.
  9. Under Connect Virtual Hard Disk, choose the location and the size of the hard disk and then click Next. In our case, it is default location and 40 GB of disk size.
  10. Under Installation Options, select Install an operating system for a bootable CD/DVD-ROM
  11. Select the Image file (.iso) and browse for Windows 10 ISO file and then click Next
  12. Click Finish
  13. Right click on created VM and click Start
  14. Install Windows 10
  15. Congratulations, you have done it!
ABOUT THE AUTHOR

Jasmin Kahriman


Jasmin is a tech-savvy Systems Engineer with over 15 years of experience in IT infrastructure, holding multiple IT certifications including CNIP, MTA, MCP, MCSA, MCT, Server+, and Network+.