Beruflich Dokumente
Kultur Dokumente
Contents
Microsoft Labs Online 1
Digital Courseware 2
Introducing Microsoft Hyper-V 2
Windows 8.1 Virt ual 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. Install the Virtual Machine Files 7
3. Create a Setup Share 10
4. Copy the Virtual Machine Files to the Student Computer 10
5. Create Virtual S witches 11
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 20412D-LON-
HOS T1. vhd 13
10. Configure the Host Computer to Boot to the 20412D-LON-
HOS T2. vhd 14
11. Configure network settings on LON-HOST1 and LON-HOST2
16
12. Install the Hyper-V Server Role on LON-HOST1 and LON-
HOS T2 17
13. Configure the Hyper-V External Network on LON-HOST1 and
LON-HOS T2 18
14. Import Virtual Machines on LON-HOS T1 and LON-HOS T218
15. Install the PowerPoint Slides 19
Student Computer Checklist 20
Student Computer Setup 20
1. Install the Hyper-V Server Role 20
2. Install the Base Image/Virtual Machine Files 20
Appendix A 21
Appendix B: Activating the Windows 8.1 Virtual Machine 22
Information in this document, including URL and other Internet Web site references, is subject to change
w ithout notice. Unless otherw ise noted, the example companies, organizations, products, domain names, e-
mail addresses, logos, people, places, and events depicted herein are fictitious, and no association w ith any
real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or
should be inferred. Complying w ith all applicable copyright law s 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
otherw ise), 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 w arranties, either expressed, implied, or statutory, regarding these
manufacturers or the use of the products w ith 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 w ebcasting 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 w ritten 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 2013 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.
Version 1.2
20412D: Configuring Advanced Windows Server 2012 Services 1
Important Note: Some labs may not be hostable due to specific requirements in the lab steps
such as labs which have a boot to vhd or "native boot" requirement. As such you should
validate the labs before deciding whether to use local or hosted labs.
2 20412D: Configuring Advanced Window s Server 2012 Services
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. Have two Network Interface Cards (NICs) in the host machines.
2. Print out Lab steps for the particular module.
3. Ask student who have their own devices to bring them to the class.
4. Configure to virtual machines prior to 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 so you should allow
enough time to assess your situation and make an appropriate decision.
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 you install the operating system and
the Hyper-V server role.
Host Operating System: The operating system that is running on the physical computer.
20412D: Configuring Advanced Windows Server 2012 Services 3
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.
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
the administrators user name and password for the host computers, and provide this
information to the instructor.
4 20412D: Configuring Advanced Window s Server 2012 Services
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 (2.8 Ghz dual core or better recommended)
Hard Disk: Dual 500 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
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 in 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 (instructor computer only).
Classroom Configuration
The lab for module 11 requires two host computers for each pair of students. The two
host computers for each pair of students must have network connectivity with each other,
but must not be able to communicate with other computers on the network. Use a
crossover cable, hub, or virtual local area network (VLAN) to isolate each pair of host
computers from the other computers in the classroom.
Only the labs in Module 11 require this configuration. No other modules require it.
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 completion of the setup,
all computers will be configured to run several virtual machines running Windows Server
2012 R2 and Windows 8.1.
20412D: Configuring Advanced Windows Server 2012 Services 5
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-k eyed 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. 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.
20412D: Configuring Advanced Windows Server 2012 Services 7
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.
Please wait while the base virtual hard disk file is extracted. This might take a few
minutes.
20412D-TREY-CL1.exe
20412D-TREY-DC1.part01.exe
20412D-TOR-DC1.part1.exe
20412D-scripts.exe
20412D-LON-Host1.part1.exe (Extract files to C:\Program Files
\Microsoft Learning\Base)
20412D-LON-Host2.part1.exe (Extract files to C:\Program Files
\Microsoft Learning\Base)
Note: After completing the extraction of all of the classroom files, you should have the files listed
in the following table installed.
File In folder
Base14A-WS12R2.vhd C:\Program Files\Microsoft Learning\Base
Base14C-W81-Office2013.vhd C:\Program Files\Microsoft Learning\Base
MT14A-LON-DC1.vhd C:\Program Files\Microsoft Learning\Base\Drives
20412D-LON-Host1.vhd C:\Program Files\Microsoft Learning\Base
20412D-LON-Host2.vhd C:\Program Files\Microsoft Learning\Base
20412D-LON-DC1.vhd D:\Program Files\Microsoft Learning\20412\Drives
20412D-LON-DC1-Allfiles.vhd \20412D-LON-DC1\Virtual Hard Disks
File In folder
20412D-TREY-DC1.vhd D:\Program Files\Microsoft Learning\20412\Drives
\20412D-TREY-DC1\Virtual Hard Disks
20412D-TOR-DC1.vhd D:\Program Files\Microsoft Learning\20412\Drives
\20412D-TOR-DC1\Virtual Hard Disks
VM-Pre-Import-20412D.ps1 D:\Program Files\Microsoft Learning\20412\Drives
VM-Pre-Import-20412D_Host1.ps1 D:\Program Files\Microsoft Learning\20412\Drives
20412D_ImportVirtualMachines.ps1 D:\Program Files\Microsoft Learning\20412\Drives
CreateVirtualSwitches.ps1 D:\Program Files\Microsoft Learning\20412\Drives
TakeVMSnapshot.ps1 D:\Program Files\Microsoft Learning\20412\Drives
Note: For information on how to set up a share in Windows Server 2012, refer to
Share a Resource in Windows Help and Support.
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 20412_Drives share on the instructor computer to
D:\Program Files\Microsoft Learning\20412\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 the instructor computer setup.
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.
11. At the What do you want to call the Snapshot prompt, type StartingImage, and then
press Enter.
1. From the Host computer, open Server Manager. Click Tools and then click
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
20412D-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 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.66
GB partition.
7. At the command prompt, type bcdedit /set {default} Description 20412D-LON-
HOST1, and then press Enter.
8. In Server Manager, right-click the attached virtual hard disk (VHD), and then click
Detach VHD. Click OK.
9. Restart the host computer. The computer will restart, and by default, will boot into
the 20412D-LON-HOST1 computer.
and then press Enter. When you restart the computer, it will boot to the original
operating system.
10. After the server restarts, log on as Adatum\Administrator using the password
Pa$$w0rd.
Note: In some cases, the computer may display a blue screen with a stop error
when you restart it. 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 do the following:
c. Open a command prompt, type the following command, and then press
Enter:
11. Open an administrative command prompt, and then type slmgr rearm. Restart the
computer.
12. After the computer restarts, log on as Adatum\Administrator using the password
Pa$$w0rd. If necessary, click Close.
1. From the Host computer, open Server Manager. Click Tools, and then click
Computer Management.
2. Expand Storage, right-click Disk Management, and then click Attach VHD.
20412D: Configuring Advanced Windows Server 2012 Services 15
10. After the server restarts, sign in as Adatum\Administrator using the password
Pa$$w0rd.
Note: In some cases, the computer may display a blue screen with a stop error
when you restart it. 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, please 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:
c. Open a command prompt, type the following command, and then press
Enter:
11. Open an administrative command prompt, and type slmgr rearm. Restart the
computer.
12. After the computer restarts, sign in as Adatum\Administrator, using the password
Pa$$w0rd.If necessary, click Close.
1. Restart the host computer, and in the Windows Boot Manager, select either
20412D-LON-HOST1 or 20412D-LON-HOST2.
2. Log on as Adatum\Administrator with the password Pa$$w0rd.
3. In Server Manager, click Local Server.
4. In the Properties pane, click the IPv4 address assigned by DHCP, IPv6 enabled
link.
5. In the Network Connections dialog box, right-click the network object, and then
click Properties.
6. In the Properties dialog box, click Internet Protocol Version 4 (TCP/IPv4), and
then click Properties.
7. On the General tab, click Use the following IP address, and then configure the
following:
LON-HOST1: 172.16.0.31
LON-HOST2: 172.16.0.32
Subnet mask: 255.255.0.0
Default gateway: 172.16.0.1
8. On the General tab, click Use the following DNS server addresses, and then
configure the following:
Preferred DNS server: 172.16.0.10
9. Click OK to close the Ethernet Properties dialog box.
10. Click Yes on the Microsoft TCP/IP dialog box.
20412D: Configuring Advanced Windows Server 2012 Services 17
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 LON-HOST1.Adatum.com or
LON-HOST2.Adatum.com is selected, and then click Next.
5. On the 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, and then select 20412D-LON-HOST1 or
20412D-LON-HOST2. The computer will restart several times.
17. After the final restart, sign in as Adatum\Administrator with the password
Pa$$w0rd. If necessary, click Close.
18 20412D: Configuring Advanced Windows Server 2012 Services
6. In the Settings Window, select Network Adapter in the navigation pane, and verify
that the Virtual Switch is set to External Network. Click OK.
7. Start and connect to each virtual machine:
On LON-HOST1, start and connect to 20412D-LON-DC1-B.
On LON-HOST2, start and connect to 20412D-LON-SVR1-B.
8. Sign in as Adatum\Administrator using the password Pa$$w0rd. Open an
administrative command prompt, and then type slmgr rearm.
9. Shut down the virtual machine.
10. After the virtual machine shuts down, in the Hyper-V Manager, under Virtual
Machines, right-click the virtual machine, and then click CheckPoint.
11. Wait for the Checkpoint process to finish. In the Snapshots pane, right-click the
snapshot name, and then click Rename.
12. Type StartingImage, and then press Enter.
13. Restart the host computer, and then at the boot menu, choose to boot into the host
operating system.
1. Check that all permissions have been retained by looking at the directories above,
and verifying that they are not set to Read Only.
2. Run the VM-Pre-Import scripts. For detailed instructions, see the instructor
computer setup.
3. Add the virtual machines to the Hyper-V management console. For detailed
instructions, refer to the instructor computer setup.
4. Configure the LON-HOST1 and LON-HOST2 computers. For detailed
instructions, refer to the instructor computer setup.
20412D: Configuring Advanced Windows Server 2012 Services 21
Appendix A
The virtual machines were developed 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.
22 20412D: Configuring Advanced Windows Server 2012 Services
Note: In order for you to be able to activate the virtual machine successfully, the
virtual machine must have Internet connectivity.
NOTE: The Windows 8.1 client virtual machines will need Internet access to allow
activation. This is provided through the use of 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.