You are on page 1of 17

10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

--> -->

NAKIVO Blog >


Hyper-V Administration and Backup >
Hyper-V VM Management > Creating and Configuring VMs in Windows Server 2016 Hyper-V

March 1, 2017 by Brandon Lee

Creating and Configuring VMs in


Windows Server 2016 Hyper-V
In the previous posts, we walked through the initial configuration of our Windows
Server 2016 Hyper-V server. This included installation, administration, storage
settings, network configuration, and remote management. The point of setting up
the Windows Server 2016 Hyper-V hypervisor is to host virtual machines. Thus, let’s
explore how to create and configure VMs in Windows Server 2016 Hyper-V.
See a complete walkthrough in our video tutorial:

NAKIVO – Creating a New VM in Hyper-V

Creating a New VM
First, you need to use the Hyper-V manager to connect to the Hyper-V host. The
Hyper-V manager is included in the Remote Server Administration Tools (RSAT; a
https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 1/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

separate download) for client operating systems such as Windows 10, or included in
the Server Manager “install features” section of Windows Server 2016.
To begin, right-click your Hyper-V host and select New > VM.

This launches the New Virtual Machine Wizard.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 2/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Begin the configuration by selecting a name for your VM.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 3/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Generation of the VM
Next, you are asked to select the Generation of the VM. There are two choices here:
Generation 1 and Generation 2. What are the differences?

Try NAKIVO Backup & Replication:


“Best of VMworld 2018” Gold Award Winner for Data Protection

DOWNLOAD

To start with, Generation-2 VMs are only compatible with Hyper-V versions 2012 R2
and later. Furthermore, Windows Server 2012/Windows 8 64-bit and above are

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 4/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

supported with Generation-2; 32-bit versions of those operating systems do not


work. In fact, if you create a Generation-2 VM and try to boot from an ISO of a 32-bit
OS, you receive an error stating that no boot media can be found. Microsoft has
also been working on support of Generation-2 VMs with Linux. Be sure to check
with your particular distribution, as currently not all are supported with Generation
2. There is one more consideration: for those thinking of moving a previously-
created Hyper-V VM to Azure, Generation 2 is not supported.
For greater compatibility including moving to Azure, Generation 1 VMs should be
selected. If none of the limitations mentioned are true, and you want to utilize such
features as UEFI secure boot, then Generation 2 would be the preferred choice.
Once a VM is created, you cannot change the Generation. Make sure you choose
the right Generation before proceeding.

Memory Management in Hyper-V


The next configuration section is where we can Assign Memory.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 5/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

The memory management in Hyper-V has an option called Dynamic Memory; you
can see the checkbox that can be selected to enable the feature at this stage. If you
choose to enable this option, Hyper-V cooperates with the VM guest operating
system in managing guest operating system memory.
Using the “hot add” feature, Hyper-V expands the guest operating system memory
as memory demands increase within the guest. Dynamic Memory helps to
dynamically and automatically divide RAM between running VMs, reassigning
memory based on changes in their resource demands. This helps to provide more
efficient use of memory resources on a Hyper-V host as well as greater VM density.

When you select Use Dynamic Memory for this virtual machine, you can set
minimum and maximum values for the RAM that is dynamically assigned to the VM.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 6/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Networking Configuration
The next step in our VM configuration is to Configuring Networking. In order for a
particular VM to have connectivity to the network, you must attach a virtual switch
that is connected. You can also leave a VM in a disconnected state; connection to a
network is not a requirement in completing VM configuration. In this example, we
are connecting the VM to the ExternalSwitch, which is a virtual switch connected
with the production LAN.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 7/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Hard Disk Configuration


The next step is configuring the hard disk that is assigned to your VM. There are
three options that you can choose from:
If you choose the Create a virtual hard disk option, you are creating a brand
new vhdx disk on your Hyper-V host. You can set the size of the disk as well.
The wizard defaults to 127 GB, which can easily be changed.
The Use an existing virtual hard disk option lets you attach your new VM
configuration to an existing virtual disk. Perhaps you copied over a vhdx file
that you want to reuse with the new VM configuration. You can simply point
the wizard to the vhdx file with this option.
With the third option – Attach a virtual hard disk later – you can choose to skip
the creation of a hard disk in the wizard and assign a disk later.

There is one significant caveat to the create a virtual hard disk option: you have no
choice in the type of disk that is created. By default, Hyper-V creates “dynamically
expanding” disks, which are thin-provisioned disks. Space is used only as needed.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 8/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

There are some downsides to this approach, however. While the Hyper-V storage
driver generally makes efficient use of resources, for the best performance, many
may still prefer to provision thick disks or fixed size in Hyper-V. To do that, you
should choose the third option and attach a thick virtual hard disk after your VM is
created.

Now available: Free Edition of NAKIVO Backup & Replication – absolutely free for
your Windows Server 2016 Hyper-V, forever!

Installation Options
The next step is to go through the Installation Options. This means configuring how
you want to install the guest operating system (OS) in your new VM.
The most common way is to Install an operating system from a bootable image file.
You need to have an ISO file of the OS saved somewhere on your server. Simply
guide the Wizard to the location using the Browse button.
https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 9/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Your alternatives are to Install an operating system later or Install an operating


system from a network-based installation server.

You’ve now reached the summary of your configuration choices. Once you click
Finish, your VM is created according to the options you specified.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 10/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Now that configuration and creation are complete, you can power on your VM.
Simply right-click the VM and select Start.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 11/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

You can connect to the console by right-clicking the VM and selecting Connect.

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 12/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

After connecting to the console, we should now be able to boot our VM and install
the operating system as usual, through the operating system installation prompts.

Thoughts
We have covered all the configuration options available to you when creating new
VMs in the Hyper-V Manager and walked you through the process of VM creation.
This blog post is the sixth in a series on how to use Microsoft’s Windows Server
2016 and Hyper-V for virtualization. We started with the basics, and are progressing
towards more advanced topics. Next, we show you [link]how to add a fixed-size
(thick-provisioned) hard disk[/link] to a VM through the Hyper-V manager. We also
discuss copying ISO media to Hyper-V hosts and provisioning VMs using PowerShell.
At NAKIVO, we understand Hyper-V. Our team of experts built NAKIVO Backup &
Replication’s functionality while taking all the nuances of Microsoft’s hypervisor into
account. This is why you get seamless, efficient, and reliable Hyper-V backup with
our solution.
Try for yourself in your own (newly created) Hyper-V environment: download the
full-featured free trial.
https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 13/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

4.8 (96.67%) 6 votes

0 Comments Sort by Oldest

Add a comment...

Facebook Comments Plugin

Enter email address

Subscribe

People also read

Protecting Your Backups Try New Features for Restoring Microsoft


with Backup Copy VMware vSphere Backup in Exchange Objects from VM
v6.1 Backup

Older post Newer post

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 14/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Categories

Top Posts

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 15/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

Request Demo Request Demo


Request a live demo by one of our engineers

Download Free Trial Download 


Download a full-featured free trial

See Pricing See Pricing


See the full list of features, editions and prices

Sales Support

Email: sales@nakivo.com Email: support@nakivo.com


Fax: +1 408 516 9464 .
Americas: +1 408 335 7367 (worldwide) Americas: +1 702 605 4495
EMEA: +44 20 7097 1535 Europe: +44 207 193 1230
Taiwan: +886 2656 5928 Asia: +886 2 2656 5927

NAKIVO on social media:

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 16/17
10/7/2020 How to Create and Configure VMs in Windows Server 2016 Hyper-V

   

Get special offers and updates:

Enter email address

Subscribe

©2020 NAKIVO, Inc. All Rights Reserved Privacy Policy | EULA

https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v/ 17/17

You might also like