Enabling Hyper-V on Windows 10

Step 1: Check System Requirements

  • Operating System: Windows 10 Pro, Enterprise, or Education (64-bit).
  • Processor: 64-bit processor with Second Level Address Translation (SLAT).
  • Hardware Virtualization Support: Ensure Intel VT-x or AMD-V is enabled in the BIOS.
  • RAM: Minimum of 4 GB.

Step 2: Enable Hyper-V

  1. Access Windows Features:
  • Press Windows + R to open the Run dialog box.
  • Type optionalfeatures and press Enter.
  1. Turn On Hyper-V:
  • In the Windows Features dialog box, scroll down and check the box for Hyper-V.
  • Ensure all sub-options under Hyper-V are selected.
  • Click OK and restart your computer when prompted.
  1. Verify Installation:
  • After the restart, press Windows + X and select Windows PowerShell (Admin).
  • Type Get-WindowsFeature -Name *Hyper-V* and press Enter.
  • Ensure that Hyper-V is listed as Installed.

Step 3: Create a New Virtual Machine

  1. Open Hyper-V Manager:
  • Press Windows + S, type Hyper-V Manager, and open it.
  1. Create a New Virtual Machine:
  • In Hyper-V Manager, click Action > New > Virtual Machine.
  • Follow the New Virtual Machine Wizard:
    • Specify Name and Location: Enter a name for the VM and choose a location to store VM files.
    • Specify Generation: Choose Generation 1 (BIOS) or Generation 2 (UEFI).
    • Assign Memory: Allocate RAM (e.g., 2048 MB).
    • Configure Networking: Select a virtual switch.
    • Connect Virtual Hard Disk: Create a new virtual hard disk (e.g., 50 GB).
    • Install Options: Choose to install an OS later or use an ISO file to install the OS now.
  1. Install the Operating System:
  • If you chose to use an ISO file, the VM will boot from the ISO.
  • Follow the OS installation steps within the VM.