Windows 10 in VirtualBox on a Mac

I was recommended to take Windows 10 for a spin so I chose the free VirtualBox for Mac. After adding the Windows 10 ISO as a CD/DVD Drive to a new VM, I got this:

Your PC needs to restart.
Please hold down the power button.
Error Code: 0x00000005D

To get it working, I quit VirtualBox and at the Terminal changed to the VirtualBox directory:

$ cd /Applications/

I then ran this command (where Windows 10 is the name I gave my virtual machine):

$ VBoxManage setextradata "Windows 10" VBoxInternal/CPUM/CMPXCHG16B 1

After that the Windows 10 installation worked perfectly.

I figured this out from the following link which explains what that command actually does. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">