Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win 10, Ryzen 5 3400G, Error 4294967201 #69

Open
47gv opened this issue Nov 10, 2021 · 9 comments
Open

Win 10, Ryzen 5 3400G, Error 4294967201 #69

47gv opened this issue Nov 10, 2021 · 9 comments

Comments

@47gv
Copy link

47gv commented Nov 10, 2021

image

tl:
[SC] ControlService FAILURE 1062:

Service was not started

[SC] DeleteService SUCCESS
[SC] StartService FAILURE com error 4294967201.

C:\Users\User\AppData\Local\Android\Sdk\extras\google\Android_Emulator_Hypervisor_Driver-2>

I am having issues while installing the driver. Here's what I've done so far:

CPU: Ryzen 5 3400G
GPU: GTX 1650 Super
MB: Gigabyte A320M-H

Please help

@SunnyMonster123
Copy link

Same problem here :(

@RobbWatershed
Copy link

I had the same issue until I realized I had to enable virtualization on my CPU.

Got to the BIOS, turned it on, and now the hypervisor is installed and my Android emu works fine 😄

@aquirier
Copy link

aquirier commented Dec 6, 2021

@RobbWatershed Thanks man, this worked for me!

@SpectreWulf
Copy link

So everyone who are still facing this issue in 2022 this is what worked for me finally!
Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.

OS Windows 10
CPU: Ryzen 5 5600X

NOTE: WSL won't work if you follow these steps.

Steps:

  1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.
  2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.
  3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).
  4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)
  5. Open command prompt (not powershell) as a administrator and type the following commands:
  • bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
  • bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
  • bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

@FeelLis
Copy link

FeelLis commented Feb 14, 2022

So everyone who are still facing this issue in 2022 this is what worked for me finally! Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.

OS Windows 10 CPU: Ryzen 5 5600X

NOTE: WSL won't work if you follow these steps.

Steps:

1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.

2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.

3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).

4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)

5. Open command prompt (not powershell) as a administrator and type the following commands:


* bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader

* bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"

* bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}

* bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS

* bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

The only solution that worked for me! Thanks!

@gabrieleolmi
Copy link

So everyone who are still facing this issue in 2022 this is what worked for me finally! Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.

OS Windows 10 CPU: Ryzen 5 5600X

NOTE: WSL won't work if you follow these steps.

Steps:

  1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.
  2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.
  3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).
  4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)
  5. Open command prompt (not powershell) as a administrator and type the following commands:
  • bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
  • bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
  • bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

I also disabled HypervisorEnforcedCodeIntegrity in regedit.exe:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
set the dword named "Enabled" to 0

this worked for me

@ksomml
Copy link

ksomml commented May 18, 2022

So everyone who are still facing this issue in 2022 this is what worked for me finally! Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.

OS Windows 10 CPU: Ryzen 5 5600X

NOTE: WSL won't work if you follow these steps.

Steps:

  1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.
  2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.
  3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).
  4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)
  5. Open command prompt (not powershell) as a administrator and type the following commands:
  • bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
  • bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
  • bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

What are the commands to revert all the bcdedit commands?
For me this did not work. Sadly it made it worse.

@michereff16
Copy link

So everyone who are still facing this issue in 2022 this is what worked for me finally! Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.

OS Windows 10 CPU: Ryzen 5 5600X

NOTE: WSL won't work if you follow these steps.

Steps:

  1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.
  2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.
  3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).
  4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)
  5. Open command prompt (not powershell) as a administrator and type the following commands:
  • bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
  • bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
  • bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

You're a saver, mate!

Thank you very much!!

@SpectreWulf
Copy link

So everyone who are still facing this issue in 2022 this is what worked for me finally! Make sure you have enabled Virtualization support for your AMD CPU (SVM is enabled in BIOS), then follow the steps below.
OS Windows 10 CPU: Ryzen 5 5600X
NOTE: WSL won't work if you follow these steps.
Steps:

  1. In search box type "gpedit" then Goto -> Computer Configuration -> Administrative Templates -> System -> Device Guard -> Turn on Virtualization Based Security. Now Double click that and "Disable". Apply and Save.
  2. In search box, type Turn Windows features on or off, now uncheck Hyper-V and restart system.
  3. Open Registry Editor by typing regedit in search box, now Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\DeviceGuard. If it doesn't exist, add a new DWORD value named EnableVirtualizationBasedSecurity and set it to 0 to disable it (I already had it).
  4. Next Go to HKEYLOCALMACHINE\System\CurrentControlSet\Control\LSA. If it doesn't exis, add a new DWORD value named LsaCfgFlags and set it to 0 to disable it. (Also had it)
  5. Open command prompt (not powershell) as a administrator and type the following commands:
  • bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
  • bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
  • bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
  • bcdedit /set hypervisorlaunchtype off

Restart system and now it should work when you run "silent_install.bat"

What are the commands to revert all the bcdedit commands? For me this did not work. Sadly it made it worse.

Really sorry to hear that, I am not exactly sure of the steps to undo, but basically you have to just follow the steps in reverse and undo the structures created!

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

No branches or pull requests

9 participants