If you want to set up a Hyper-V Virtual Machine on Windows 11/10 for testing or other purposes, continue reading below to learn how to enable Hyper-V on Windows 10/11 and how to create and configure a new Virtual Machine. Hyper-V Manager.
Microsoft has integrated Hyper-V technology into Windows Server 2008 and later versions of Windows Server. Today, Hyper-V is included in Windows 10 and 11, allowing regular users to run multiple operating systems in virtual machines (aka “VMs” or “Guest Machines”) without affecting the host machine’s (aka) operating system. will give. “Host” machine).
Essentially, Microsoft Hyper-V is a native hypervisor that allows you to run a completely separate operating system (aka “Guest” OS) on virtual hardware for testing things, programs, and debugging. Hyper-V is designed to offer the same level of functionality and performance as virtualization leaders VirtualBox and VMWare hypervisors.
In this article, we will show you in detail the steps required to enable Hyper-V in Windows 11/10 and how to configure a virtual machine in Hyper-V Manager.
How to create a Hyper-V virtual machine in Windows 11/10.
Step 1. Check the Hyper-V requirements.
Certain requirements are expected before a device can run Hyper-V. As a Windows 10/11 user, you should ensure that the following requirements are met before enabling Hyper-V:
1. Physical Ram should be on your computer at least 4 GB. To prevent your PC from lagging when you set up a virtual machine, increasing your RAM to 8GB or more will provide the best experience.
2. Your PC must be running one of these Windows 10/11 versions: Professional, corporate or Education. Hyper-V cannot work with Windows 10 Home devices.
3. You should have it on your PC 64-bit processor (CPU) Supports Second Level Address Translation (SLAT). *
* Information: “Second Level Address Translation” (SLAT) is a hardware mechanism supported when virtualization technology is supported. If you have an Intel processor, go to your processor’s specifications page and check for “Intel® Virtualization Technology (Intel® VT-x)” under “Advanced Technologies”. Alternatively, check if the “Virtualization Technology” feature is enabled in the BIOS. (see 4 below)
4. To run Hyper-V, the following items must be enabled in the BIOS: *
- Virtualization technology
- Device Enforced Data Execution Prevention (DEP)
1. To see if the above items are already enabled on your system:
1. Open a command prompt and type systeminfo.exe
2. Scroll to the bottom of the report to see if the Hyper-V requirements are met. If not, proceed to enable them in Bios using the instructions below.
2. To enable Virtualization Technology and Data Execution Prevention (DEP) in BIOS:
1. Restart computer and press repeatedly one of these keys: F2, F10, F8, F12 or Del* when the computer manufacturer’s logo appears on the screen to enter the BIOS/UEFI settings (* The key may vary from manufacturer to manufacturer).
2. To enable virtualization in BIOS:
a. If you are the owner Intel CPU:
- click on ComplicatedClick on the * tab and install Virtualization (aka “Intel® Virtualization Technology (VT-x)”). Turn on.
*Note: Some BIOS have a “Virtualization” setting Workor within System configuration departments.
b. If you are the owner AMD processor:
- click on MIT. tab -> Advanced frequency settings –> Advanced kernel settings and install SVM mode (aka “Secure Virtual Machine”). Turn on.
3. To enable Data Execution Prevention (DEP) in BIOS:
Depending on your computer manufacturer, the option to enable Hardware DEP varies and may be located here Complicated or within Work section and may be labeled “Data Execution Prevention”, “XD”, “Disable Deletion” or “NX”.
Step 2. How to Enable Hyper-V in Windows 10/11
Hyper-V can be installed in different ways. The most common way is to enable Hyper V in Windows Features. It can be installed using Powershell as well as using the Image Deployment and Management (DISM) tool. In this article, we will show you how to activate Hyper-V in Windows properties:
1. Type Turn Windows features on or off in search and press It’s open to launch the widget.
2. Check Hyper-V, then select OK.
3. Wait for Windows Hyper-V to install and when prompted, restart your computer.
Step 3. How to create and configure a new virtual machine in Hyper-V.
After rebooting, you are ready to create your first Hyper-V virtual machine. You can use the Hyper-V Quick Create application or the Hyper-V Manager tool to do this. In this tutorial, we will use Hyper-V Manager.
To configure a virtual machine using Hyper-V Manager:
1. Enter in the search bar Hyper-V Manager, then press It’s open or Run as administrator to run the program.
2. Once the Hyper-V Manager opens, select your device name to populate the action menu on the right.
3. Dan Movement tab, click on it new and select Virtual machine.
4. A new window will appear with the Virtual Machine Wizard. The left panel lists a series of processes that must be performed on another to create a virtual machine. press The next one to start the process.
5. Specify the name for the virtual machine you want to create, then click The next one. This will help you identify if you are creating multiple virtual machines.*
*Note: As a beginner, do not make any changes to the default location where the virtual machine is stored.
6. Specifying the generation depends on the purpose of the virtual machine. If you want to use it for older and newer programs that run on 32-bit and 64-bit respectively, consider using Generation 1. However, if it’s only for advanced software that supports 64-bit systems, choose Gen 2. the purpose of this guide, we choose 1st generation and press The next one.
7. Now allocate memory to the virtual machine. The available physical RAM on your computer and the operating system (OS) you want to install determine the minimum amount of memory to allocate to a virtual machine. Check the minimum memory requirements of the operating system you are installing (Linux, Windows Vista, Windows 7/8/10) and add more memory for better performance. In our case, we will determine 2048 MB. Click when done The next one.
8. Select if you want the virtual machine to access the network Default key and press The next one. Otherwise, leave the default option of “Not Connected” and continue. (You can always configure the network after you finish configuring the virtual machine.
9. Now go ahead and specify the storage location for the virtual disk (the guest operating system will be installed). It doesn’t have to be big. Choose Create a virtual hard disk, Allocate a fair size to the virtual hard disk, then click The next one.
10. On the next screen, select when you want to install the operating system. If you want to install the operating system immediately after creating the virtual machine we show here, you will need the Guest OS installation media on CD/DVD or ISO image file. *
*Note: In this guide, we will show you how to install Windows 7 operating system from an ISO image file.
a. Choose Install the operating system from the bootable CD/DVD-ROM
b. Choose Image file (.iso) and press Review.
c. Select the ISO installation media file and click on it The next one.
11. Review the configuration in the summary panel and click OK if it is OK Termination. Select if you need to make any changes Previous to change settings.
12. Let Hyper-V create and configure the Virtual Machine, and when it’s done, select and click it Connect from the right panel.
13. In the new window that opens, click Start To start installing the operating system in the virtual machine.
Step 4. Install the operating system on the Hyper-V machine.
Finally, go ahead and install the operating system on the virtual machine just like you would on a physical machine.
That’s it! Let me know if this guide helped you by leaving a comment about your experience. Please like and share this guide to help others.