10262A: Developing Windows® Applications With Microsoft® Visual Studio® 2010 Microsoft® Hyper-V Classroom Setup Guide
10262A: Developing Windows® Applications With Microsoft® Visual Studio® 2010 Microsoft® Hyper-V Classroom Setup Guide
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 2010 Microsoft Corporation. All rights reserved.
Microsoft, Hyper-V, PowerPoint, Visual Studio, Windows and Windows Server are either registered trademarks
or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective
owners.
Version 1.2
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. Hyper-V is included
with some versions of Windows Server 2008. Hyper-V can only be run on 64-bit
version of Windows Server 2008 running on 64-bit hardware.
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. With Hyper-V, the only supported host operating system is Windows
Server 2008.
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.
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 2008 and
must be running on 64 bit hardware. For more information on the supported hardware for
Hyper-V, please see the follow web site: 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, allowing them to communicate with each
other is recommended to make setup 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.
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 6
DVD drive
Network adapter
*Striped
In addition, 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
Each classroom computer will serve as the host for one virtual machine that will run in
Hyper-V. Domain or workgroup membership does not matter. The network configuration
of the host computers does not matter. After completion of the setup, all computers will
be configured to run the virtual machine named 10262A-GEN-DEV.
1. On the host machine, click Start, point to Administrative Tools, and click Server
Manager.
2. In the Server Manager console, click Roles. In the details pane, click Add Roles.
3. On the Before You Begin page, click Next.
4. On the Select Server Roles page, select the Hyper-V check box and click Next.
5. On the Hyper-V page, click Next.
6. On the Create Virtual Networks page, select the Local Area Connection check
box, and click Next.
7. On the Confirm Installation Selections page, click Install. When prompted to
restart the computer, click Restart now.
8. After the server restarts, logon using administrator credentials. When the installation
finishes, click Close.
Important: The version of Hyper-V that shipped with Windows Server 2008 RTM
was a beta version. This means that you must update Hyper-V before continuing.
You can download the RTM version of Hyper-V from
http://www.microsoft.com/downloads/details.aspx?FamilyId=6F69D661-5B914E5E-A6C0-210E629E1C42&displaylang=en.
If you are using Windows Server 2008 R2, you are using the R2 version of HyperV, no further action is required.
9. On the host machine, in Windows Explorer, browse to the folder where you have
copied the RTM update file, and then double-click Windows6.0-KB950050x86.msu.
10. In the Windows Update Standalone Installer dialog box, click Install.
File
In Folder
Base10C-W7-HV.vhd
VM-Pre-Import-1026210262A-GEN-DEV.bat
10262A-GEN-DEV.vhd
10262A-GEN-DEV-
Allfiles.vhd
<GUID>.exp
10
Note: You must download the installation file for Adobe Flash from
http://www.adobe.com and copy this file to the instructor computer.
Visit the Adobe Web site at http://www.adobe.com to download and install the latest
version.
Visit the Adobe Web site at http://www.adobe.com to download and install the latest
version.
11
12
1. Check that all permissions have been retained, by looking at the directories above
and making sure they are not Read Only.
2. Run the VM-Pre-Import script. For detailed instructions see the instructor
computer setup.
3. Add the virtual machines to the Hyper-V management console. For detailed
instructions see the instructor computer setup.
13
Appendix A
The virtual machines were developed using the English (United States) layout shown
below.
If your physical keyboard doesnt 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.