Fix "Sorry, This Application Cannot Run Under a Virtual Machine
In this article
That error appears when a program detects it is running inside a virtual machine and refuses to start. The usual cause is that Windows itself is running as a guest inside Hyper-V, VMware, VirtualBox, or a cloud PC, and the application's anti-virtualization check has been triggered. The fix is either to run the program on physical hardware, or to adjust the virtualization features that the program is detecting. This guide covers the realistic options on Windows, in order from safest to most invasive.
What You'll Need
- A Windows PC where you have administrator rights.
- Knowledge of whether you are running Windows on physical hardware or inside a virtual machine (check Task Manager > Performance, or ask whoever set up the PC).
- The official installer for the application, downloaded from the vendor's own site.
- Optional: a second physical PC or a dual-boot setup if the app must run on bare metal.
Step-by-Step
- Confirm whether you are actually in a VM. Open Task Manager (Ctrl+Shift+Esc), go to the Performance tab, and look at the CPU entry. If the text mentions "Virtual machine: Yes" or the manufacturer is a hypervisor vendor, you are in a VM. On cloud PCs and remote desktops this is almost always the case. If you are on physical hardware, the error is probably a false positive caused by Windows features, and the later steps apply.
- Run the app on a physical Windows PC. This is the only guaranteed fix. Install the app on a laptop or desktop that is not virtualized, using the vendor's official installer. If the app is licensed per machine, deactivate it on the VM first if the vendor provides a deactivation option.
- If you must keep the VM, check the vendor's policy first. Some applications explicitly prohibit use inside virtual machines in their licence terms. Read the vendor's support page or licence agreement before changing system settings; if VM use is not allowed, stop here and use physical hardware instead.
- Turn off Hyper-V and related Windows virtualization features on the host. Open Control Panel > Programs > Turn Windows features on or off. Clear the checkboxes for Hyper-V, Virtual Machine Platform, Windows Hypervisor Platform, and Windows Sandbox, then restart. Note that this breaks other virtualization software and some security features, so only do it if you do not need them.
- Disable memory integrity and core isolation. Open Windows Security > Device security > Core isolation details and turn Memory integrity off, then restart. This is a security trade-off; re-enable it when you are done with the app.
- Disable the hypervisor launch option. Open Command Prompt as administrator and run
bcdedit /set hypervisorlaunchtype off, then restart. To undo it later, runbcdedit /set hypervisorlaunchtype autoand restart again. This is the step that most often clears false-positive VM detection on physical PCs. - Change the VM's hardware profile if you are the VM owner. In VMware or VirtualBox, open the VM settings and look for options that hide the hypervisor from the guest, such as enabling VT-x/AMD-V passthrough or changing the CPUID mask. Exact labels differ by version and product, so check the hypervisor's own documentation rather than guessing. These settings are not guaranteed to defeat every anti-VM check.
- Update the application and Windows. Install the latest version of the app from the vendor's official site, and run Windows Update. Some anti-VM checks were relaxed in later builds, and an outdated installer may trigger the message unnecessarily.
- Reinstall the app cleanly. Uninstall it, restart, and reinstall using the official installer. Do not copy program folders between machines; that can leave registry entries and licence data in a state the app treats as suspicious.
Common Mistakes
- Downloading a "VM bypass" patch or cracked build. These are unsafe and usually illegal; use official installers only.
- Turning off Hyper-V on a work PC without checking with IT. It can break VPN clients, security tools, and remote management.
- Assuming the error means the app is broken. It is usually a deliberate check, not a bug.
- Leaving memory integrity and the hypervisor launch option disabled permanently. Re-enable them after you finish.
- Forgetting that Windows Sandbox and the Virtual Machine Platform also count as virtualization and can trigger the message.
Tips
- Write down every change you make, so you can reverse it later.
- If the app is only needed occasionally, keep a physical PC for it rather than weakening security on your main machine.
- Check the vendor's support site for a statement about virtual machines before changing anything.
- If you use a cloud PC or remote desktop, ask the provider whether nested virtualization or a physical host option is available.
Troubleshooting
If the message still appears after the steps above, restart once more and confirm in Task Manager that the hypervisor is no longer running. If you are on a company-managed PC, group policy may re-enable virtualization features automatically; contact IT rather than fighting the policy. If the app starts but then closes immediately, check its log folder or Event Viewer > Windows Logs > Application for the actual error, which may be unrelated to virtualization. If you are inside a VM you do not control, such as a hosted desktop, you cannot change the host settings; the only reliable option is a physical machine. Finally, if the vendor confirms VM use is unsupported, do not try to force it; use physical hardware or ask the vendor about a supported deployment option.
Frequently Asked Questions
Why does the app think I am on a virtual machine when I am not?
Windows features such as Hyper-V, Memory integrity, Windows Sandbox, and the Virtual Machine Platform can make a physical PC look virtualized to anti-VM checks. Disabling them and the hypervisor launch option usually clears it.
Can I run the app in a VM legally?
That depends on the vendor's licence. Some allow it, some prohibit it. Check the licence agreement or ask the vendor before changing settings.
Does a VPN cause this error?
No. A VPN changes your network location, not the hardware profile the app checks. The error is about virtualization, not IP address.
Will disabling Hyper-V affect other programs?
Yes. It can break other virtualization software, Windows Sandbox, and some security features. Re-enable it when you no longer need the app.
Is there an official fix from Microsoft?
No. The check is built into the application, not Windows. Microsoft's documentation covers the virtualization features, but the decision to block VMs belongs to the app vendor.
What if I cannot change the host settings?
Use a physical Windows PC. On managed or cloud machines, you usually do not have the rights to change hypervisor settings, and the provider may not permit it.