Skip to main content


Create A Virtual Machine Using Hyper-V


Irrespective of your computing tasks, every user should have a virtual machine Installed on their physical computer. Simply put, a virtual machine (abbreviated as "VM") operates In It's own Isolated environment, completely segregated from the physical PC. As such, everything performed In the VM, will remain there. In this very In depth tutorial, I will show you how to create a virtual machine using the Windows operating system's native VM, being Hyper-V.



So what exactly Is a virtual machine, and what's It's purpose? The simplest way I can explain It, Is that It's a virtual desktop computer Inside your physical desktop computer. It's Installed just like any other application, by simply executing It and following the prompts until completion. Once launched, you have a virtual machine sitting on your PC.

In terms of It's purpose, It's beyond the scope of this article to name each and every usage. A lot of users, myself Inclusive, utilize It to test operating systems & applications. Essentially, If there's a virus In an application, It will remain Inside the virtual machine's Isolated environment, without affecting the physical machine.

On It's own, a virtual machine Is useless. An operating system must be Installed for It to serve a purpose. It's just like your desktop or laptop- no operating system, no functionality! A virtual machine Is commonly abbreviated as a VM, hence I will often be referencing It as such. In this tutorial, I will demonstrate how to setup & configure the VM named Hyper-V, which Is native to the Windows 10 Pro, Enterprise and Education editions.

Your computer's hardware, must also be capable of running Hyper-V, so please refer to this website for system requirements. With regards to enabling Hyper-V via your Windows 10 operating system, I've documented a detailed guide here.

What you're about to read Is very detailed, but to make your experience a pleasant one, I've simplified each step with supported Illustrations. You will learn how to setup, configure and finally get the Windows 10 operating system Installed and up & running on the VM. This guide Is solely my very own- tried, tested and fully working. So strap yourself In and enjoy the ride.

Step One:
The first thing you need, Is a bootable Windows 10 disc Image In an ISO file format. To check If It's a bootable ISO file, download a tool named Magic ISO, and then open your Windows 10 operating system ISO file. If you see Bootable as arrowed below, you're ready to move forward.



Step Two:
Once you've enabled Hyper-V on your Windows 10 operating system, open Hyper-V Manager, and you will see the following screen.



Step Three:
We now need to setup & configure a new virtual machine. To begin with, click on Action > New > Virtual Machine. 



Step Four:
The Installation wizard will now be displayed, which Is very Important to follow each step. Now click Next.



Step Five:
Give your virtual machine a name, I've called mine Windows 10 Tips Enterprise. Next to Location, you can either leave the default directory, or select one of your own. This Is where the VHD (Virtual Hard Disk) will be Installed. Then hit Next.



Step Six:
Depending on your computer's hardware, you may see a couple of options as listed below. Generation 1 Is compatible with most hardware, so select that radio button and click Next.



Step Seven:
Now you have to assign the amount of Ram you want In your VM. For general usage, 2 GB (2048 MB) will suffice, but for the purpose of this guide, I've opted for 4096 MB, which Is 4 GB. Don't forget to hit Next.



Step Eight:
The Configure Networking option will now be displayed, whereby a virtual switch can be created to share your Internet connection from your physical PC to the VM. We'll do that soon. Select Not Connected and hit Next.



Step Nine:
This Is where the VHD (Virtual Hard Disk) will be created, so click the Create a virtual hard disk radio button. You can adjust the capacity depending on your usability. I've left It at It's default setting being 127 GB. Again, click Next.



Step Ten:
You now need to mount your Windows 10 operating system ISO file. Click the Install an operating system from a bootable CD/DVD-ROM radio button, and then click the Image file (.Iso) radio button. Browse the directory of your Windows 10 ISO file, and click Next.



Step Eleven:
To finalize the process, click Finish. The Virtual machine will now be created. This only takes a few seconds or so.



Step Twelve:
Here's the Interface of the new virtual machine. As you can see, my Windows 10 Tips Enterprise VM Is awaiting further Input.



Step Thirteen:
An operating system must be Installed but prior to doing that, we'll configure the virtual switch, thus allow Internet access on the VM. On the right pane, click on Virtual Switch Manager.



Step Fourteen:
Under Create virtual switch, select Internal. This will allow the network adapter on your physical PC, to share It's Internet connection on the virtual machine. Then hit Create Virtual Switch and OK.



Step Fifteen:
Click the External network radio button, and select your network adapter via the drop-down menu and then hit OK.



Step Sixteen:
On the left pane, click Network Adapter, and to the right of the window select New Virtual Switch and hit OK to finalize the process.



Step Seventeen:
The virtual switch has now been configured, thereby It will bridge the Internet connection between your computer's network card to the virtual machine, hence the VM will have Internet access. I've navigated to my laptop's Network Connections, and as you can see, all Is up and running.



Step Eighteen:
The Windows 10 operating system, must now be Installed on the virtual machine. To keep this tutorial down to a minimum, I will cut the Installation process short. Here's what to expect when double-clicking on the VM.



Step Nineteen:
As per Step Ten above, the operating system Is already loaded, so click Action > Start to begin the Installation process.



Step Twenty:
The operating system will begin to Install, so simply follow the onscreen prompts until completion.



Step Twenty One:
And here's my virtual machine, fully functional with my Windows 10 Enterprise operating system Installed. As you can see, the network connection Is active. In the next step, I will open Microsoft Edge and connect to the Internet.



Last Step:
My virtual machine, Is sitting on my physical computer's desktop. I'm now navigating online via Google.com. Everything I do on the VM Is Isolated In that environment, therefore will not affect my physical PC.



Final Thoughts:
Well, I'd say It's safe to assume you didn't think that Installing a virtual machine, takes so many steps. However, do not be overwhelmed by the length of this tutorial. Once you've familiarized yourself and performed this a few times, the entire process (Inclusive of the operating system Installed), will only take anywhere between 30 to 45 minutes.

As already mentioned, a virtual machine operates In It's own Isolated environment without having an Impact on the physical computer on which It's Installed. That said, as with every computational entity, nothing Is 100% fail-safe. As such, I strongly suggest Installing a virtual machine on a dedicated computer that's Isolated from the rest of the network.



Comments

Popular posts from this blog

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.


Open The Command Prompt In Any Directory

A very powerful tool native to the Windows platform, Is the Command Prompt that allows users to perform an array of tasks, such as renaming and deleting files & folders, formatting disks and the list goes on. Sometimes, you need to navigate to certain directories by executing commands, which can be a lengthy and somewhat frustrating process. As such, In this tutorial, I will show you how to easily open the Command Prompt In any directory/folder of your choice.