This Application Cannot Run Under A Virtual Machine

Douglas Oliveira 6 Reputation points
2022-07-10T22:14:10.563+00:00

Hello, I'm doing some testing of an application, and when I try to run it in a Windows 10 or 11 VM inside azure the application generates this error "This Application Cannot Run Under A Virtual Machine" There are some workarounds for me to solve this problem.

I really need to finish testing this application.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
{count} vote

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,811 Reputation points Microsoft Employee Moderator
    2022-07-10T22:34:42.997+00:00

    Hello, @Anonymous !

    What software are you trying to run? Usually this is an issue of software license restrictions that prevent the software from being run in a cloud environment. There are a couple features in Windows 11 that can trigger this even if you run the program locally as well as a registry workaround but neither of these would address intended license restrictions if the software isn't allowed to be run on a virtual machine.

    Windows 11 features that may trigger this error
    You may experience these errors on Windows 11 with certain Windows features enabled. You can try going to Turn Windows features on or off in the control panel and turning off:

    • Hyper-V
    • Virtual Machine Platform
    • Windows Hypervisor Platform

    219287-image.png

    What about workarounds, like editing the registry?
    There are workarounds posted online that will instruct you to update your SystemBiosVersion with NOBOX -1 in your registry. Editing your registry is not recommended as it may cause your VM to become unresponsive or unusable and you may still be in violation of your software license.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.