Virtual Box CompareExchange128 Error on Windows 10 install

If you get the “CompareExchange128” error – a CPU related error  – when trying to install Windows 10 with VirtualBox, Dirk Strauss has the solution for you:

  • shut down the vm
  • open a cmd prompt and point it to the installation directory of your VirtualBox (most likely C:\Program Files\Oracle\VirtualBox)
  • then type “vboxmanage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1”
  • don´t forget to replace [vmname] with the name of your virtual machine (I had some trouble with blank spaces, so you might wanna rename your VM for a second)
  • restart the vm
  • install Windows 10

Leave a Reply

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