---
title: "How to Install Windows 11 in a Virtual Machine on Windows 10 or 11"
id: "20330"
type: "post"
slug: "install-windows-11-virtual-machine"
published_at: "2026-11-18T09:50:00+00:00"
modified_at: "2026-11-18T09:50:00+00:00"
url: "https://aanctech.com/install-windows-11-virtual-machine/"
markdown_url: "https://aanctech.com/install-windows-11-virtual-machine.md"
excerpt: "Try Windows 11 safely in a virtual machine with Hyper-V or VirtualBox. Set up TPM, Secure Boot, memory and disk so the installation passes all checks."
taxonomy_category:
  - "Virtualization"
taxonomy_post_tag:
  - "Hyper-V"
  - "Virtual Machine"
  - "VirtualBox"
  - "Windows 11"
---

[https://www.youtube.com/watch?v=ZejkQ8-_Tfk](https://www.youtube.com/watch?v=ZejkQ8-_Tfk)

[▶ Watch the video on YouTube](https://www.youtube.com/watch?v=ZejkQ8-_Tfk)

A **virtual machine (VM)** lets you run Windows 11 inside a window on your current PC. It’s a safe way to test Windows 11, try new software or learn without touching your real system. Windows 11 needs TPM 2.0 and Secure Boot, so the VM must be set up correctly.

## What you need

- A 64-bit PC with virtualization turned on in BIOS/UEFI (called Intel VT-x or AMD-V/SVM).
- At least 8 GB of RAM in your PC (4 GB goes to the VM) and about 64 GB of free disk space.
- The Windows 11 ISO file, downloaded from Microsoft’s official Windows 11 download page.

## Option 1: Hyper-V (Windows Pro, Enterprise, Education)

1. Search for **Turn Windows features on or off**, tick **Hyper-V**, click **OK** and restart.
2. Open **Hyper-V Manager** and choose **Action > New > Virtual Machine**.
3. Choose **Generation 2**, give it at least 4096 MB of memory, connect it to the **Default Switch** and create a 64 GB virtual disk.
4. Select **Install an operating system from a bootable image file** and pick the Windows 11 ISO. Finish the wizard.
5. Before starting, right-click the VM, choose **Settings > Security** and tick **Enable Trusted Platform Module**. Make sure Secure Boot is on.
6. Under **Processor**, set at least 2 virtual processors.
7. Start the VM, press a key to boot from the ISO, and install Windows 11.

## Option 2: VirtualBox (any Windows edition, free)

1. Install the latest **Oracle VirtualBox** (version 7 or newer, which supports TPM 2.0).
2. Click **New**, name the VM, select the Windows 11 ISO and choose the **Windows 11 (64-bit)** type.
3. Give it 4096 MB of memory or more, 2 or more CPUs and a 64 GB disk.
4. Check the VM’s **Settings > System**: **EFI**, **Secure Boot** and **TPM 2.0** should be enabled. VirtualBox usually sets these for the Windows 11 type.
5. Click **Start** and install Windows 11.

## Useful tips

- A VM needs its own Windows license for long-term use. You can try it unactivated with some limits.
- Install **VirtualBox Guest Additions** after setup for better screen resolution and shared clipboard.
- Take a snapshot (checkpoint in Hyper-V) before big changes so you can roll back instantly.

## Frequently asked questions

### Why does setup say “This PC can’t run Windows 11”?

TPM, Secure Boot or memory is missing in the VM settings. Turn them on and give the VM at least 4 GB of RAM.

### Can I run Hyper-V and VirtualBox together?

Yes, newer VirtualBox versions can run with Hyper-V enabled, though they may be slower.

## Must Read

[https://aanctech.com/enable-virtual-machine-platform-windows/](https://aanctech.com/enable-virtual-machine-platform-windows/)

### Leave a Comment [Cancel Reply](/install-windows-11-virtual-machine/#respond)
