Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Creating VMs on Windows 10 Using Hyper-V

DZone's Guide to

Creating VMs on Windows 10 Using Hyper-V

The Hyper-V Manager on Windows 10 takes the pain out of setting up new VMs. Learn how to provision, customize, and configure your VMs for Windows.

· Cloud Zone
Free Resource

Are you joining the containers revolution? Start leveraging container management using Platform9's ultimate guide to Kubernetes deployment.

If you are running Windows 10 and your system has hardware support for Hyper-V, you can create an isolated storage to deploy your own virtual machine and use it. You can create one or more virtual machines and run them at the same time.

In this blog post, we are going to discuss, in detail, the process to create a virtual machine using the Hyper-V Manager on Windows 10.

How to create a Virtual Machine in Hyper-V on Windows 10? (www.kunal-chowdhury.com)

Let's assume that your system supports hardware virtualization (Hyper-V) and you have already installed the Hyper-V Manager. In case you didn't install it, open the 'Windows Feature' from the Control Panel and install the same. To get started with creating our first virtual mMachine, open the Hyper-V Manager. As shown in the below screenshot, click on 'New' -> Virtual Machine, from the right side panel, to begin the creation process of new virtual machine (VM):

Windows 10 Hyper-V Manager (www.kunal-chowdhury.com)

The following wizard will help you to create your new virtual machine based on default or custom configuration. After creation of the VM, if you want to change any configuration settings, you can do so later at any time. Click the 'Next' button on this screen to continue.

Before you Begin screen of Virtual Machine Wizard (www.kunal-chowdhury.com)

In the following screen, you will be allowed to give a name and location for this virtual machine. The name will be displayed in the Hyper-V Manager dashboard so that you can easily identify it. Select a proper location to host the VM, or go with the default one. When you are ready, click 'Next' to continue.

Specify name and location of your VM (www.kunal-chowdhury.com)

The 'Generation' page allows you to select the generation type of your VM that you are going to create. If you want it to have support for both 32-bit and 64-bit guest operating systems, select 'Generation 1'. In case you want to have a 64-bit operating system hosted in the VM and/or want to have support for UEFI-based firmware, select 'Generation 2'. When you are done, click on 'Next' to continue.

Remember that you cannot modify this setting
once the virtual machine is created.

Specify the generation of Virtual Machine that you want to use (www.kunal-chowdhury.com)

The following screen will allow you to specify the RAM size that you would like to assign to your virtual machine. Allocate higher memory to improve the performance of the system. Click on 'Next' to continue.

Assign the Virtual Memory to your VM (www.kunal-chowdhury.com)

The next screen will allow you to assign a virtual network adapter for your virtual machine. Select from the available list or keep it as 'Not Connected'. You can configure it later, once the VM gets created. Click 'Next' to continue.

Configure the networking of your VM (www.kunal-chowdhury.com)

Now, it's time to create a storage space for your virtual machine. You can create a new Virtual Hard Disk, assigning a size, from this screen. You can also attach an existing virtual hard disk or keep it open to attach the virtual disk later. Click 'Next' to continue to the next screen.

Create a Virtual Disk (www.kunal-chowdhury.com)

In this screen, you can install an operating system in your Virtual Machine. If you have an ISO/DVD image of the operating system installation media, select that or select 'Install an operating system later' to install it after the creation of the VM. When you make your choice, click on 'Next' to continue.

Choose the installation option of your Operating System (www.kunal-chowdhury.com)

The next screen will give you a summary of what's going to build now. It will list down all the configurations that you made. Review the settings and click on 'Finish' to proceed towards virtual machine creation.

Finish creating your VM (www.kunal-chowdhury.com)

Once the virtual machine gets created, it will be listed under the Virtual Machines section of the Hyper-V Manager/Dashboard, as shown in the below screenshot:

Hyper-V Manager dashboard listing your newly created VM (www.kunal-chowdhury.com)

As discussed in the step-by-step process above, this procedure will create a new virtual machine on your Windows 10 system. In the next article, we will learn how to install an operating system on your virtual machine. Later, we will also discuss how to modify the configuration settings at a later point in time.

Using Containers? Read our Kubernetes Comparison eBook to learn the positives and negatives of Kubernetes, Mesos, Docker Swarm and EC2 Container Services.

Topics:
windows 10 ,hyper-v ,virtual machine ,cloud

Published at DZone with permission of Kunal Chowdhury, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}