Before talking about Hyper-V let’s talk a bit on Virtualization. Virtualization takes place on the same hardware platform after installing specific software – hypervisor. The hypervisor is an additional layer between physical and virtual spheres; it manages the system’s hardware resources so they are distributed efficiently among virtual machines (VMs).
List below are the Microsoft Virtualization Solutions:
- Server Virtualization (Hyper-V) -> which we will be focusing on
- Client Virtualization
- Profile Virtualization
- Azure Virtual Machines
- Desktop Virtualization (VDI)
- Application Virtualization (App-V)
Personally for me, virtual machine is important especially when comes to testing because if something went wrong it can be restarted or create new one without causing damages to the your computer.
So what exactly is Hyper-V?
It basically enables you to run more than one operating system using virtual machine at the same time on the same PC.
Steps to enable Hyper-V:
- Go to Control Pane > Programs and Features.
- Click on Turn Windows features on or off.
- Select Hyper-V as shown in the red rectangle below.
- Click OK and restart your computer.
- After restarted, you’ll see the Hyper-V on your start menu.
Steps to create virtual machine:
- Run the Hyper-V Manager.
- Right-click your computer name on the side bar.
- Select New > Virtual Machine.
- Window as shown below will pop up, click Next.
- On Specify Name and Location page, enter the name of your virtual machine.
- On Specify Generation page, use the default setting and click Next.
- Next is the Assign Memory page, you can enter value (less than your memory size) to the Startup Memory or use the default value, click Next..
- Use default setting on Configure Networking page and click Next.
- For Connect Virtual Hard Disk page. Check your VM name, location and size (less than your hdd size). Click Next.
- Next is the Installation Option page, if you’re using an image file (.iso) then click on the second option button as shown below and specify the location of the image file. Click Finish.
- To run the VM, right-click the virtual machine on the list
- First, Start the virtual machine then Connect
- And you are ready to install your operating system to be installed on VM.
That’s it! Enjoy using Hyper-V.