Prepared by Farhan M.
Shaikh
Practical No.4
Install Hyper V Workstation with different flavors of Windows or linux OS on top
of Windows 7/8/10/11.
Hardware / Software Required: Hyper V Workstation/VirtualBox Installer,
Chrome/Firefox, Internet.
Hyper-V is Microsoft's hypervisor software, which allows you to create and run virtual machines on
your PC. Virtual machines (VMs) let you create isolated instances of an operating system that doesn't
affect your host PC. There are a few options for virtualization software out there, but Hyper-V is native
to Windows, and it's ideal if you're managing Windows VMs.
Hyper-V was first implemented with Windows Server 2008, and it's been part of Windows ever since.
For regular Windows, it's only available in Pro, Enterprise, and Education editions of the OS -- officially,
that is. Even in those editions, it's usually an optional feature, so you have to go into the Settings app to
install it.
On Windows 11, you can install Hyper-V by going to Apps > Optional features. Scroll to the bottom of
the page and click More Windows features, then find Hyper-V and install it.
Create a VM Using Windows 10 Hyper-V
Let’s take a look at setting up a Virtual Machine using the built-in Hyper-V technology. The benefits
include the ability to run multiple operating systems at the same time as long as you have enough
hardware resources. Hyper-V is also an excellent way to try and test apps before using them in your
primary production environment. Oh, and it’s a free hypervisor, so that makes leveraging it even better!
Pre-requisites
• 64-bit edition of Windows 10 Pro or Windows Enterprise. Hyper-V isn’t available in
Windows 10 Home edition.
• Your CPU needs to support SLAT technology. To find out if it does, read our article
on SLAT (Secondary Level Address Translation) extension that will help you
determine if the PC can even run Hyper-V.
• Virtualization must be enabled in your computer’s BIOS or Firmware.
Enable Virtualization
Restart the computer and enter BIOS setup (usually by hitting the F2, F10, or F12 key) on your
keyboard before the computer loads the Windows operating system. This process might vary according
to the brand, so consult your computer’s manual for instructions on how to load the BIOS. Press the F10
key, select the language, select Security > System Configuration and enable the following:
• Virtualization Technology (VTx)
• Virtualization Technology Directed I/O (VTd)
• Search virtualization setting in BIOS and enable the setting
Prepared by Farhan M. Shaikh
• Save BIOS settings (usually F10)
• Power off the computer, wait for a few seconds, and start the computer
Setting Up Hyper-V
Press Windows key+R and type: optionalfeatures.exe hit Enter.
This action will open Turn Windows features on or off. Once it has loaded all the features, check off all
the options for Hyper-V and click OK.
Then wait while Windows installs and configures Hyper-V. We will be prompted to restart to confirm
changes. Windows will go through a series of restarts and configure your system.
Prepared by Farhan M. Shaikh
Launch Hyper-V Manager and Create a VM
Next, we’ll need to open the hidden quick access menu by hitting Windows key+X and then go
to Control Panel > Administrative Tools > Hyper-V Manager.
In the left pane of the Hyper-V Manager, select our machine name. This selection will enable the actions
pane on the right.
Prepared by Farhan M. Shaikh
Under the Actions pane click New > Virtual Machine.
This will start the Create New Virtual Machine wizard. Click Next and follow the on-screen
instructions.
Prepared by Farhan M. Shaikh
Give the Virtual Machine a name and specify its location where it is to be stored.
So, if we have additional partitions or a drive, then we can browse and save it there.
Choose the type of generation we would prefer to use. If we are basing your needs around legacy or older
applications, go with Generation 1.
Prepared by Farhan M. Shaikh
Choose how much memory we would like to give the virtual machine. This choice will be dependent
on how much we have available. The more, the better. If we have limited physical RAM installed, 2 GB
or less, uncheck Use Dynamic Memory for this virtual machine.
If we see a similar screen shown below, click Next to continue. We can always configure our
Network settings later.
Prepared by Farhan M. Shaikh
Configure our Virtual Hard disk where we will install the operating system. We can make quick changes
here such as the location where it will be stored along with the amount of space we would like to give
the Virtual machine. We can also choose an existing Virtual hard disk if we already have one.
Below we can choose the option to designate the install media or its location or select the option to do so
later.
Prepared by Farhan M. Shaikh
Review your options. We can click Previous and make any necessary changes. Once we are satisfied,
click Finish.
Installing the Operating System (Windows XP Professional)
Select Install media
Here we will be using an ISO file image to install Windows from. It’s convenient and easy to do. We
can install from a DVD or CD if we wish to do so. In the right pane under your Virtual Machine name,
click Settings.
Prepared by Farhan M. Shaikh
Select the DVD Drive menu in the Hardware tree. Choose whether we will be installing from a DVD
drive if our system has one that is available or browse to an available ISO.
Click Start or double-click the Virtual Machine itself under the list of VMs to open the instance. This
will start the Virtual Machine Manager. Follow the on-screen instructions to install our favourite
operating system as we normally would on physical hardware.
Prepared by Farhan M. Shaikh
When setup is complete, we should have a successful setup that we can use for testing.
This completes the installation of Windows XP Professional on Hyper V Workstation.
*******************************