Page 1 of 1

Issue: Call to WHvSetupPartition failed: ERROR_SUCCESS

Posted: 12. Oct 2020, 16:56
by dolmo
Hi,

Status: Windows 10, installing Ubuntu 20.04.1 to Virtualbox version 6.0.24. (Extension pack installed)

When starting the ISO file, i got following error message

"Failed to open a session for the virtual machine Ubuntu.

Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
"

Any ideas to solve this out? I decided to downgrade the Virtualbox a bit older due i did not get my keyboard working the latest version. Enabled/Disabled the HyperV as well.

BR
Dolmo

Re: Issue: Call to WHvSetupPartition failed: ERROR_SUCCESS

Posted: 12. Oct 2020, 20:11
by scottgus1
A "VERR_NEM_VM_CREATE_FAILED" error means that some service in Windows 10 that uses Microsoft Hyper-V is active in your host PC OS. In most cases Hyper-V blocks Virtualbox.

To turn Hyper-V off completely, do this:

1. Shut down all programs. You will have to reboot your host.

2. Look into I have a 64bit host, but can't install 64bit guests, 2nd post, points 2 & 3 and ensure that none of these things are running.

3. Find the Command Prompt icon, right click it and choose Run As Administrator.

4. Enter this command:
bcdedit /set hypervisorlaunchtype off
5. Enter this command:
shutdown -s -t 2
6. When the computer turns off, unplug it for 20 seconds. Then plug it in again and boot up Windows 10.

Your Virtualbox should be running now. If Virtualbox still complains of the "VERR_NEM_VM_CREATE_FAILED" error, try all the steps again. If you still have the error, post back exactly what you did and we'll try to help some more.

For further info, see https://www.tenforums.com/tutorials/139 ... puter.html

Solved: Call to WHvSetupPartition failed: ERROR_SUCCESS

Posted: 12. Oct 2020, 20:31
by dolmo
Solved, did not perform the cmd prompt. Thank you for quick answer!
4. Enter this command:

bcdedit /set hypervisorlaunchtype off


5. Enter this command:

shutdown -s -t 2

Re: Issue: Call to WHvSetupPartition failed: ERROR_SUCCESS

Posted: 14. Oct 2020, 17:40
by scottgus1
Glad you're up and running!