[Solved] Cannot run 8.1 or xp VMs on W10 host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
danielsuarez369
Posts: 5
Joined: 2. Jun 2019, 13:28

[Solved] Cannot run 8.1 or xp VMs on W10 host

Post by danielsuarez369 »

Hello there! Been trying to run VMs but keep getting errors, including the logs
Attachments
Windows_8.1-2019-06-02-07-14-42.log
(32.35 KiB) Downloaded 12 times
Last edited by socratis on 3. Jun 2019, 06:26, edited 1 time in total.
Reason: Marked as [Solved].
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Cannot run 8.1 or xp VMs on W10 host

Post by mpack »

Disable Hyper-v (yes it is). Please search for previous discussions.
g_sparkes
Posts: 3
Joined: 2. Jun 2019, 14:48

Re: Cannot run 8.1 or xp VMs on W10 host

Post by g_sparkes »

I see in your log that windows hypervisor platform is available, so even with hyper-v enabled this should work.

Have you had any luck? I'm in a similar boat with getting VMs to start using WHP support that was added in 6.0.

I'm having issues similar to virtualbox tracker's ticket/18588 which seems to be what you're experiencing.

This should work with WHV and Hyper-V enabled.
danielsuarez369
Posts: 5
Joined: 2. Jun 2019, 13:28

Re: Cannot run 8.1 or xp VMs on W10 host

Post by danielsuarez369 »

mpack wrote:Disable Hyper-v (yes it is). Please search for previous discussions.
I tried to run: Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

But get this error: cdn.discordapp(DOT)com/attachments/421767826030854146/584744509657841704/unknown.png

Sorry for bypassing the rule but I couldn't even post the photo as an attachment because it's too big
Attachments
Error screenshot.PNG
Error screenshot.PNG (22.3 KiB) Viewed 1362 times
Last edited by socratis on 3. Jun 2019, 06:21, edited 2 times in total.
Reason: Add attachment.
danielsuarez369
Posts: 5
Joined: 2. Jun 2019, 13:28

Re: Cannot run 8.1 or xp VMs on W10 host

Post by danielsuarez369 »

Also tried to run: dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

But got that error
Attachments
SmartSelect_20190602-110737_Discord.jpg
SmartSelect_20190602-110737_Discord.jpg (54.65 KiB) Viewed 1363 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Cannot run 8.1 or xp VMs on W10 host

Post by mpack »

Have a read of a related topic: viewtopic.php?f=1&t=62339 (second post).

Also, I see you're using a recent "insider edition" of Win10. For all I know that breaks something. I expect this will receive attention if the problem continues into an official release.
danielsuarez369
Posts: 5
Joined: 2. Jun 2019, 13:28

Re: Cannot run 8.1 or xp VMs on W10 host

Post by danielsuarez369 »

Fixed!

For anyone who has this issue, was getting:
Failed to open a session for the virtual machine Windows XP.

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}
Look in the "Control Panel" » "Programs and Features" » "Turn Windows features on or off", and make sure that the none of the following are active:
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Sandbox
then run bcdedit /set hypervisorlaunchtype off
then reboot
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Cannot run 8.1 or xp VMs on W10 host

Post by socratis »

Glad you got it going. Marking as [Solved].

Just for completion and any future reader, here's what my typical answer looks like:
Look in the "Control Panel" » "Programs and Features" » "Turn Windows features on or off", and make sure that the none of the following are active:
  • Application Guard
  • Credential Guard
  • Device Guard
  • <any> * Guard
  • Containers
  • Hyper-V
  • Virtual Machine Platform
  • Windows Hypervisor Platform
  • Windows Sandbox
If VirtualBox is running without Hyper-V enabled, where proper, hardware virtualization is actually available, then the standard virtualization icon (Image) would show.

If that doesn't work, enter the following command:
  • 
    bcdedit /set hypervisorlaunchtype off
followed by a cold boot, i.e. shut down the computer, pull the power plug for 10", reboot.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply