[Solved] Unable to start VM

Discussions related to using VirtualBox on Windows hosts.

[Solved] Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 17:45

Hey guys, I'm new to VBox and could really use some help.
System specs:
9900k
32gb ram
WIndows 10 Pro
Hyper-v - Feature turned off
Intel Virtualization Technology - Enabled

When I try to start the vm, the window pops up then throws an error. Please see the attached log and let me know if you have any questions or if I'm missing something.
One thing I noticed in the log, it states my processor is a 6700k when it's really a 9900k (I upgraded about a month ago and re-installed Windows)

Thanks in advance!
Attachments
VBOX LOG.zip
(9.39 KiB) Downloaded 11 times
Last edited by socratis on 15. Aug 2019, 19:16, edited 1 time in total.
Reason: Marked as [Solved].
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: Unable to start VM

Postby scottgus1 » 15. Aug 2019, 17:49

It is usually a god idea to tell us what the error was, too, especially if the error window has a Copy button which can be used to directly copy the error message for your post.

Good for posting a log, though! Th error was at the bottom:
VERR_NEM_VM_CREATE_FAILED

Tis a usual error from Windows 10
See I have a 64bit host, but can't install 64bit guests Carefully go through each command in the 2nd & 3rd posts.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 17:55

Good call, here's the error that's posted:
Failed to open a session for the virtual machine SJ_VM_01.

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}

I'll go ahead and go through the commands in the 2nd and 3rd posts you referenced.
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: Unable to start VM

Postby scottgus1 » 15. Aug 2019, 17:57

FWIW the magic bullet in most follow-ups on this error has been this command:

bcdedit /set hypervisorlaunchtype off

followed by a complete shut down and power off, unplugged for a few minutes.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 18:12

1. Hyper-V is unchecked
2. Virtualization Based Security was set to Undefined - set it to Disabled
3. Core isolation is set to off

I tried starting the VM again (before running the bcdedit command as I would prefer not to restart at this moment unless completely necessary), it still failed to start but this time gave me different errors in the log.
Failed to open a session for the virtual machine SJ_VM_01.

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}
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 18:13

I'm not at home atm so a complete shutdown will be a little difficult, but how does a complete shutdown (including uplugging the system) help set the bcedit hypervisor launch type vs a standard shutdown or restart?
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: Unable to start VM

Postby scottgus1 » 15. Aug 2019, 18:16

It's unknown to me why, only that it works.

It has been known that changing the VT-x setting in the PC BIOS has required a full power-off and unplug. The bcdedit shutdown & unplug could just be another of those things.

You could always try the bcdedit command, but You would at least have to restart. As a possibility if you want to try without a full power off, try the full "reboot" shutdown command after the bcdedit command:

shutdown -r

This shutdown command bypasses Windows 10's partial shutdown fast-boot thing and causes a complete dump-all-Windows-caches shutdown a la XP/7. Maybe that would work.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 19:09

Good news! After the bcdedit command and a restart the VM's are now working!! Thank you so much for the help!!
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: Unable to start VM

Postby scottgus1 » 15. Aug 2019, 19:12

Great! Glad to help. For my info, did you do the unplug, or the shutdown command, or just a simple restart?
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 19:17

I did a simple restart because I missed your recommendation to run the reboot command from command prompt.
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36

Re: [Solved] Unable to start VM

Postby scottgus1 » 15. Aug 2019, 19:18

Interesting, Thanks for the info. Glad you're up and running.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4502
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: [Solved] Unable to start VM

Postby kitsune1324 » 15. Aug 2019, 19:31

No problem, thanks again for the help!
kitsune1324
 
Posts: 7
Joined: 15. Aug 2019, 17:36


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: apo2, klimb77, VBoxnewbe and 92 guests