Error installing VB on Surface Pro 8 (Win11)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
FabRichoux
Posts: 2
Joined: 30. Nov 2021, 00:11

Error installing VB on Surface Pro 8 (Win11)

Post 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
AndyCot
Posts: 296
Joined: 29. Feb 2020, 03:04

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

Post 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.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post 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.
FabRichoux
Posts: 2
Joined: 30. Nov 2021, 00:11

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

Post 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
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post 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.
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

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

Post 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.
Bill
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

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

Post 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.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post 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.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

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

Post 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.
Post Reply