European company based in France Excellent4.9/5Trustpilot1,800+ reviews Lifetime replacement guarantee Email support 24/7
GUIDE 09 September 2026 Euroshopkey

Windows License for a Virtual Machine: What You Need to Know

Yes, you need a Windows license for a virtual machine, and you need one per virtual machine: as far as Microsoft is concerned, a VM is a Windows installation in its own right, exactly like a physical PC. If Windows runs at the same time on the host and in a VirtualBox, VMware or Hyper-V VM, that makes two installations, so two licenses. Microsoft supports Windows 11 in a generation 2 Hyper-V VM, with Secure Boot and virtual TPM enabled, 4 GB of memory, 2 virtual processors and 64 GB of disk space. At Euroshopkey, Windows 11 Professional costs 9,90€ and the 3-PC pack 24,90€: enough to license a host and two VMs.

Contents

1. Do you need one Windows license per virtual machine? Yes, one per VM

A virtual machine running Windows is a Windows installation: it needs its own license, just like a computer sitting on your desk. Microsoft counts running instances of the operating system, not boxes: the fact that a VM only exists as a set of files changes nothing.

Microsoft’s software license terms for Windows, in the section on use in a virtualized environment, allow one instance at a time: the physical machine or a VM hosted on it. As soon as both run at the same time, you need two licenses.

  • Linux or macOS host + 1 Windows VM: one license, for the VM.
  • Windows host + 1 Windows VM: two licenses.
  • Windows host + 3 test VMs: four licenses, since “test” does not grant any special right.

For a throwaway lab, Microsoft offers time-limited evaluation images. For an everyday workstation, you need a real license; otherwise the VM stays unactivated, with the “Activate Windows” watermark. Not a good look in front of a client, when a license costs 9,90€.

2. Windows 11 in VirtualBox or VMware: the virtual TPM

Windows 11 is officially supported in a virtual machine, but the VM must expose a virtual TPM 2.0 and Secure Boot, otherwise setup stops at “This PC can’t run Windows 11”. According to Microsoft:

  • Generation 2 under Hyper-V: an existing generation 1 VM cannot be upgraded in place to Windows 11.
  • Secure Boot and virtual TPM enabled in the VM settings.
  • 4 GB of memory, 2 virtual processors, 64 GB of disk space.

An often overlooked detail: Microsoft states that “Virtual TPM 2.0 is emulated in the guest VM independent of the Hyper-V host TPM presence or version”. An old tower without a TPM chip can therefore host a compliant Windows 11 VM: the hypervisor creates the TPM. Likewise, VirtualBox has offered virtual TPM 1.2 and 2.0 devices since version 7.

Where to click: in Hyper-V, under Security, tick “Enable Secure Boot” and “Enable Trusted Platform Module”. In VirtualBox 7, on the System tab, choose TPM 2.0 and enable EFI. In VMware, switch the firmware to UEFI, then add a Trusted Platform Module. If the physical machine itself falls short, see PC not compatible with Windows 11.

3. How to activate Windows inside a virtual machine

Activation in a VM works exactly as on a physical PC: you enter the key in Settings, System, Activation, inside the virtual machine. No special procedure, and no special “VM key”.

  1. Check internet access. Without a connected network adapter, online activation fails.
  2. Open Settings, then System, Activation, “Change product key”.
  3. Paste the 25-character key you received by email and confirm.
  4. Check the status with slmgr /xpr in a Command Prompt run as administrator.

Activation relies on a hardware fingerprint: in a VM, the fingerprint of the virtual hardware, so each VM produces its own. Our Windows 11 activation guide details every screen; if the key is refused, follow Windows key not working: what to do.

4. If you clone or move the VM

Cloning a virtual machine duplicates the Windows installation and the key it contains: the clone counts as a second installation, and one of the two VMs usually loses its activation. Three cases:

  • Restoring a snapshot: no problem, the fingerprint does not change.
  • Moving the VM to another host: same virtual machine, same license. Windows may ask for validation again, which goes through once you re-enter the key, as with a transfer to a new PC.
  • Cloning the VM: two installations present the same key, so you need one more license.

To build a template you can duplicate, run sysprep /generalize /oobe /shutdown in the reference VM: sysprep clears the machine identifier and the activation state, and each clone then receives its own key. Changing the memory or the disk almost never affects activation; changing the generation is like changing the motherboard.

5. Home, Professional or 3-PC pack: the comparison table

Choose Windows 11 Professional as soon as virtualization is involved, because Microsoft states that the Hyper-V role can’t be installed on Windows 11 Home. The Home edition is still possible inside a VM, but it cannot host Hyper-V VMs. Our prices below are shown live from the store.

Your setupLicenses neededRecommended optionPrice
Linux or macOS host + 1 Windows VM1Windows 11 Professional9,90€
Windows host + 1 Windows VM2Two Windows 11 Professional licenses, or the 3-PC pack if a third machine is planned2 × 9,90€
Windows host + 2 VMs3Windows 11 Pro, 3-PC pack24,90€
Office-work VM on a Linux or macOS host, with no Hyper-V inside1Windows 11 Home8,90€

Microsoft’s own price is listed on the Microsoft Store page.

With the 3-PC pack, a host and two VMs are covered in a single order. Our licenses are genuine and are activated on Microsoft’s servers: the resale of second-hand software licenses is legal in the European Union. See also our guide to the different types of Windows license.

6. Hyper-V, VirtualBox or VMware: what changes in practice

Hyper-V is included free of charge in Windows 11 Professional and remains the shortest route to a Windows VM, but only one piece of software at a time can use the processor’s virtualization features. Microsoft says so plainly about VMware Workstation and VirtualBox: “You can install Hyper-V without uninstalling these other apps. But, if you try to use them to manage virtual machines when the Hyper-V hypervisor is running, the virtual machines might not start or might run unreliably.”

So they can coexist, but in a degraded way. Since version 6, VirtualBox can rely on the Windows hypervisor platform and use Hyper-V as a fallback execution engine, at the cost of reduced performance; Microsoft describes the same fallback to “a slower, emulated mode”. To get full speed back, turn off the Hyper-V hypervisor. On the host side, Hyper-V requires:

  • Windows 10 or 11 Pro or Enterprise: the role cannot be installed on Home editions.
  • A 64-bit processor with SLAT, virtualization enabled in the BIOS or UEFI, and Data Execution Prevention.
  • At least 4 GB of memory, plus the RAM of the VMs you run.

To check, type systeminfo.exe and read the “Hyper-V Requirements” section: four lines set to “Yes” and the machine is ready. The licensing rule stays the same.

How it works

Four steps, in under ten minutes.

  1. You order Windows 11 Professional from Euroshopkey, as a single license or as a 3-PC pack, depending on how many VMs you need to cover.
  2. You receive your keys by email within minutes, with your invoice and an installation guide.
  3. You install Windows in the VM from the official ISO image, then enter the key in Settings, System, Activation.
  4. If you get stuck, our email support answers 7 days a week, with a reply within 2 hours on average, from the support page. Activation is guaranteed, and a defective key is replaced for life.

Windows 11 Professional

For a VM or a Hyper-V host. Lifetime license for 1 machine, physical or virtual, key by email within minutes.

9,90€

Windows 11 Pro, 3 PCs

Three licenses for a host and two VMs. Keys by email within minutes.

24,90€

Frequently asked questions

Do you need a Windows license for a test virtual machine?

Yes. Microsoft counts running instances of Windows, not physical computers: the temporary nature of a VM does not grant any special right. For a throwaway lab, there are time-limited evaluation images; otherwise, you need one license per VM, and Windows 11 Professional costs 9,90€.

Can the same Windows key be used on the host and in the virtual machine?

No, not if both run at the same time. A license covers one instance of Windows at a time: the physical machine or a VM, never both. The Windows 11 Pro 3-PC pack, at 24,90€, covers the host and two VMs.

How do you install Windows 11 in VirtualBox without a TPM?

You don’t need a physical TPM, you need a virtual one. The VirtualBox changelog states that version 7 added virtual TPM 1.2 and 2.0 devices and support for EFI Secure Boot. On the VM’s System tab, choose TPM 2.0 and enable EFI.

Activation drops when I clone my virtual machine. What should I do?

That is the expected behavior: the clone is a second installation carrying the same key, so one of the two machines loses its activation. Run sysprep /generalize /oobe /shutdown in the reference VM before duplicating it, then give each clone its own key.

Is Windows 11 Home enough for a virtual machine?

Yes inside a VM for office work, at 8,90€, but not for hosting VMs: Microsoft states that the Hyper-V role can’t be installed on Windows 11 Home. For a Hyper-V host, choose Windows 11 Professional, at 9,90€, or the 3-PC pack at 24,90€.

Sources

  • Microsoft Learn, Windows 11 requirements (virtual machines): learn.microsoft.com, accessed 9 September 2026.
  • Microsoft Learn, Install Hyper-V: learn.microsoft.com, accessed 9 September 2026.
  • Microsoft Learn, system requirements for Hyper-V: learn.microsoft.com, accessed 9 September 2026.
  • Microsoft Learn, virtualization applications and Hyper-V (KB 3204980): learn.microsoft.com, accessed 9 September 2026.
  • Microsoft, software license terms for Windows (use in a virtualized environment): microsoft.com/en-us/useterms, accessed 9 September 2026.

Related articles

Related Articles

Deepen your knowledge with our other expert guides

Tiered pricing for software licenses: how quantity tiers work
GUIDE

Tiered pricing for software licenses: how quantity tiers work

3 min read Read more
Reverse charge VAT on software licenses: what EU businesses need to know
GUIDE

Reverse charge VAT on software licenses: what EU businesses need to know

5 min read Read more
Reselling Windows and Office licenses in 2026: how it works
GUIDE

Reselling Windows and Office licenses in 2026: how it works

5 min read Read more

🚀 Office 2024 Available + All Our Authentic Microsoft Licenses

Low prices: Office 2024 • Windows 11 Pro • Office 2021
Instant delivery, email support and lifetime replacement guarantee included.

PACK

Windows 11 Pro – 5 PCs

€39.90
Official price: €745
Buy Now
PACK

Microsoft Office 2024 Pro Plus – 3 PCs

€39.90
Official price: €597
Buy Now
PACK

Microsoft Office 2024 Pro Plus – 5 PCs

€49.90
Official price: €995
Buy Now
100% Authentic Licenses
5-minute delivery
Email support 24/7
Lifetime replacement guarantee
Euro Shop Key