Page 1 of 1

Error installing VB on Surface Pro 8 (Win11)

Posted: 30. Nov 2021, 00:18
by FabRichoux
Hello,

I just got a Microsoft Surface Pro 8 (with Windows 11) and when I tried to install Virtualbox, I get an error message :

"Unable to start this application on this device. This application can't run because it cause security or performance issue in Windows. A new version may be available..."

Is someone has an idea to solve this issue ?

Thanks for your help.

Regards

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 30. Nov 2021, 04:04
by AndyCot
Use the search option for "Windows 11" and read the posts to see if you can find the exact fault as there are a number of W11 posts with issues and solutions.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 30. Nov 2021, 10:42
by mpack
This isn't a Win11 issue, it's a permissions issue. The same problem occurs on Win10. It means that the permissions have been jacked so high that only MS apps stand much chance of being installed. Get your IT people to fix it.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 30. Nov 2021, 19:31
by FabRichoux
OK, after several research, I found.
This is a problem wirh "Core isolation" option.

To solve :

1) Put the followinf registry key value to 0 : KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
2) Go to Settings > Security > Windows Security > Device Security and then under Core isolation, selecting Core isolation details. Disable option
3) Restart
4) Launch VB Installer

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 30. Nov 2021, 20:26
by mpack
While Core Isolation can indeed be a problem, I don't believe it results in this problem. The error message quoted is just Windows, because of a group policy setting, refusing to do something it could quite easily do. It requires no cause beyond: that's what the local IT policy tells it to do.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 1. Dec 2021, 06:39
by BillG
Core Isolation is a known issue for VirtualBox and Windows10/11 (because it enables the Windows hypervisor) but, as mpack said, it would not produce that error message.

I have had no problems with VirtualBox and a Windows 11 host with the hypervisor disabled.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 1. Dec 2021, 09:54
by fth0
@mpack, @BillG:
I'm not convinced (yet), because I think that if you take a Windows 10/11 installation with HVCI automatically enabled and only disable HVCI (Memory integrity), you may still be running under Hyper-V.

@FabRichoux:
Please provide a VBox.log file of any VirtualBox VM running on your device. It suffices to create a new VM without installing any OS; just let it run once.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 1. Dec 2021, 11:12
by mpack
Actually, both answers are partially correct. The reason Microsoft is complaining is because it has records saying that VirtualBox is a third party app which is incompatible with Hyper-v. It's possible that it's smart enough to not give the error if Hyper-v is not enabled. But that the fact that it refuses to install VirtualBox because of this problem is primarily a group policy matter.

Re: Error installing VB on Surface Pro 8 (Win11)

Posted: 1. Dec 2021, 21:23
by fth0
FWIW, [Fix] “This App can’t Run on this Device” Message from Program Compatibility Assistant in Windows probably shows the (correct English language) error message.

The old Program Compatibility Assistant (PCA) documentation in Program Compatibility Assistant (PCA) in Windows Vista and Program Compatibility Assistant scenarios for Windows 8 describes a multitude of checks which can happen especially while running setup programs, but not the one leading to the error message at hand.