Windows Server 2016: Installation and Configuration: Command References
Windows Server 2016: Installation and Configuration: Command References
Windows Server 2016: Installation and Configuration: Command References
Command References
• 8GB of RAM available for the virtual machine (it can be done with as little as 1GB but small amounts
of memory allocated to the virtual machine will respond more slowly)
• Windows Server 2016 DVD or *.iso file – evaluation copies of Server 2016 may be available for
download from Microsoft’s website
Steps:
Create a New Virtual Server
Install Windows Server 2016 Standard Edition
Create and Mount Virtual Hard Drives
Configure New Drives in Windows Server 2016
Under the Action menu, select New > Virtual Machine… to start the New Virtual Machine Wizard. Name
your new virtual machine Server 2016 Drive Configuration Lab and click Next >.
Choose to create a Generation 1 virtual machine, especially if you are uncertain about your processor’s
compatibility with virtualization support, and click Next > to continue.
Next you will specify the amount of memory that will be available to the virtual machine. If you have 8GB
available, enter 8192 in the box. You can enter more or less based on available resources and the virtual
On the Connect Virtual Hard Disk screen you will want to Create a virtual hard disk. The defaults for the
name and location should be fine. Change the Size to 100 and click Next >
Here you will specify that you want to install from the Server 2016. Select the second option: Install an
operating system from a bootable CD/DVD-ROM, then select your DVD drive if installing from physical
media or select Image file (.iso) is installing from a downloaded image. Browse to the Server 2016 image
before clicking Next >.
When your summary page looks something like this you can click the Finish button.
Select your new virtual machine from the top, center pane of Hyper-V Manager and open your new virtual
machine by selecting the Action menu and clicking Connect…
Set your language and region and begin the installation. If you downloaded an evaluation, or if you plan
to delete this virtual machine upon completion of this exercise, you may continue without entering a
product key using the link at the bottom of the install screen.
When prompted to select an operating system to install, select Windows Server 2016 Standard (Desktop
Experience). Accept the license agreement and continue to the screen where you can select upgrade or
custom. Choose Custom: Install Windows only (advanced).
On the next screen you get to make some decisions about how the first hard drive is configured. It is
currently unallocated, meaning no partitions or volumes have been defined. Click on the New link to
create your Windows partition. Server 2016 needs a minimum system partition of 32GB. This lab will not
require us to install roles, features, and apps that take a lot of space, but minimums are never good, so
enter 50000 in the size box and click the Apply button. A dialog will appear to let you know that Windows
might create an additional recovery partition. This is for information only and does not give you anything
to select, so click the OK button to clear the dialog. Make sure your new partition, 48.3GB in size, is
selected and click the Next button to continue.
You now have between 10 minutes and an hour to wait, depending on the amount of RAM and other
resources available to the virtual machine. When it is complete it will reboot the virtual machine. When the
installation is almost complete you will be prompted to enter a password for the adminsitrator account.
It should have uppercase and lowercase letters as well as a number and symbol, so use Action1! for the
password. Type it twice and continue so Windows can complete the installation.
Notice in the diagram below that you have one physical disk, labeled Disk 0 and that it is a basic disk.
You also have a CD/DVD drive assigned the letter D:. In Disk 0 you can see the recovery partition that
Windows created, labeled System Reserved, and the 48.34GB partition (C:) that you created during
installation. You also have just over 50GB not assigned to a partition. If your disk manager looks like this,
you are ready to continue.
Adding a hard drive to a server is most easily done when the server is powered down, so shut down your
virtual server and return to the Hyper-V Manager. Watch the top, center pane of Hyper-V Manager to
confirm that your lab server is in the Off state. Then you can single-click the lab machine and under the
Action menu select Settings…
On the left you will see a hardware list for your server. Click on IDE Controller 0 and notice the option to
• Dynamically Expanding
• <<default path>>
• Create: 50GB
If your summary screen looks like this, click the Finish button to return to the settings for your virtual
server.
You now have a server with three hard drives installed. The first time you launch the disk manager you will
be prompted to initialize the disks so they can be part of the managed resources. Go ahead and do this,
selecting MBR as the partition type.
You are prepared to experiment with different types of volumes to see their setup processes and their
limitations. Feel free to explore these features on your own. I have provided a few exercises below that,
if you choose to follow them, must be done in order. As always, I encourage you to become familiar with
these configurations through experience in a safe lab environment before configuring production servers.
This lab environment is a great way to learn.
• Enter the amount of shrink (the amount to cut out) at 24499 and click the Shrink button
• Confirm that all three disks will be converted and click the Convert button
• Select Disk 2 as the location of the mirror and click the Add Mirror Button
• The server will copy everything from the C drive to the allocated space on the 3rd disk (will take
several minutes)
• Proceed through the wizard and select the remaining two drives by double-clicking them one at a
time until all three appear in the Selected box and none are in the Available box
• The amount of space per drive is already set to the maximum space on the smallest drive; change
the number to 25000 and click next
• Change the file system to ReFS, change the volume label to RAID5, and check the box for quick
format.
• Check the box for a quick format and finish the wizard
• Right click on the volume labeled Extended and select Extend Volume