Disable Hyper-V in Acer SF316-51

Android_Studio
Android_Studio Member Posts: 4 New User
edited September 2022 in Swift and Spin Series

I need to disable Hyper-V in order to be able to use Intel HAXM virtualisation. I use Windows 11 and this seems to differ from Windows 10. How do I disable Hyper-V in Windows 11? (I need this to be able to install HAXM for Android Studio)

[Thread was edited to add model name to the title and to include the topic issue]

Answers

  • You have to disable hyper-v in bios. What is your computer model? Example AN515-55-58VH.

    Oi! Eu não sou sou a cortana! Mas estou aqui para ajudar! Hi! I'm not the cortana! But I'm here to help!
    Se você gostou da minha resposta, marque como solução clicando em sim! If you liked my answer, mark it as a solution by clicking on yes!
    Aceite somente a resposta que ajudou a solucionar o seu problema! Please accept only the response that helped to solve your problem!
    Detection tool click here to find the serial number or partnumber of your model!                                                          
                                                      
                                                     egydiocoelho Trailblazer
     
    ProductKey clique aqui para descobrir o serial do windows! click here to discover the windows serial!
    Para usuários da comunidade inglesa, espanhola, francesa e alemã, usarei o google tradutor! :)
    For users of the English, Spanish, French and German community, I will be using google translator! :) 
  • Android_Studio
    Android_Studio Member Posts: 4 New User
    edited September 2022

    SF316-51

    It seems to be ok in BIOS. I have read that I must disable Windows device guard to be able to install HAXM. Perhaps that is the solution? How do I disable device guard?

  • Android_Studio
    Android_Studio Member Posts: 4 New User

    I found a Windows readiness tool in the link in order to be able to install HAXM. It disables device guard but it does not work. (See attachment)

    What can I do to make it work? I have also tried with annother path and also with only: "DG_Readiness_Tool_v3.6.ps1 -Disable"

    https://github.com/intel/haxm/blob/4c247c89b10fe979159ffaa182d4cabea2262f36/docs/manual-windows.md

    Disabling Hyper-V on Windows 10

    Certain advanced Windows 10 features, such as Device Guard (in particular, Hypervisor-protected code integrity or HVCI) and Credential Guard, can prevent Hyper-V from being completely disabled. In other words, when any of these features are enabled, so is Hyper-V, even though Windows may report otherwise.

    The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:

    1. Download the latest version of the tool from here. The following steps assume version 3.6.
    2. Unzip.
    3. Open an elevated (i.e. Run as administrator) Command Prompt.
    4. @powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable"
    5. Reboot.

    --------------------------------------------------------------------------------------------------------------------------------------------


    I found more information:

    Manage Windows Defender Credential Guard (Windows) - Windows security | Microsoft Docs


    Disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool

    You can also disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool.

    PowerShell

    Copy

    DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
    

     Important

    When running the HVCI and Windows Defender Credential Guard hardware readiness tool on a non-English operating system, within the script, change *$OSArch = $(gwmi win32_operatingsystem).OSArchitecture to be $OSArch = $((gwmi win32_operatingsystem).OSArchitecture).tolower() instead, in order for the tool to work.

    This is a known issue.

  • billsey
    billsey ACE Posts: 34,944 Trailblazer

    They are asking you to run powershell from an elevated command prompt with the command:

    @powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable"

    Note that you will have to edit that to give the correct path to the readiness tool script, it's very unlikely to be in X:\path\to\.

    Click on "Like" if you find my answer useful or click on "Yes" if it answers your question.
  • Android_Studio
    Android_Studio Member Posts: 4 New User

    I have tried with both command promt and powershell but I get error messages. See attachments.


  • Can you send a photo of this tab?


    Oi! Eu não sou sou a cortana! Mas estou aqui para ajudar! Hi! I'm not the cortana! But I'm here to help!
    Se você gostou da minha resposta, marque como solução clicando em sim! If you liked my answer, mark it as a solution by clicking on yes!
    Aceite somente a resposta que ajudou a solucionar o seu problema! Please accept only the response that helped to solve your problem!
    Detection tool click here to find the serial number or partnumber of your model!                                                          
                                                      
                                                     egydiocoelho Trailblazer
     
    ProductKey clique aqui para descobrir o serial do windows! click here to discover the windows serial!
    Para usuários da comunidade inglesa, espanhola, francesa e alemã, usarei o google tradutor! :)
    For users of the English, Spanish, French and German community, I will be using google translator! :)