Skip to content
This repository has been archived by the owner on Aug 11, 2019. It is now read-only.

Install fails to detect virtualization when Hyper-V is enabled and doesn't properly disable hyper-V #16

Open
waryhermit opened this issue Dec 5, 2016 · 3 comments

Comments

@waryhermit
Copy link
Contributor

The installer script thought my CPU was not supported. SecondLevelAddressTranslationExtensions and VirtualizationFirmwareEnabled were listed as False. I other virtualization programs block you from even checking. I think you could fix this by rearranging the Hyper-V check before the VT-X check in the script, because when I ran the command "bcdedit /set hypervisorlaunchtype off" and restarted my computer it said I had VT-x.

But then when I ran the install script it said

Hyper-V is enabled on your computer. BeLL App cannot run with Hyper-V enabled. Disabling Hyper-V…

Hyper-V has been disabled. Please, reboot your computer, then install BeLL App again.

However it gave me the Hyper-V message again even after restarting. When I ran the command "Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All" in power shell and restarted it the script worked. I don't know why it didn't work when the script tried to turn it off.

@dogi
Copy link
Owner

dogi commented Dec 5, 2016

@waryhermit thanks that is a good one

By any case do you remember of the two scripts you was running?

@waryhermit
Copy link
Contributor Author

@dogi The windows 8.1 and above script. The powershell one.

@aberdean
Copy link
Collaborator

aberdean commented Dec 6, 2016

@dogi @waryhermit that part of the script is the same in both scripts. Thus, it should be modified on both.

Changing the bcdedit command with the Disable-WindowsOptionalFeature one would be awesome.
Moving the Hyper-V check before the CPU checks is also a great idea, but we should make sure that it would still work when the CPU is not compatible. That can be easily tested on a VM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants