Windows 11 Home - Cannot disable Hyper-V ?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Bascy65
Posts: 2
Joined: 6. Oct 2022, 23:54

Windows 11 Home - Cannot disable Hyper-V ?

Post by Bascy65 »

I'm running into problems with my VirtualBox guest running on a Windows 11 Home host, version 22H2 build 22621.521
The guest (Windows 10) is showing the dreaded turtle and is performing really bad.
I think that things have gone really bad after the last big update of Windows 11 last week, but I wasn't aware of the turtle before investigating this today, so I don't know if the turtle was already showing before the update

SystemInfo shows: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
VirtualBox logging shows: HM: HMR3Init: Attempting fall back to NEM: VT-x is not available (See attachment)

I've tried following numerous post on the internet about disabling Hyper-V components, but have not succeeded:
Optional Feature:
Hyper-V is not listed
Virtual Machine platform is disabled
Windows Hypervisor platform is disabled
Windows subsystem for Linux is disabled

Windows Core Isolation / Memory Integrity is turned off

I tried following several posts on disabling DeviceGuard and SecurityGuard but I don't find any of the registry keys that are mentioned there

Can anybody help me further with this?
Attachments
Regedit.png
Regedit.png (30.65 KiB) Viewed 9428 times
VBox.zip
(39.47 KiB) Downloaded 21 times
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: Windows 11 Home - Cannot disable Hyper-V ?

Post by BillG »

Yes, this is a pretty common problem, even on Windows Home. There is a guide on this forum - viewtopic.php?f=25&t=99390

If your problem is that the Windows hypervisor is loaded, the bcdedit method in the guide should solve your problem.
Bill
Bascy65
Posts: 2
Joined: 6. Oct 2022, 23:54

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by Bascy65 »

I tried all that, but the second commandline command is not successfull because it cannot find the hyper-v feature.

Then I tried it all again, including removing the battery of my laptop for 20+ seconds .. and now its working!
I must have been too impatient the first time I tried this.
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: Windows 11 Home - Cannot disable Hyper-V ?

Post by BillG »

Glad to hear you sorted it out.
Bill
JustinH
Posts: 106
Joined: 6. Aug 2015, 05:09

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by JustinH »

I just ran into this using W11 Enterprise when I upgraded from 21H2 to 22H2. According to https://learn.microsoft.com/en-us/windo ... ard-manage, MS forces on Defender Credential Guard in 22H2 Enterprise. I tried the usual things, then started with the more simple solutions on that MS page but could not disable CG. I had to create these reg keys and set to 0 to disable it:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LsaCfgFlags
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard\LsaCfgFlags
Last edited by JustinH on 20. Oct 2022, 23:43, edited 1 time in total.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by fth0 »

JustinH wrote:W11 Enterprise [...] MS forces on Defender Credential Guard in 22H2
A short notice for shallow readers:

According to the MS source given, this holds true for Windows 11 Enterprise and Windows 11 Education. Not mentioned are Windows 11 Home and Windows 11 Pro.
JustinH
Posts: 106
Joined: 6. Aug 2015, 05:09

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by JustinH »

Thanks for making that more apparent. I had intended to specify Enterprise but forgot. I amended the post.

So, my scenario is not germane to the OP's since Home shouldn't normally be affected. The OP got my attention because 22H2 was mentioned. I was replying so as to maybe help anyone on 22H2 (Ent).
Stradman
Posts: 27
Joined: 16. Aug 2019, 11:51
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows, Linux

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by Stradman »

JustinH wrote: 20. Oct 2022, 20:44 I just ran into this using W11 Enterprise when I upgraded from 21H2 to 22H2. According to https://learn.microsoft.com/en-us/windo ... ard-manage, MS forces on Defender Credential Guard in 22H2 Enterprise. I tried the usual things, then started with the more simple solutions on that MS page but could not disable CG. I had to create these reg keys and set to 0 to disable it:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LsaCfgFlags
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard\LsaCfgFlags

This did not seem to work on Windows 11 23H2 Enterprise.
Last edited by Stradman on 22. Feb 2024, 11:29, edited 1 time in total.
Stradman
Posts: 27
Joined: 16. Aug 2019, 11:51
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows, Linux

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by Stradman »

Stradman wrote: 22. Feb 2024, 10:40 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LsaCfgFlags
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard\LsaCfgFlags

This did not seem to work on Windows 11 23H2 Enterprise.
I needed to also add/set the following registry key values to 0:

Code: Select all

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity\EnableVirtualizationBasedSecurity

Code: Select all

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity

Not sure if only one was needed. I just set them both.
(Source: https://www.xda-developers.com/disable- ... indows-11/)
MoinDix
Posts: 7
Joined: 3. Mar 2021, 15:18

Re: Windows 11 Home - Cannot disable Hyper-V ?

Post by MoinDix »

Hi,

I had the same issue, after a windows update the 'turtle' icon came back again.

The only thing that helped for me was :

go to this page from Microsoft : https://www.microsoft.com/en-us/downloa ... x?id=53337

download the tool & extract

open PowerShell as administrator and execute : DG_Readiness_Tool_v3.6.ps1 -Disable

reboot your pc, it will ask during boot to disable the Device Guard or Credential Guard

KR

MoinDix
Post Reply