Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Windows 11 Hyper-V Setup: Step-by-Step Install Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To install Hyper-V on Windows 11, you need Windows 11 Pro, Enterprise, or Education (Home doesn't support it). The quickest path: open Windows Features, tick Hyper-V, reboot, then enable virtualization in BIOS if needed. Below is the full walkthrough.

What You'll Need

  • Windows 11 Pro, Enterprise, or Education (64-bit). Check via Settings > System > About.
  • 64-bit CPU with SLAT (Second Level Address Translation). Most modern Intel/AMD CPUs have it.
  • At least 4 GB RAM (8 GB or more recommended for running VMs).
  • Virtualization enabled in BIOS/UEFI (Intel VT-x or AMD-V).
  • Administrator account on the PC.

Step-by-Step

  1. Check your Windows edition. Go to Settings > System > About. If it says Windows 11 Home, Hyper-V is not available. You'd need to upgrade to Pro or use an alternative like VirtualBox or VMware Workstation Player.
  2. Enable virtualization in BIOS/UEFI. Restart your PC and press the key shown on screen (usually Del, F2, F10, or F12) to enter BIOS. Look for a setting called "Intel Virtualization Technology", "AMD-V", "SVM Mode", or "Virtualization Extensions". Enable it, save changes, and exit. The exact label varies by motherboard, so look for anything with "virtualization" in the name.
  3. Open Windows Features. Press Win + R, type optionalfeatures, and press Enter. This opens the Windows Features dialog.
  4. Turn on Hyper-V. In the list, check the box next to "Hyper-V". This includes the Hyper-V Manager and the Hyper-V Platform. If you also want Windows Sandbox (a separate feature), you can check that too, but it's not required for Hyper-V.
  5. Click OK and reboot. Windows will install the required files and prompt you to restart. Save any work and restart.
  6. Open Hyper-V Manager. After reboot, press Win, type "Hyper-V Manager", and open it. If you don't see it, search for "Turn Windows features on or off" again and confirm Hyper-V is checked.
  7. Create a virtual switch (optional but recommended). In Hyper-V Manager, on the right-hand panel, click "Virtual Switch Manager". Choose "New virtual network switch", select "External" if you want the VM to share your physical network, then click "Create Virtual Switch". Pick your physical network adapter and click OK. This lets your VMs access the internet.
  8. Create a virtual machine. In Hyper-V Manager, click "New" > "Virtual Machine". Follow the wizard: give it a name, choose a generation (Gen 2 for most modern OSes, Gen 1 for older ones), assign memory (start with 2048 MB or more), configure networking (choose the switch you created), create a virtual hard disk (size depends on what you'll install), and then install an OS from an ISO file or a bootable USB.
  9. Start the VM. Right-click the VM in Hyper-V Manager and select "Connect". In the new window, click the green Start button. Then proceed with the OS installation inside the VM window.

Common Mistakes

  • Forgetting to enable virtualization in BIOS. Even if Hyper-V is installed, it won't work if VT-x/AMD-V is off. You'll get an error like "Hyper-V cannot be installed: Virtualization support is disabled in the firmware."
  • Installing on Windows 11 Home. Hyper-V is not available on Home edition. Double-check your edition before spending time on the steps.
  • Choosing the wrong virtual switch type. If you pick "Internal" or "Private", your VM won't have internet access unless you configure NAT separately. For typical use, choose "External".
  • Not allocating enough memory. If you give a VM too little RAM (e.g., 512 MB), it will be painfully slow or fail to boot. Set at least 2 GB for Windows 10/11 VMs.
  • Running Hyper-V alongside other hypervisors. If you have VirtualBox or VMware installed, they may conflict with Hyper-V. You might need to disable Hyper-V to use them, or vice versa.

Tips

  • Use Gen 2 VMs for modern operating systems like Windows 11, as they support UEFI and Secure Boot, which are required for some OSes.
  • Enable nested virtualization if you need to run Hyper-V inside a VM (e.g., for testing). In PowerShell (as admin), run: Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true. This works only on Windows 11 Pro/Enterprise.
  • Take snapshots before making major changes to a VM. Right-click the VM in Hyper-V Manager and choose "Checkpoint". This lets you revert if something goes wrong.
  • Use dynamic memory to let the VM use only what it needs. In VM settings, under Memory, enable Dynamic Memory and set a minimum and maximum.
  • Copy files between host and VM by enabling Enhanced Session Mode. In Hyper-V Manager, click on the host name, select "Hyper-V Settings", then "Enhanced Session Mode Policy" and turn it on. Then connect to the VM and you can share clipboard and drives.

Troubleshooting

  1. Error: "Hyper-V cannot be installed: The processor does not have required virtualization capabilities." Reboot into BIOS and enable virtualization. If it's already enabled, update your BIOS to the latest version.
  2. Hyper-V Manager opens but shows no connection to the local host. Restart the "Hyper-V Host Compute Service" (vmms). Open Services (Win+R, type services.msc), find "Hyper-V Host Compute Service", right-click and restart.
  3. VM won't start with "The virtual machine is not running" or a blue screen. Check that you've allocated enough memory and that the virtual switch is correctly configured. Also ensure the VM's generation matches the OS (e.g., Windows 11 requires Gen 2).
  4. No internet in the VM. Right-click the VM, go to Settings > Network Adapter, and make sure the virtual switch is set to the external switch you created. If the host uses Wi-Fi, an external switch can be tricky; try using a "Default Switch" (which is a NAT switch that works out of the box) instead.
  5. Hyper-V feature is greyed out in Windows Features. This can happen if another hypervisor (like VirtualBox with Hyper-V enabled) is interfering. Uninstall or disable other virtualization software first, then try again.
  6. If all else fails: Open PowerShell as administrator and run Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All. This forces the installation. Then reboot.

Frequently Asked Questions

Can I install Hyper-V on Windows 11 Home?

No. Hyper-V is only available on Windows 11 Pro, Enterprise, or Education. On Home, you can use VirtualBox or VMware Workstation Player instead.

Do I need to enable anything in BIOS?

Yes, you need to enable hardware virtualization (Intel VT-x or AMD-V) in your BIOS/UEFI. It's usually off by default on many PCs.

How much RAM should I give a Windows 11 VM?

At least 4 GB is recommended for a smooth experience, but 2 GB can work for basic tasks. Make sure your host has enough RAM left over (8 GB total or more).

Can I run Hyper-V and VirtualBox at the same time?

It's possible but tricky. VirtualBox 6.0 and later can use Hyper-V as a backend, but it's slower. It's easier to use one or the other.

How do I delete a Hyper-V VM?

In Hyper-V Manager, right-click the VM and choose "Delete". This removes the VM configuration but keeps the virtual hard disk file unless you also delete it from the folder where it's stored.

Does Hyper-V work with an external USB drive?

You can attach a physical USB drive to a VM using the "Attach Virtual Hard Disk" option with a physical disk, but it's not straightforward. Easier: share the USB drive as a network folder from the host.