Virtualbox gives Error code: 0x000000C4 with Windows 8.1 or 2012

7

Trying to boot Windows 8.1 or Windows server 2012, either a previously installed VM or booting from CS/ISO on virtualbox gives Error code: 0x000000C4.

virtualbox
windows-8.1
windows-server-2012
windows-server-2012-r2
asked on Super User Mar 17, 2014 by Console • edited Mar 17, 2014 by magicandre1981

2 Answers

11

This solution fixed the problem for me:

http://4sysops.com/forums/topic/windows-server-2012-r2-on-virtual-box-error-0x000000c4/

You need to set a parameter in virtualbox to enable a certain CPU instruction. [vmname] should be replaced with the name of the affected VM without square brackets.

Windows:

"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1

Mac, Linux:

VBoxManage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1
answered on Super User Mar 17, 2014 by Console • edited Oct 29, 2014 by raacer
0

I also had the same issue, and it's also possible to set CMPXCHG16B globally:

"C:\Program Files\Oracle\VirtualBox\VBoxManage" setextradata global VBoxInternal/CPUM/CMPXCHG16B 1

However I also had to go into the BIOS and change the Memory Protection setting from Disabled to Enabled before the issue went away.

answered on Super User Sep 7, 2015 by SharpC • edited Sep 7, 2015 by SharpC

User contributions licensed under CC BY-SA 3.0