Question: Case Project 1-1: Set Up a Virtual Machine Using Hyper-V In this project, you use Hyper-V, which is software embedded in Windows 8.1 Professional, 64-bit
Case Project 1-1: Set Up a Virtual Machine Using Hyper-V
In this project, you use Hyper-V, which is software embedded in Windows 8.1
Professional, 64-bit version, to create and manage virtual machines (VM) and
virtual networks on a single workstation. Youll first enable the workstation
BIOS to support virtualization and enable Hyper-V and then create a VM in Hyper-V. Then
you will install an OS in the VM. Your instructor will provide access to the Windows operating
system installation files used in the VM.
Using a Windows 8.1 Pro, 64-bit version computer, follow these steps to enable virtualization
in BIOS, enable Hyper-V, and configure a virtual switch for the virtual network:
1. For Hyper-V to work, hardware-assisted virtualization (HAV) must be enabled in BIOS
setup. If you are not sure it is enabled, power down your computer, turn it on, press a
key during start-up to access BIOS setup, and make sure hardware-assisted virtualization
is enabled. For one system, thats done on the Security BIOS screen shown in
Figure 1-25. Also make sure that any subcategory items under HAV are enabled. Save
your changes, exit BIOS setup, and allow the system to restart to Windows 8.1.
2. Hyper-V is disabled in Windows 8.1 Pro by default. To enable it, right-click Start and
click Programs and Features. Then click Turn Windows features on or off. Check
Hyper-V and close all windows. Youll need to restart the computer for the change to
take effect.
Figure 1-25 Virtualization must be enabled in BIOS setup for Client Hyper-V to work
Source: Jean Andrews
3. Launch the Hyper-V Manager application. In the Hyper-V Manager left pane, select
the host computer.
4. To make sure your VMs have access to the network or the Internet, you need to first
install a virtual switch in Hyper-V. To create a new virtual network switch, click Virtual
Switch Manager in the Actions pane.
5. In the Virtual Switch Manager dialog box, verify New virtual network switch is selected
in the left pane. To bind the virtual switch to the physical network adapter so the VMs
can access the physical network, select External in the right pane. Then click Create Virtual
Switch. In the next dialog box, make sure Allow management operating system to
share this network adapter is checked and click Apply. Click Yes. Your virtual LAN
now has a virtual switch. Close the Virtual Switch Manager dialog box.
To create a VM, follow these steps:
6. In the Actions pane, click New and then click Virtual Machine. The New Virtual
Machine Wizard launches. Use these parameters for the new VM:
Select a name for your VM, for example VM1 or VM_Lab_B.
Make sure Generation 1 is selected in the Specify Generation box.
Set the amount of RAM for the VM. Be sure to specify at least the minimum
requirement for the OS you plan to install in the VM.
Check Use Dynamic Memory for this virtual machine.
Specify the VM can use the new virtual switch you created earlier.
Specify a new dynamically expanding virtual hard drive.
Specify how you will install an OS in the VM, which depends on the method your
instructor used to provide you these setup files.
7. After the VM is created, its listed in the middle pane of the Hyper-V Manager window.
When you select it, its thumbnail appears in the middle pane of the Hyper-V
Manager window.
Now youre ready to install an OS in the VM. The OS setup files are likely to come bundled
in a single ISO file. An ISO file is a Disc Image File, which is a virtual DVD or CD. Follow
these steps to mount an ISO file or a physical CD or DVD to the VMs virtual optical drive
and install Windows:
8. Select the VM in the middle pane of the Hyper-V Manager window and click Settings
near the bottom of the Actions pane. In the left pane of the Settings dialog box, select
the DVD Drive. In the right pane, select Image file. Click Browse and browse to the
ISO file. Select it and click Open. Click OK to mount the ISO file to the virtual DVD
drive.
9. To boot the VM to the DVD drive, select BIOS in the left pane of the Settings box to
verify the boot priority order of the VM begins with CD. Click Apply to apply your
changes.
10. To boot up the selected VM, click Start in the Actions pane of theHyper-V Managerwindow.
To see the VM in its own window, double-click the thumbnail, as shown in Figure 1-26,
where a Windows 8 installation has begun.
Figure 1-26 Windows 8 setup is running in the VM managed by Hyper-V
Source: Microsoft LLC
11. After you have installed Windows in the VM, open Internet Explorer to confirm the VM
has a good Internet connection.
In future chapters, youll continue to build your virtual network and install resources in the
VMs on your network.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
