guidox / Software

Check Whether Your PC Can Run a Virtual Machine

TL;DR

Run **systeminfo** for the four Hyper-V requirements, then check **HyperVisorPresent** and the Hyper-V optional feature. A disabled firmware setting or an active hypervisor explains every failure mode.

Before you start

Requirements

  • Windows 11 Pro or Enterprise for Hyper-V
  • Admin rights
  • 10 minutes
Step by step

Instructions

01

Read the four firmware requirements

**systeminfo** ends with a Hyper-V block that lists VT-x support, the firmware setting, second-level translation and data execution prevention. Each line has to say Yes.

systeminfo | Select-String -Pattern 'Hyper-V', 'Virtualization Enabled In Firmware', 'Second Level Address Translation', 'Data Execution Prevention'
Get-CimInstance Win32_Processor | Select-Object Name,NumberOfCores,VirtualizationFirmwareEnabled,SecondLevelAddressTranslationExtensions,VMMonitorModeExtensions
02

Check whether a hypervisor is already running

**HyperVisorPresent** is true when any virtualization-based feature holds the CPU extensions. That is fine for Hyper-V, and a blocker for a competing product.

Get-ComputerInfo -Property HyperVisorPresent,HyperVRequirementVirtualizationFirmwareEnabled,HyperVRequirementSecondLevelAddressTranslation,HyperVRequirementVMMonitorModeExtensions
Get-CimInstance Win32_ComputerSystem | Select-Object HypervisorPresent,Manufacturer,Model
bcdedit /enum {current} | Select-String -Pattern 'hypervisorlaunchtype'
03

Check the edition and the feature

Hyper-V itself exists only on Pro, Enterprise and Education. The management tools install on Home, the hypervisor does not.

DISM /online /Get-CurrentEdition
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All | Select-Object FeatureName,State
Get-WindowsOptionalFeature -Online | Where-Object FeatureName -match 'Hyper-V|VirtualMachinePlatform' | Select-Object FeatureName,State
04

Look for a conflicting feature

Memory integrity, a running sandbox or an emulator can hold the platform while Hyper-V is off. Disabling them is not always necessary, but it is worth knowing which one is active.

Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\Microsoft\Windows\DeviceGuard -ErrorAction SilentlyContinue | Select-Object VirtualizationBasedSecurityStatus,SecurityServicesRunning
Get-WindowsOptionalFeature -Online -FeatureName Containers-DisposableClientVM | Select-Object FeatureName,State
Get-Process | Where-Object { $_.Name -match 'vmware|virtualbox|qemu|vmcompute' } | Select-Object Name,Id
05

Do a real test instead of trusting the table

A machine that passes the checks can still fail at start. Enabling the feature and creating one small VM is the only proof, and it is reversible.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -All -NoRestart
Restart-Computer
Get-VMHost | Select-Object Name,VirtualMachinePath,LogicalProcessorCount,MemoryCapacity
New-VM -Name 'Probe' -MemoryStartupBytes 2GB -NoVHD -Generation 2 | Select-Object Name,State
06

Record the verdict

A short note with the CPU, the firmware state and the result saves the next person from repeating all four checks.

Get-CimInstance Win32_Processor | Select-Object Name,VirtualizationFirmwareEnabled | ConvertTo-Json
Get-ComputerInfo -Property HyperVisorPresent | ConvertTo-Json
Get-VMHost -ErrorAction SilentlyContinue | Select-Object Name,LogicalProcessorCount,MemoryCapacity | ConvertTo-Json
Get-VM | Select-Object Name,State
Troubleshooting

Common issues

Firmware says virtualization is disabled

Enable Intel VT-x or AMD-V in the firmware setup. The option sits under CPU or advanced settings and may be called SVM or Vanderpool.

The check passes but Hyper-V refuses to start

Another hypervisor loaded first. Disable the competing product or set hypervisorlaunchtype to auto in the boot entry.

Home edition reports the feature as missing

Hyper-V is not available there. A third-party hypervisor works, or upgrade the edition.

The VM starts but is extremely slow

Nested virtualization or a missing second-level translation support. Check the CPU model and whether the VM runs inside another VM.

FAQ

Frequently asked

Does enabling Hyper-V slow down normal use?

It adds a small overhead to the whole system, because Windows then runs above a hypervisor. On a desktop the effect is usually not measurable.

Can I run a VM without Hyper-V?

Yes, with a third-party hypervisor. Only one of them can hold the CPU extensions at a time.

Is a VM a good way to test an upgrade?

Yes, if the VM gets enough memory and a disk with free space. A 4 GB VM is not representative of a real install.

How to undo this

Remove the test VM with Remove-VM -Name 'Probe' -Force and disable the feature with Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart if you do not need it.

Changelog · 1 entry
  1. 2026-11-01
    First version
Interactive version: checklist, feedback, related guides →

Free · no account needed · tracks your progress