You are on page 1of 20

20410D: Installing and Configuring Windows

Server 2012
Microsoft Hyper-V Classroom Setup
Guide
Contents
Microsoft Labs Online
1
Digital Courseware
2
Introducing Microsoft Hyper-V
2
Windows 8.1 Virtual Machine Activation
3
Setup Overview
3
Classroom Requirements
4
Hardware
4
Software
4
Classroom Configuration
4
Instructor Computer Checklist
5
Instructor Computer Setup
6
1. Install the Hyper-V Server Role
6
2. Create a Private Virtual Network
7
3. Install the Virtual Machine Files
8
4. Create a Setup Share
10
5. Copy the Virtual Machine Files to the Student Computer 10
6. Run the VM-Pre-Import Script
11
7. Import the Virtual Machines on the Instructor Computer
11
8. Configure the Virtual Machines on the Instructor Computer 12
9. Configure the Host Computer to Boot to the
20410D-LON-HOST1.vhd
13
10. Install the PowerPoint Slides
14
Student Computer Checklist
15
Student Computer Setup
15
1. Install the Hyper-V Server Role
15
2. Install the Base Image/Virtual Machine Files
15
Appendix A
16
Appendix B: Activating the Windows 8.1 Virtual Machine
17

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, email 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.
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 are 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.
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.
Copyright 2014 Microsoft Corporation. All rights reserved.
Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty
/Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other trademarks are
property of their respective owners.

Product Number: 20410D

Version 1.2

20410D: Installing and Configuring Windows Server 2012

Microsoft Labs Online


Microsoft Labs Online, which are 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 this document outlines, in which you access the courses
virtual machines on a hosted platform rather than on physical local machines.

Requirement for Accessing Hosted Labs

The use of hosted labs means that each student still needs a host computer to access the
course lab environment. However, this host computer does not need to meet the same
specifications as when the virtual machines are running locally.
Student machines must meet the following requirements, including that they have:

A valid operating system, such as Windows 7 or newer.


Internet Explorer or a supported Web browser.
Internet access.

You should refer to your individual hosting provider for specific details.
Also, there may be some variations in steps for labs that run in a hosted environment as
opposed to a local environment. You will find details of any variations in lab steps in the
Lab Notes on the hosted lab platform.
If you are using hosted labs, instead of on-premises labs, become familiar with how the
labs are accessed and configured. You should 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
that you order the course materials.

Important Note: Some labs may not be hostable due to specific requirements in the lab steps,
such as labs that require booting to virtual hard disk or native boots. Therefore, you should
validate the labs before deciding whether to use local or hosted labs.

20410D: Installing and Configuring Windows Server 2012

Digital Courseware
If you are using digital courseware via the Arvato Skillpipe reader, and the courses labs
contain scenarios in which you have to boot to virtual hard disk or perform a native boot,
some students will not be able to view the online courseware content and lab steps in the
Arvato Skillpipe reader while their host machine is offline. In this particular scenario,
there are several options available, including that you can:
1.
2.
3.
4.

Have two Network Interface Cards in the host machines.


Print out lab steps for the modules in question.
Ask students who have their own devices to bring them to the class.
Configure access to virtual machines before the class to allow access to the content
offline.

You should consider and implement one of the above options depending on your
particular situation. Further details and considerations for these workarounds and options
are available on the Born To Learn web site at http://borntolearn.mslearn.net, and have
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 an appropriate decision.

Introducing Microsoft Hyper-V


Important Note: This setup requires Windows Server 2012 Hyper-V. To import virtual
machines successfully to Windows Server 2012 Hyper-V, you will have to run the
VM-Pre-Import scripts. These scripts associate the virtual hard disks in the D:\Program Files
\Microsoft Learning\20410\Drives\VirtualMachineName\Virtual Hard Disks\ folders with the
appropriate base images or middle tier drives.

This learning product is designed using Microsoft Hyper-V running on Windows Server
2012. 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, full-version, retail
software that operates exactly as it does when it is installed onto physical hardware.
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.

20410D: Installing and Configuring Windows Server 2012

Host Operating System: The operating system that is running on the physical
computer. For this course, Windows Server 2012 is the only supported host operating
system.

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 dialog box for the host operating system. To close the dialog
box, press Esc. To access the Windows Security dialog box 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 configure
Hyper-V and the virtual machines that run on the host. Changing any of the configuration
settings may render the labs for this learning product unusable.

Windows 8.1 Virtual Machine Activation


You have to activate Windows 8.1-based virtual machines that you use in this course. For
detailed instructions, refer to Configure the Virtual Machines on the Instructor
Computer in this document
For more information about this new requirement, and for steps about how to obtain
product keys for activation, refer to Product Key Distribution for Activation of
Windows 8 and Windows 8.1 (for MOC lab virtual machines only) at
http://go.microsoft.com/fwlink/?LinkId=270851.

Setup Overview
The host computers must be set up with a 64-bit version of Windows Server 2012 and
must be running on 64-bit hardware. For more information about the supported hardware
for Hyper-V, please 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 them to communicate
with each other to make the setup process easier. The setup procedures below assume that
the host computers can communicate with each other for setup purposes. You should note

20410D: Installing and Configuring Windows Server 2012

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 configuration)

Processor: 64-bit Intel Virtualization Technology (Intel VT) or AMD Virtualization


(AMD-V) processor, with 2.8 gigahertz (Ghz) or better dual core recommended

Hard Disk: Dual 500 gigabyte (GB) hard disks 7200 RPM Serial ATA (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 Super VGA (SVGA) monitors, 17 inches or larger supporting 1440 x
900 minimum resolution

Additionally, the instructor computer must be connected to a projection display device


that supports SVGA 1024 x 768 pixels, 16-bit colors.

Software

Please note that, unless otherwise indicated, this software is not included on the Trainer
Materials disc. This learning product was developed and tested on supported Microsoft
software, which is required for the classroom computers.
Also required, but not included in the Training Materials: Microsoft Office PowerPoint
2007 or later (instructor computer only).

Classroom Configuration
Each classroom computer will serve as the host for several virtual machines that will run
in Hyper-V. The lab for module 13 requires a boot-from-VHD configuration. For this
module each host computer must not be able to communicate with other computers on the
network. This is only required for module 13. After completion of the setup, all
computers will be configured to run several virtual machines running Windows
Server 2012 R2 and Windows 8.1.

20410D: Installing and Configuring Windows Server 2012

Estimated Time to Set Up the Classroom: 120 Minutes

Instructor Computer Checklist


1. Install the Hyper-V Server Role
2. Create a Private Virtual Network
3. Install the Virtual Machine Files
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 20410D-LON-HOST1.vhd
10. Install the PowerPoint Slides

20410D: Installing and Configuring Windows Server 2012

Instructor Computer Setup


Use the instructions in the following section to set up the classroom manually. Before
starting the instructor computer installation, you must have a supported operating system
and Office PowerPoint 2007 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 8.1 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 an extended period is required, it is also possible to 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.
Some additional context and details on activation states can be obtained from the
Born To Learn website at:
http://borntolearn.mslearn.net/mct/general/f/482/t/321279.aspx
Also, you may be prompted to restart the computer when the virtual machine is
started for the first time. This is because of the hardware differences on the host
computer. You can restart, or you can click Restart Later to close the message.

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.

20410D: Installing and Configuring Windows Server 2012

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, log on using the administrator credentials.

2. Create a Private Virtual Network

This section lists the networks created for this learning product. These steps are required
if you do not created a private virtual network:
1. In Server Manager, click Tools, and then click Hyper-V Manager.

2. In Hyper-V Manager, click the local computer, and then on the Actions pane, click
Virtual Switch Manager.
3. In the Virtual Switch Manager dialog box, select New virtual network switch.
Ensure that Private is selected, and then click Create Virtual Switch.
4. In the Virtual Switch Properties area of the Virtual Switch Manager dialog box,
specify the following information, and then click OK:

Name: Private Network

Connection type: Private network

5. Repeat steps 2 through 4 to create another virtual switch named Private Network 2.

20410D: Installing and Configuring Windows Server 2012

3. Install the Virtual Machine Files

After installing the Hyper-V server role, you will need to perform 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
Base14A-WS12R2.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.
Please 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 drives:

Base14C-W81-Office2013.part01.exe

Please wait while the base virtual hard disk file is extracted. This might take a few
minutes.
To extract the middle tier images:
1. From the courseware source files location, double-click
MT14A-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.
Please wait while the middle tier virtual hard disk file is extracted. This might take a
few minutes.
To extract the virtual machines:
If disk space is an issue, you can extract the course-specific files to a different drive, as
long as the base images and the middle tiers are in the default path. To extract the virtual
machines:
1. From the courseware source-files location, double-click
20410D-LON-DC1.part1.exe.

20410D: Installing and Configuring Windows Server 2012

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 D:\Program Files\Microsoft Learning\20410\Drives is listed, and then
click Extract.
Wait while the virtual hard disk file is extracted. This might take a few minutes.
4. Repeat steps 1 through 3 for the following files:

20410D-LON-CL1.exe
20410D-LON-CL2.exe
20410D-LON-CORE.part01.exe
20410D-LON-RTR.part01.exe
20410D-LON-SVR1.part01.exe
20410D-LON-SVR2.part1.exe
20410D-LON-SVR3.exe
20410D-LON-HOST1.part1.exe (this virtual hard disk will extract to
C:\Program Files\Microsoft Learning\Base)
20410D-scripts.exe
Windows2012R2RTM.part01.exe

Note: After completing the extraction of all of the classroom files, the files listed in
the following table should have been installed.
File

In folder

Base14A-WS12R2.vhd

C:\Program Files\Microsoft Learning\Base

Base14C-W81-Office2013.vhd

C:\Program Files\Microsoft Learning\Base

20410D-LON-Host1.vhd

C:\Program Files\Microsoft Learning\Base

MT14A-LON-DC1.vhd

C:\Program Files\Microsoft Learning\Base\Drives

20410D-LON-DC1.vhd

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


\20410D-LON-DC1\Virtual Hard Disks

20410D-LON-DC1-Allfiles.vhd

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


\20410D-LON-DC1\Virtual Hard Disks

20410D-LON-CL1.vhd

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


\20410D-LON-CL1\Virtual Hard Disks

20410D-LON-CL2.vhd

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


\20410D-LON-CL2\Virtual Hard Disks

20410D-LON-SVR1.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Allfiles.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk1.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

10

20410D: Installing and Configuring Windows Server 2012

File

In folder

20410D-LON-SVR1-Disk2.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk3.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk4.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk5.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk6.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR1-Disk7.vhd

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


\20410D-LON-SVR1\Virtual Hard Disks

20410D-LON-SVR2.vhd

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


\20410D-LON-SVR2\Virtual Hard Disks

20410D-LON-RTR.vhd

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


\20410D-LON-RTR\Virtual Hard Disks

20410D-LON-SVR3.vhd

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


\20410D-LON-SVR3\Virtual Hard Disks

20410D-LON-CORE.vhd

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


\20410D-LON-CORE\Virtual Hard Disks

Windows2012R2RTM.iso

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

ImportVirtualMachines_20410D.ps1

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

VM-Pre-Import-20410D.ps1

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

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 by using a share name of
Base_Drives.
2. Share the D:\Program Files\Microsoft Learning\20410\Drives folder by using a share
name of 20410_Drives.
Note: For information about how to set up a share in Windows Server 2012, refer
to 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 before importing the virtual machines. Once
you import the virtual machines, you will not be able to import them again.

20410D: Installing and Configuring Windows Server 2012

11

In this task, you will copy the virtual machine files to the student computer:
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 20410_Drives share on the instructor computer to
D:\Program Files\Microsoft Learning\20410\Drives.
Note: Ensure that all files are copied, including:
a. D:\Program Files\Microsoft Learning\20410 and all included folders and files
b. C:\Program Files\Microsoft Learning\Base
c. C:\Program Files\Microsoft Learning\Base\Drives

3. Ensure that you have copied the files by 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, refer to Instructor Computer Setup in this document.

6. Run the VM-Pre-Import Script

In this task, you will run the VM-Pre-Import-20410D.ps1 file. This script will create links
to the Base and Mid-Tier images in the import folder necessary for importing each virtual
machine:
1. Browse to D:\Program Files\Microsoft Learning\20410\Drives\.

2. Right-click VM-Pre-Import-20410D.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. 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. Press Enter.

7. Import the Virtual Machines on the Instructor


Computer
In this task, you will import the virtual machines on the instructor computer:
1. Browse to D:\Program Files\Microsoft Learning\20410\Drives.
2. Right-click D:\Program Files\Microsoft Learning\20410\Drives
\ImportVirtualMachines_20410D.ps1, and then click Run with PowerShell.
Press Y, and then press Enter if prompted.

12

20410D: Installing and Configuring Windows Server 2012

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. Press
Enter.

8. Configure the Virtual Machines on the Instructor


Computer
In this task, you will configure the virtual machines on the instructor computer:
1. Open Hyper-V Manager.
2. Right-click 20410D-LON-DC1, and then click Start.
3. Right-click 20410D-LON-DC1, and then click Connect.
4. Verify that the computer starts.
Log on as ADATUM\Administrator with the password Pa$$w0rd.
Verify that the logon is successful.
5. For Server 2012: Open an administrative command prompt, type slmgr rearm,
and then restart the computer. After the computer restarts, sign in as
Adatum\Administrator with the password Pa$$w0rd.
6. For Windows 8.1: For more information about activation, and for steps about how to
obtain product keys for activation, refer to Product Key Distribution for Activation
of Windows 8 and Windows 8.1 (for MOC lab virtual machines only) at
http://go.microsoft.com/fwlink/?LinkId=270851 and in Appendix B.
7. Shut down the virtual machine.
8. Under Virtual Machines, right-click the virtual machine name, and then click
Snapshot.
9. Wait for the Snapshot process to finish.
In the Snapshots pane, right-click the snapshot name, and then click Rename.
10. Type StartingImage, and then press Enter.
11. Repeat steps 1 through 10 for the following virtual machines:

20410D-LON-RTR

20410D-LON-SVR1

20410D-LON-SVR2

20410D-LON-CL1

20410D-LON-CL2

20410D: Installing and Configuring Windows Server 2012

13

12. Only for 20410D-LON-CL1 and 20410D-LON-CL2:


From the Start screen, type cmd. In the results, right-click Command Prompt, and
then click Run as administrator. To rearm Office 2013, in the command prompt,
type the following commands in order, and press Enter after each command:

CD \

CD C:\Program Files (x86)\Microsoft Office\Office15

OSPPREARM.exe

9. Configure the Host Computer to Boot to the


20410D-LON-HOST1.vhd

In this task, you will configure the host computer to boot to a virtual hard disk:

1. From the Host computer, open Computer Management.


2. Expand Storage, 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
20410D-LON-HOST1.vhd, click Open, and then click OK.
Note the drive letter that is associated with the 126.66 GB partition.
5. On the task bar, right-click Windows PowerShell, and then click Run as
administrator.
6. Type cmd, and then press Enter.
7. At the prompt, type bcdboot <driveLetter>:\windows, and then press Enter (where
<driveLetter> is the drive letter that is associated with the 126.66 GB partition).
8. At the prompt, type bcdedit /set {default} Description 20410D-LON-HOST1, and
then press Enter.
9. Restart the host computer. The computer will restart, and by default, it will boot into
the 20410D-LON-HOST1 computer.
Note: These steps configure the server to boot to the 20410D-LON-HOST1
computer as the default. After finishing the course, if you need to boot to the
original host operating system:
1. Open a command prompt.
2. Type bcdedit /v to get the identifier of 20410D-LON-HOST1.
3. Type bcdedit /delete {identifier}, and then press Enter.
4. When you restart the computer, it will boot to the original operating system.

10. After the server restarts, sign in as Administrator with the password Pa$$w0rd.

14

20410D: Installing and Configuring Windows Server 2012

Note: In some cases, when you restart the computer, it may display a blue screen
with a stop error. If this happens, restart the computer again, 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 drive C.
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,
such as 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 so that the operating system
on the virtual hard disk can access the hard drives. To install the custom driver,
boot into the host installation, and then complete the following steps:
a. Download the hardware-specific storage driver from the hardware
manufacturers website. Save the drivers to the C:\Drivers folder.
b. Reattach the 20410D-LON-HOST1.vhd file as described in
steps 1 through 4 above.
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 then type slmgr rearm. Restart the
computer.
12. After the computer restarts, sign in as Administrator with the password Pa$$w0rd.
13. On the host machine, open System Properties, and then open Startup and
Recovery. Configure the default operating system to be Windows Server 2012.

10. Install the PowerPoint Slides

In this task, you will install the Office PowerPoint slides for the learning product:

In the Trainer Materials disc, in the \TrainerFiles folder, extract


20410D-ENU-PowerPoint.exe.

20410D: Installing and Configuring Windows Server 2012

15

Student Computer Checklist


1. Install the Hyper-V Server Role
2. Install the Base Image/Virtual Machine Files

Student Computer Setup


Use the instructions in the following section to set up the classroom manually. Before
starting the installation of the student computer, you must install a supported operating
system on the computer. You can check 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 that you copy the activated virtual machines to the student
computers by using a manually created DVD or universal serial bus (USB) drive.

1. Install the Hyper-V Server Role


Note: If Hyper-V is installed already, you can skip this procedure.
For detailed instructions, refer to Instructor Computer Setup earlier in this
document.

2. Install the Base Image/Virtual Machine Files


Note: Ensure that all extracted courseware virtual machine files were copied
from the Instructor computer during the Instructor Computer Setup. You will need
the following directories to ensure that the student has all necessary files:
D:\Program Files\Microsoft Learning\20410
C:\Program Files\Microsoft Learning\Base

1. Check that all permissions have been retained by looking at the directories above,
and then verifying that they are not set to Read-Only.
2. Run the VM-Pre-Import scripts. For detailed instructions, refer to Instructor
Computer Setup earlier in this document.
3. Add the virtual machines to the Hyper-V management console. For detailed
instructions, refer to Instructor Computer Setup earlier in this document.

16

20410D: Installing and Configuring Windows Server 2012

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

If your physical keyboard does not match the above layout, you may need to refer to the
above layout for the character positions used to logon. For future logons and usage
throughout the labs, you may want to install your keyboard layout in the virtual machine.

20410D: Installing and Configuring Windows Server 2012

17

Appendix B: Activating the Windows 8.1 Virtual


Machine
Obtaining Product Keys for Activation

To receive product keys that you will use to activate the Windows 8.1 virtual machines
that accompany this course, please follow the guidelines at
http://go.microsoft.com/fwlink/?LinkId=270851.

Activating a Windows 8.1 Virtual Machine

You must first ensure that the MSL-TMG1 virtual machine and any domain controller (if
required for the course) have been started, and that the MSL-TMG1 virtual machine has
Internet connectivity. Then perform the following steps to activate the Windows 8.1
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 be able to activate the virtual machine successfully, the
virtual machine must have Internet connectivity.

7. Click OK in the dialog box.


NOTE: The Windows 8.1 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.

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 is available on the Download Center in
the Base Virtual Hard Disks (ENGLISH) folder.
2. Configure the MSL-TMG1 virtual machine to use dynamic memory. In the Hyper-V
Management console, access the MSL-TMG1 virtual machine settings. Click
Memory, click Enable Dynamic Memory, and then set Startup RAM to 1024 MB
and Maximum RAM to 4096 MB.

18

20410D: Installing and Configuring Windows Server 2012

3. Perform the following additional configuration changes on MSL-TMG1:


a. Change the IP address of the virtual machine to 172.16.0.1, subnet mask:
255.255.0.0, DNS: 172.16.0.10.
b. Open ForeFront TMG Management, click Networking, click the Networks
tab, click Internal, and then click Edit Selected Network.
c. In the Internal Properties dialog box, click the Addresses tab, click the Add
Adapter button, select Private, and then click OK.
d. Click OK, and then click the Apply button.
e. Click Apply again, and then click OK.
f.

Click the Web Access Policy node, and enable the Allow Web access for All
Users access rule.

You might also like