Microsoft
Solutions Partner

My Cart (0)

Oops! There is nothing in your cart, yet. Here's what you can do:

Close modal

or

Shop Now
Your order!
Scheduled Support

How to Enable Hyper-V & Set Up a Virtual Machine on Windows

Hyper-V is Microsoft’s built-in virtualization platform that lets you run virtual machines (VMs) on Windows…

Enable Hyper-V and set up virtual machine on Windows

Hyper-V is Microsoft’s built-in virtualization platform that lets you run virtual machines (VMs) on Windows 10 and 11 Pro. You can use it to test software, run another operating system, or create isolated development environments — all without dual-booting.

This guide covers enabling Hyper-V and creating your first VM from scratch.

Key Takeaways

  • Hyper-V requires Windows 10/11 Pro or Enterprise, a 64-bit CPU with hardware virtualization (Intel VT-x or AMD-V), and at least 4GB RAM.
  • Enable Hyper-V in Control Panel → Programs → Turn Windows features on/off → check Hyper-V → restart.
  • Create a VM in Hyper-V Manager → New → Virtual Machine → assign RAM, disk, and an ISO file for the guest OS.

Requirements

Requirement Details
Windows edition Pro or Enterprise (Hyper-V not available on Home)
CPU 64-bit with hardware virtualization (Intel VT-x / AMD-V)
RAM 4GB minimum (8GB+ recommended for running VMs)
Disk space 20GB+ free for each VM
BIOS setting Virtualization must be enabled in BIOS/UEFI

Windows Home? Hyper-V requires Pro. Upgrade with a Windows 11 Pro key ($99.99) or Windows 10 Pro key ($59.99). See Home vs Pro.

Virtualization disabled? Enable Intel VT-x or AMD SVM in BIOS. See our BIOS settings guide for step-by-step instructions.


Step 1: Enable Hyper-V

Method A: Windows Features (GUI)

  1. Open Control PanelProgramsTurn Windows features on or off.
  2. Check the box next to Hyper-V (this checks both Hyper-V Management Tools and Hyper-V Platform).
  3. Click OK.
  4. Restart your PC when prompted.

Method B: PowerShell (Faster)

  1. Open PowerShell as Administrator.
  2. Run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
  3. Type Y when prompted to restart.

Verify Installation

After restart, search for Hyper-V Manager in the Start menu. If it opens, Hyper-V is installed and ready.


Step 2: Create a Virtual Machine

  1. Open Hyper-V Manager (search in Start menu).
  2. In the right panel, click NewVirtual Machine.
  3. Click Next on the wizard intro.

Configure the VM

Setting Recommended Value Notes
Name Descriptive name (e.g., “Ubuntu-Test”) Also sets the VM folder name
Generation Generation 2 For modern 64-bit OSes. Use Gen 1 for legacy/32-bit
Memory 4096 MB (4GB) Enable Dynamic Memory for flexibility
Network Default Switch Provides internet access through host
Virtual Hard Disk 40-60 GB Creates a .vhdx file, grows dynamically
Installation media Browse to your ISO file e.g., Windows 11 ISO, Ubuntu ISO
  1. Click Finish to create the VM.

Step 3: Install the Guest Operating System

  1. In Hyper-V Manager, right-click your new VM → Connect (opens the VM window).
  2. Click Start (green play button).
  3. The VM boots from the ISO. Follow the OS installer as if it were a physical machine.
  4. After installation, install Integration Services (for Windows guests, these install automatically via Windows Update).

Common VM Scenarios

Use Case Guest OS RAM Disk
Test Windows 11 features Windows 11 ISO 4GB 60GB
Run Linux alongside Windows Ubuntu/Fedora ISO 2GB 30GB
Test software safely Windows 10/11 4GB 40GB
Development environment Any 4-8GB 50GB+

Tip: You don’t need a separate Windows license for short-term testing — Windows VMs run in evaluation mode for 90 days. For permanent use, each Windows VM needs its own product key.


Alternative: Windows Sandbox

If you just need a quick, disposable environment to test untrusted software:

  1. Enable Windows Sandbox in Windows Features (same place as Hyper-V).
  2. Search for Windows Sandbox in Start menu and open it.
  3. A clean Windows desktop appears. Install and test anything.
  4. Close Sandbox — everything is deleted automatically.

Sandbox vs Hyper-V: Sandbox resets on every close (no persistence). Hyper-V VMs persist between sessions. Use Sandbox for quick tests, Hyper-V for permanent VMs.


Troubleshooting

“Hyper-V cannot be installed: virtualization is disabled in firmware” Enable Intel VT-x or AMD SVM in your BIOS settings. See our BIOS guide for manufacturer-specific instructions.

“Hyper-V” option missing from Windows Features You’re running Windows Home. Hyper-V is only available on Pro and Enterprise editions.

VM runs slowly – Increase allocated RAM (Settings → Memory). – Enable Dynamic Memory. – Use an SSD for the VM’s virtual hard disk. – Close unnecessary apps on the host to free resources.

No internet in the VM In Hyper-V Manager → Virtual Switch Manager → verify “Default Switch” exists. In VM Settings → Network Adapter → ensure it’s connected to “Default Switch.”


Frequently Asked Questions

Does Hyper-V slow down my PC?

Hyper-V installs a thin hypervisor layer, which has minimal impact on the host when no VMs are running. Running VMs uses RAM and CPU from the host — allocate resources based on what you can spare.

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

Newer versions of VirtualBox (6.0+) and VMware Workstation (15.5+) can coexist with Hyper-V. Older versions may conflict. If you experience issues, disable Hyper-V with bcdedit /set hypervisorlaunchtype off and restart.

How many VMs can I run simultaneously?

Limited only by your hardware. Each running VM uses the RAM and CPU you allocated. A PC with 16GB RAM can comfortably run 2-3 VMs alongside the host.

Can I run macOS in a Hyper-V VM?

Technically possible but not officially supported by Apple. macOS licensing restricts it to Apple hardware. For legal macOS virtualization, use a Mac with Parallels or VMware Fusion.

Is Hyper-V free?

Yes. Hyper-V is a built-in Windows feature included with Pro and Enterprise editions at no additional cost. The guest operating systems inside VMs may require their own licenses.


TheSoftwareCity website favicon icon
by Editorial Team
Updated on April 4, 2026
Share Article
by Editorial Team
Updated on April 4, 2026

ON THIS PAGE

[firstName], Your Technical Support Starts Soon!

Quick reminder: We provide support through website chat 💬

📅 Your session: [Time] – Starting in [countdown]

Did everything go well?

👇 How to start: Just click

Leave a message
Need to change time?
Hide

I found 33 items that matched your query "".