You are on page 1of 23

Course 20740A: Installation,

Storage, and Compute with Windows


Server 2016
Microsoft Hyper-V Classroom Setup Guide
Contents
Microsoft Labs Online 1
Digital Courseware 2
Introducing Microsoft Hyper-V 2
Windows 10 Virtual Machine Activation 3
Setup Overview 4
Classroom Requirements 4
Hardware 4
Software 5
Classroom Configuration 5
Instructor Computer Checklist 5
Instructor Computer Setup 6
1. Install the Hyper-V server role 7
2. Install the virtual machine files 8
3. Create virtual switches 11
4. Create a setup share 11
5. Copy the virtual machine files to the student computer 11
6. Run the VM-Pre-Import script 12
7. Import the virtual machines on the instructor computer 12
8. Configure the virtual machines on the instructor
computer 13
9. Configure the host computer to boot to the
20740A-LON-HOST1.vhd 14
10. Install the PowerPoint slides 15
Student Computer Checklist 16
Student Computer Setup 16
1. Install the Hyper-V Server role 16
2. Install the base image and virtual machine files 16
Appendix A Keyboard Layout 17
Appendix B: Activating the Windows 10 Virtual Machine 18
To Configure the MSL-TMG1 Virtual Machine 19
Information in this document, including URL and other Internet Web site references, is subject to change
without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail
addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real
company, organization, product, domain name, e-mail address, logo, person, place or event is intended or
should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without
limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a
retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording,
or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. Except as expressly provided in any written license agreement from
Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,
copyrights, or other intellectual property.

The names of manufacturers, products, or URLs are provided for informational purposes only and Microsoft
makes no representations and warranties, either expressed, implied, or statutory, regarding these manufacturers
or the use of the products with any Microsoft technologies. The inclusion of a manufacturer or product does not
imply endorsement of Microsoft of the manufacturer or product. Links may be provided to third party sites.
Such sites are not under the control of Microsoft and Microsoft is not responsible for the contents of any linked
site or any link contained in a linked site, or any changes or updates to such sites. Microsoft is not responsible
for webcasting or any other form of transmission received from any linked site. Microsoft is providing these links
to you only as a convenience, and the inclusion of any link does not imply endorsement of Microsoft of the site
or the products contained therein.

2016 Microsoft Corporation. All rights reserved.

Microsoft and the trademarks listed at http://www.microsoft.com/trademarks are trademarks of the Microsoft
group of companies. All other trademarks are property of their respective owners.

Product Number: 20740A

Version 1.2
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 1

Microsoft Labs Online


Microsoft Labs Online (online or hosted labs) are available for this and other
Microsoft Official Courseware (MOC) courses. This provides an alternative to the
lab setup and configuration that is outlined in this document, where the course
virtual machines are accessed on Microsoft Learnings hosted lab platform, rather
than on physical local machines.

Requirement for accessing hosted labs


Hosted labs still require that each student have a host computer to access the
course lab environment, but the host computer does not need to meet the same
specifications as when the virtual machines are running locally.
The general requirements for student machines are as follows:
A valid operating system such as Windows 7 or newer
Microsoft Internet Explorer, or another supported web browser
Internet access
You should refer to your individual hosting provider for more specific details.
In addition, there may be some variations in steps for labs that are run in a
hosted environment as opposed to a local environment. Details of any variations
in lab steps can be found in the Lab Notes on the hosted lab platform.
If you are using hosted labs instead of on-premises labs, become familiar with
how to access and configure the labs. Ensure that you are ready to demonstrate
their use to students when starting the class, and that everything is in place for
students to have a smooth experience.
You can purchase Microsoft Labs Online for use during course delivery at the
same time you order the course materials.

Note: Some labs may not be available on the Microsoft Labs Online platform
due to specific requirements in the lab steps, such as labs with a boot to vhd
or "native boot" requirement. Therefore, you should evaluate the labs in your
course before deciding whether to use local labs or Microsoft Labs Online labs.
2 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Digital Courseware
If you are using digital courseware via the Skillpipe reader from Arvato, if the
course contains a boot to vhd or native boot scenario in some or all of the
labs, students will not be able to view the online courseware content and lab
steps in the Skillpipe reader while their host machine is offline. In this particular
scenario, use one of the following options:
1. Have two network interface cards (NICs) in the host machines.
2. Print out the Lab steps for the particular module.
3. Ask student who have their own devices to bring them to the class.
4. Configure two virtual machines prior to the class to allow access to the
content offline.
Depending on your particular situation, consider implementing one of the above
options. Further details and considerations for these workarounds and options
are available on the Born To Learn website at http://borntolearn.mslearn.net, and
have also been sent out via partner and Microsoft Certified Trainer (MCT)
newsletters.

Important: Additional virtual machine configuration may be required.


Therefore, you should allow enough time to assess your situation and make
appropriate decisions.

Introducing Microsoft Hyper-V


Note: This setup requires Windows Server 2012 with Hyper-V. To import virtual
machines successfully to Hyper-V in Windows Server 2012 you will have
to run the VM-Pre-Import scripts, which will link the differencing drives to the
Base and Middle-Tier images in the D:\Program Files\Microsoft Learning
\20740\Drives\VirtualMachineName\Virtual Hard Disks\folders.

This learning product is designed using Hyper-V running on Windows Server


2012. Windows Server 2012 R2 is not supported. Hyper-V is a virtualization
technology that allows a single computer to act as a host for one or more virtual
machines. The virtual machines use a set of virtual devices that might or might
not map to the physical hardware of the host computer.
The software that is installed onto the virtual machine is unmodified software that
operates exactly as it does when it is installed onto physical hardware.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 3

The following definitions will help you with the remainder of this document:
Hyper-V. Hyper-V is a server application that enables users to run a broad
range of operating systems simultaneously on a single physical server.
Host computer. The physical computer onto which an operating system and
the Hyper-V server role have been installed.
Host operating system. The operating system that is running on the physical
computer. For this course, the only supported host operating system is
Windows Server 2012.
Virtual machine. The computer that is running inside Hyper-V. In this
document, Hyper-V refers to the application running on the host, while
virtual machine refers to the guest operating system and any software that
is running inside the Hyper-V application.
Guest operating system. The operating system that is running inside the virtual
machine.

Note: Pressing CTRL+ALT+DELETE while working with a virtual machine will


display the Windows Security page for the host operating system. To close the
page, press the ESC key. To access the Windows Security page for a guest
operating system, press CTRL+ALT+END. Other than this difference, software
on a virtual machine behaves as it would behave on a physical computer.

You can configure virtual machines to communicate with the host computer,
other virtual machines on the same host computer, other host computers, virtual
machines on other host computers, other physical computers on the network, or
any combination thereof.
The setup instructions that you will follow as part of this classroom setup guide
will configure Hyper-V and the virtual machines that run on the host. Changing
any of the configuration settings might render the labs for this learning product
unusable.

Windows 10 Virtual Machine Activation


The virtual machines that you use in this course utilize the Windows 10 operating
system, which you must activate. For detailed instructions, refer to Configure the
Virtual Machines on the Instructor Computer in this document.
For more information about this requirement, and for steps about how to obtain
product keys for activation, refer to: Product Key Distribution for Activation of
Windows (for MOC lab virtual machines only) at:
http://go.microsoft.com/fwlink/?LinkId=270851
4 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Setup Overview
The host computers must be set up with the initial release of Windows Server
2012 and must be running on 64-bit hardware. Windows Server 2012 R2 is not
supported. For more information about the supported hardware for Hyper-V,
refer to: http://www.microsoft.com/hyper-v.
For the purposes of this learning product, it is not necessary for the host
computers to be able to communicate with another network. However, we
recommend that you allow the computers to communicate with each other to
make the setup process easier. The following setup procedures assume that the
host computers can communicate with each other for setup purposes. You
should note the administrators user name and password for the host computers,
and provide this information to the instructor.

Classroom Requirements
This learning product requires a classroom with a minimum of one computer for
the instructor and one for each student. Before class begins, use the following
information and instructions to install and configure all computers.

Hardware
The classroom computers require the following hardware and software
configuration:
Hardware Level 7 (Note the changes for the hard disk and RAM
configuration)
Processor: 64-bit Intel Virtualization Technology (Intel VT) or AMD
Virtualization (AMD-V) processor (2.8 gigahertz (GHz) dual core or better
recommended)
Hard Disk: Dual 500 gigabyte (GB) hard disks 7200 RPM SATA labeled C drive
and D drive
RAM: 16 GB or higher
DVD/CD: DVD; dual layer recommended
Network adapter
Sound card with amplified speakers
Monitor: Dual SVGA monitors 17 or larger supporting 1440X900 minimum
resolution
In addition, the instructor computer must be connected to a projection display
device that supports SVGA 1024 x 768 pixels, 16-bit colors.
In order to view ILT Multimedia video demonstrations, the instructor computer
must have Internet access and bandwidth to allow for video streaming.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 5

Software
Microsoft Office PowerPoint 2007 or newer is required for the host computer
only. Note, PowerPoint is not included in the Training Materials.

Classroom Configuration
Each classroom computer will serve as the host for several virtual machines that
will run in Hyper-V. Domain or workgroup membership for the host computer
does not matter, nor does the network configuration of the host computers. After
completing setup, the host computer will be running the initial release of
Windows Server 2012 and will be configured to run several virtual machines
running Windows Server 2016 and Windows 10.

Estimated time to set up the classroom: 240 minutes

Instructor Computer Checklist


1. Install the Hyper-V Server role
2. Install the virtual machine files
3. Create virtual switches
4. Create a setup share
5. Copy the virtual machine files to the student computer
6. Run the VM-Pre-Import script
7. Import the virtual machines on the instructor computer
8. Configure the virtual machines on the instructor computer
9. Configure the host computer to boot to the 20740A-LON-HOST1.vhd
10. Install the PowerPoint slides
6 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Instructor Computer Setup


Use the instructions in the following section to set up the classroom manually.
Before starting the instructor computer installation, a supported operating
system and Office Power Point 2007 (or newer) must be installed on the
computer.

Important: The operating systems installed on the virtual machines in this


learning product have not been activated, and each virtual machine is in the
Notification state.

As stated earlier, you must activate the Windows 10 client virtual machines for
each of the steps outlined below. However, you do not need to activate the
Windows Server 2012 virtual machines, but you will, at a minimum, need to
apply a grace period by running slmgr rearm at the administrative command
prompt and then restarting. This gives a ten-day grace period before the virtual
machine returns to the notification mode and subsequent hourly shutdowns.
You can view the number of rearms available in the virtual machines by running
the command slmgr -dlv. If you require an extended period, you can activate
the server virtual machines for 180 days.

You do not require a product key to activate the server virtual machines
because they are pre-keyed and can be activated automatically by placing them
online or activating them over the phone. Once that initial 180-day activation
period has expired, you can obtain a second 180-day activation period by
running slmgr -rearm, restarting, and then activating the virtual machine as
outlined earlier.

You can obtain additional context and details on activation states from the
Born To Learn website at:
http://borntolearn.mslearn.net/mct/general/f/482/t/321279.aspx

In addition, when the virtual machine starts for the first time you might be
prompted to restart the computer. This is because of the hardware differences
on the host computer. You can restart the computer, or you can click Restart
Later to close the message.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 7

1. Install the Hyper-V Server role


In this task, you will install the Hyper-V server role on the Windows Server 2012
host computer.

Important: If Hyper-V is installed already, you can skip this procedure.

1. In the Server Manager console, on the Manage menu, click Add Roles and
Features.
2. On the Before you begin page of the Add Roles and Features Wizard, click
Next.
3. On the Select installation type page, select Role-based or feature-based
installation, and then click Next.
4. On the Select destination server page, ensure that the local computer is
selected, and then click Next.
5. On the Select Server Roles page, select Hyper-V.
6. In the Add Roles and Features Wizard dialog box, click Add Features.
7. On the Select Server Roles page of the Add Roles and Features Wizard, click
Next.
8. On the Select features page, click Next.
9. On the Hyper-V page, click Next.
10. On the Create Virtual Switches page, verify that no selections have been made,
and then click Next.
11. On the Virtual Machine Migration page, click Next.
12. On the Default Stores page, review the location of Default Stores, and then
click Next.
13. On the Confirm Installation Selections page, select Restart the destination
server automatically if required.
14. In the Add Roles and Features Wizard dialog box, review the message about
automatic restarts, and then click Yes.
15. On the Confirm Installation Selections page, click Install.
16. Ensure that you restart the machine.
17. After the final restart, sign in using the administrator credentials.
8 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

2. Install the virtual machine files


After installing the Hyper-V server role, you will need to complete the following
steps to copy the base images, middle tiers, and virtual machine files to the
server, and then configure the virtual machines.
Extract the course images
To extract the base images:
1. From the courseware source files location, double-click
Base16D-WS16-TP5.part01.exe.
2. In the Official Microsoft Learning Product License Terms window, click
Accept to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder
text box, ensure that C:\Program Files\Microsoft Learning\Base is listed,
and then click Extract. Wait while the base virtual hard disk file is extracted.
This might take a few minutes.
4. Repeat steps 1 through 3 for the following base drive:
Base16B-W10TH2-Office2016.part01.exe

To extract the middle tier images:


1. From the courseware source files location, double-click
MT16B-TP5-LON-DC1.part1.exe.
2. In the Official Microsoft Learning Product License Terms window, click
Accept to indicate that you accept the terms in the license agreement.
3. In the WinRAR self-extracting archive window, in the Destination folder
text box, ensure that C:\Program Files\Microsoft Learning\Base\Drives is
listed, and then click Extract.
Wait while the middle tier virtual hard disk file is extracted. This might take a
few minutes.

To extract the virtual machines (if required for disk space, you can extract the
course-specific files to a different drive providing the base images and the middle
tiers are located in the default path):
1. From the courseware source files location, double-click
20740A-LON-DC1.part01.exe.
2. In the Official Microsoft Learning Product License Terms window, click
Accept to indicate that you accept the terms in the license agreement.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 9

3. In the WinRAR self-extracting archive window, in the Destination folder


text box, ensure that D:\Program Files\Microsoft Learning\20740\Drives is
listed, and then click Extract.
4. Repeat steps 1 through 3 for the following virtual machines:
20740A-BASE.exe
20740A-LON-DC1-B.part01.exe
20740A-LON-CL1.part01.exe
20740A-LON-SVR1.part01.exe
20740A-LON-SVR1-B.part01.exe
20740A-LON-SVR2.part01.exe
20740A-LON-SVR3.part01.exe
20740A-LON-SVR4.part01.exe
20740A-LON-SVR5.exe
20740A-LON-SVR6.exe
20740A-NANO-SVR1.exe
20740A-LON-HOST1.part01.exe (Will extract to C:\Program Files
\Microsoft Learning\Base)
20740A-LON-NVHOST2.part01.exe
20740A-scripts.exe
20740A-ISOs.part01.exe

Note: After extracting all of the classroom files, you should have the files in the
following table installed.

File In folder
Base16D-WS16-TP5.vhd C:\Program Files\Microsoft Learning\Base
Base16B-W10TH2-Office2016.vhd C:\Program Files\Microsoft Learning\Base
20740A-LON-HOST1.vhd C:\Program Files\Microsoft Learning\Base
MT16B-TP5-LON-DC1.vhd C:\Program Files\Microsoft Learning\Base\Drives
VM-Pre-Import-20740A.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
20740A_ImportVirtualMachines.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
CreateVirtualSwitches.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
TakeVMSnapshot.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
LON-HOST1_VM-Pre-Import-20740A.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
LON-NVHOST2_VM-Pre-Import-20740A.ps1 D:\Program Files\Microsoft Learning\20740\Drives\
10 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

File In folder
20740A-BASE.vhd D:\Program Files\Microsoft Learning\20740\Drives\
20740A-LON-DC1.vhd D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-DC1-Allfiles.vhd \20740A-LON-DC1\Virtual Hard Disks

20740A-LON-DC1-B.vhd D:\Program Files\Microsoft Learning\20740\Drives


\20740A-LON-DC1-B\Virtual Hard Disks

D:\Program Files\Microsoft Learning\20740\Drives


20740A-LON-CL1.vhd
\20740A-LON-CL1\Virtual Hard Disks
20740A-LON-SVR1.vhd
20740A-LON-SVR1-Allfiles.vhd
20740A-LON-SVR1-Disk1.vhd
20740A-LON-SVR1-Disk2.vhd
20740A-LON-SVR1-Disk3.vhd
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR1-Disk4.vhd
\20740A-LON-SVR1\Virtual Hard Disks
20740A-LON-SVR1-Disk5.vhd
20740A-LON-SVR1-Disk6.vhd
20740A-LON-SVR1-Disk7.vhd
20740A-LON-SVR1-Disk8.vhd
20740A-LON-SVR1-Disk9.vhd
20740A-LON-SVR1-B.vhd D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR1-B-Allfiles.vhd \20740A-LON-SVR1-B\Virtual Hard Disks

20740A-LON-SVR2.vhd
20740A-LON-SVR2-Disk1.vhd D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR2-Disk2.vhd \20740A-LON-SVR2\Virtual Hard Disks
20740A-LON-SVR2-Disk3.vhd
20740A-LON-SVR3.vhd
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR3-Disk1.vhd
\20740A-LON-SVR3\Virtual Hard Disks
20740A-LON-SVR3-Disk2.vhd
20740A-LON-SVR4.vhd
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR4-Disk1.vhd
\20740A-LON-SVR4\Virtual Hard Disks
20740A-LON-SVR4-Disk2.vhd
20740A-LON-SVR5.vhd
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR5-Disk1.vhd
\20740A-LON-SVR5\Virtual Hard Disks
20740A-LON-SVR5-Disk2.vhd
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-SVR6.vhd
\20740A-LON-SVR6\Virtual Hard Disks
D:\Program Files\Microsoft Learning\20740\Drives
20740A-NANO-SVR1.vhd
\20740A-NANO-SVR1\Virtual Hard Disks
D:\Program Files\Microsoft Learning\20740\Drives
20740A-LON-NVHOST2.vhd
\20740A-LON-NVHOST2\Virtual Hard Disks
WinServer2016_TP5.ISO D:\Program Files\Microsoft Learning\20740\Drives\
LiteTouchPE_x64.ISO D:\Program Files\Microsoft Learning\20740\Drives\
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 11

3. Create virtual switches


This section creates the virtual switches for this learning product.
1. Browse to D:\Program Files\Microsoft Learning\20740\Drives\.
2. Right-click CreateVirtualSwitches.ps1, and then click Run with PowerShell.
Press Y, and then press Enter if prompted.
3. Press Enter to close the PowerShell window.
4. Start Hyper-V Manager, and then click Virtual Switch Manager.
5. In the Virtual Switches area of the Virtual Switch Manager dialog box,
verify the following virtual switches, and then click Cancel:
Name: Private Network
Name: Cluster Network
Name: iSCSI Storage Network

4. Create a setup share


In this task, you will share virtual machine files for copying to student computers.
1. Share the C:\Program Files\Microsoft Learning\Base folder using a share
name of Base_Drives.
2. Share the D:\Program Files\Microsoft Learning\20740\Drives folder using
a share name of 20740A_Drives.

Note: For information about how to set up a share in Windows Server 2012,
see the topic Share a Resource in Windows Help and Support.

5. Copy the virtual machine files to the student


computer
Note: You must perform the file copy prior to importing the virtual machines.
Once you import the virtual machines, you will not be able to import them
again.

1. From the student computer, copy all of the files from the Base_Drives share
on the instructor computer to C:\Program Files\Microsoft Learning\Base.
2. Copy all of the files from the 20740A_Drives share on the instructor
computer to D:\Program Files\Microsoft Learning\20740\Drives.
12 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Note: Ensure that all files are successfully copied:

D:\Program Files\Microsoft Learning\20740 and all included folders and files


C:\Program Files\Microsoft Learning\Base

3. Ensure that you have copied the files using a permission-retaining software
such as RoboCopy or XCopy.
4. Verify that all permissions have been retained by looking at the directories
above and ensuring that they are not set to Read-Only.
5. Add the virtual machines to the Hyper-V management console. For detailed
instructions see Instructor Computer Setup in this document.

6. Run the VM-Pre-Import script


In this task, you will run the VM-Pre-Import-20740A.ps1 file. This script will create
links to the base and mid-tier images in the import folder which are necessary for
importing each virtual machine.
1. Browse to D:\Program Files\Microsoft Learning\20740\Drives\.
2. Right-click VM-Pre-Import-20740A.ps1, and then click Run with
PowerShell. Press Y, and then press Enter if prompted.
3. At the On which disk drive are the base images extracted prompt, type the
appropriate drive letter to which the base images are extracted, and then
press Enter.
4. At the On which disk drive are the course images extracted prompt, type
the appropriate drive letter to which the course images are extracted, and
then press Enter.
5. Press Enter to close the PowerShell window.

7. Import the virtual machines on the instructor


computer
1. Browse to D:\Program Files\Microsoft Learning\20740\Drives\.
2. Right-click D:\Program Files\Microsoft Learning\20740\Drives
\20740A_ImportVirtualMachines.ps1, and then click Run with PowerShell.
Press Y, and then press Enter if prompted.
3. At the On which disk drive are the course virtual machines extracted
prompt, type the appropriate drive letter to which the course images are
extracted, and then press Enter.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 13

8. Configure the virtual machines on the instructor


computer
1. Open Hyper-V Manager, right-click 20740A-LON-DC1, and then click Start.
2. Right-click 20740A-LON-DC1, and then click Connect. Verify that the
computer starts.
3. Sign in as Adatum\Administrator using a password of Pa$$w0rd. Verify
that the sign in is successful.
4. For Windows Server 2016: Open an administrative command prompt, type
slmgr rearm, press Enter, and then restart the computer.
5. After the computer restarts, sign in as Adatum\Administrator using a
password of Pa$$w0rd.
6. For Windows 10: Information about activation and steps about how to
obtain product keys for activation can be found on the Born To Learn website
at: http://go.microsoft.com/fwlink/?LinkId=270851, and in Appendix B.
7. Only for 20740A-LON-CL1:
i. From the Start screen, type cmd.
ii. Right-click Command Prompt, and then click Run as administrator.
iii. At the command prompt, type the following commands in order. This will
rearm Office 2016:
CD \
CD C:\Program Files\Microsoft Office\Office16
cscript ospp.vbs /rearm

8. Shut down the virtual machine.


9. Repeat steps 1-8 for the following virtual machines:
20740A-LON-CL1
20740A-LON-SVR1
20740A-LON-SVR2
20740A-LON-SVR3
20740A-LON-SVR4
10. Browse to D:\Program Files\Microsoft Learning\20740\Drives.
11. Right-click TakeVMSnapshot.ps1, and then click Run with PowerShell.
12. Press Y, and then press Enter if prompted.
13. At the What do you want to call the Snapshot prompt, type
StartingImage, and then press Enter.
14 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

9. Configure the host computer to boot to the


20740A-LON-HOST1.vhd
1. From the Host computer, open Server Manager. Click Tools, and then click
Computer Management.
2. Expand Storage, click and then right-click Disk Management, and then click
Attach VHD.
3. In the Attach Virtual Hard Disk dialog box, click Browse.
4. Browse to C:\Program Files\Microsoft Learning\Base, click
20740A-LON-HOST1.vhd. Click Open, and then click OK. Note the drive
letter that is associated with the 126.51 GB partition.
5. On the Start screen, type cmd, right-click Command Prompt, and then click
Run as administrator. If required, click Yes.
6. At the command prompt, type bcdboot <driveLetter>:\windows, and then
press Enter. Note that <driveLetter> is the drive letter that was associated
with the 126.51 GB partition.
7. At the command prompt, type bcdedit /set {default} Description 20740A-
LON-HOST1, and then press Enter.
8. In Computer Management, right-click the attached VHD, and then click
Detach VHD. Click OK.
9. Restart the host computer. The computer will restart, and by default, will boot
into the 20740A-LON-HOST1 computer.

Note: These steps configure the server to boot to the 20740A-LON-HOST1


computer as the default. After finishing the course, if you need to boot to the
original host operating system, open a command prompt, type bcdedit and
verify the identifier number for the vhd to remove. Then in the command
prompt, type bcdedit /delete {id_number}, and then press Enter. When you
restart the computer, it will boot to the original operating system.

10. After the server restarts, sign in as Adatum\Administrator using the


password Pa$$w0rd. At the Network page, click Yes if prompted.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 15

Note: In some cases, the computer may display a blue screen with a stop error
when you restart the computer. If this happens, restart the computer, and then
complete the following troubleshooting steps:

1. Boot into the Host installation, and then verify that you have at least 100 GB
of free space on the C: drive.

2. Reboot the computer, access the computer BIOS, and then check the
Controller Mode. If the Controller Mode is set to AHCI, change it to another
option (IDE or compatibility mode). If Controller Mode is set to RAID, move
to the next step.

3. Your disk controller may require a custom driver in order for the operating
system in the VHD to access the hard drives. To install the custom driver,
boot into the Host installation, and then complete the following:

a. Download the hardware-specific storage driver from hardware


manufacturers website. Save the drivers to C:\Drivers folder.

b. Reattach the 20740A-LON-HOST1.vhd file as described in steps 1-4.

c. Open a command prompt, type the following command, and then press
Enter:

DISM /Image:E:\ /Add-Driver /Driver:C:\Drivers /recurse

d. Restart the computer.

11. Open an administrative command prompt, and type slmgr rearm, press
Enter, and then restart the computer. After the computer restarts, sign in as
Adatum\Administrator using the password Pa$$w0rd.
12. Right-click the Start menu and then click Device Manager. Verify that all
drivers have installed correctly. If drivers are missing, consult your hardware
manufacturer for the driver packages and install updated drivers as needed.
13. On the LON-HOST1, open System Properties, and then open Startup and
Recovery. Configure the default operating system to be Windows Server
2012.
14. Restart LON-HOST1 and then boot into the default Windows operating
system.

10. Install the PowerPoint slides


Install the PowerPoint slides for the learning product by extracting the files
included in 20740A-ENU-PowerPoint.exe.
16 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Student Computer Checklist


1. Install the Hyper-V Server role
2. Install the base image and virtual machine files

Student Computer Setup


Use the instructions in the following section to set up the classroom manually.
Before starting the student computer installation, you must install a supported
operating system on the computer. You can review the supported systems list at
http://www.microsoft.com/hyper-v.

Caution: These instructions assume network connectivity between the


instructor computer and the student computers. If you do not have
connectivity, Microsoft Learning recommends copying the activated virtual
machines to the student computers by means of a manually created DVD or
USB drive.

1. Install the Hyper-V Server role


Note: If Hyper-V is installed already, you can skip this procedure.

For detailed instructions, see Instructor Computer Setup in this document.

2. Install the base image and virtual machine files


Note: Ensure that all extracted courseware virtual machine files were copied
successfully from the Instructor computer during the Instructor Computer setup
process.

C:\Program Files\Microsoft Learning\20740 and all included folders and files

D:\Program Files\Microsoft Learning\Base

1. Verify that all permissions have been retained by looking at the directories
above and ensuring they are not set to Read Only.
2. Run the scripts. For detailed instructions, see the Instructor Computer
setup instructions in this document.
3. Add the virtual machines to the Hyper-V management console. For
detailed instructions, see Instructor Computer Setup in this document.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 17

Appendix A: Keyboard Layout


The virtual machines were developed using the English (United States) layout
shown below.

If your physical keyboard does not match the above layout, you might need to
refer to the above layout for the character positions used to sign in. For future
sign-ins and usage throughout the labs, you might want to install your keyboard
layout in the virtual machine.
18 Course 20740A: Installation, Storage, and Compute with Windows Server 2016

Appendix B: Activating the Windows 10


Virtual Machine
Obtaining product keys for activation
To receive product keys that you will use to activate the Windows 10 virtual
machines accompanying this course, follow the guidelines described at:
http://go.microsoft.com/fwlink/?LinkId=270851

Activating a Windows 10 virtual machine


You must first ensure that the Microsoft Forefront Threat Management Gateway
(TMG) virtual machine and any domain controller (if required for the course) have
been started, and that the TMG virtual machine has Internet connectivity. Then,
perform the following steps to activate the Windows 10 virtual machine:
1. On the Windows start page, type cmd.
2. Right-click Command Prompt, and then click Run as Administrator.
3. If prompted, click Yes in the User Account Control dialog box.
4. At the command prompt, type slmgr /ipk <product key>, and then press
Enter.
5. Click OK in the dialog box.
6. At the command prompt, type slmgr /ato, and then press Enter.

Note: In order for you to activate the virtual machine successfully, the virtual
machine must have Internet connectivity.

7. In the dialog box, click OK.

NOTE: The Windows 10 client virtual machines will need Internet access to
allow activation. This is provided through the MSL-TMG1 virtual machine. The
virtual machine and associated Setup guide is available from the MCT
Download Center. High-level details are included below.
Course 20740A: Installation, Storage, and Compute with Windows Server 2016 19

To configure the MSL-TMG1 virtual machine


1. Set up the MSL-TMG1 virtual machine. You can download the MSL-TMG1
virtual machine and its related Setup guide from the MCT Download Center in
the Base Virtual Hard Disks Mid-Tiers (ENGLISH) folder. The TMG virtual
machine requires Base11A-WS08R2SP1.VHD, which also is available on the
MCT Download Center in the Base Virtual Hard Disks (ENGLISH) folder.
2. Configure the MSL-TMG1 virtual machine to use dynamic memory.
a. In the Hyper-V management console, access the MSL-TMG1 virtual
machine settings.
b. Click Memory, click Enable Dynamic Memory, and then set Startup
RAM to 1024 MB and Maximum RAM to 4096 MB.
3. Perform the following additional configuration changes on MSL-TMG1:
a. Change the IP addresses as follows: virtual machine to 172.16.0.1, subnet
mask: 255.255.0.0, and DNS: 172.16.0.10.
b. Open Forefront TMG Management.
c. Click Networking, click the Networks tab, click Internal, and then click
Edit Selected Network.
d. In the Internal Properties dialog box, click the Addresses tab, and then
click the Add Adapter button.
e. Select Private, and then click OK.
f. Click OK again, and then click the Apply button.
g. Click Apply one more time, and then click OK.
h. Click the Web Access Policy node, and enable the Allow Web access for
All Users access rule.

You might also like