Over the past few days, the Internet has been abuzz with articles, Tweets and showcases of Windows 8.1 Preview and Visual Studio 2013 Preview. My curiosity got the better of me, so last night I decided to give Windows 8.1 Preview a whirl.
So as any good intrepid explorer will do, I decided to install this on a Virtual Machine (My weapon of choice being VirtualBox – current version 4.2.14). VirtualBox is truly one of my most favourite development tools I have and I use it on a daily basis.
I fired up my VM and proceeded to mount the Windows 8.1 Preview ISO. The installation started executing quite smoothly but unfortunately after a minute or two later I was presented with a curious error. “You can’t install Windows 8.1 Preview because your processor doesn’t support CompareExchange128″.
It turns out that the problem is a quick one to fix and I decided to post a short article on how to resolve it below. The VirtualBox CompareExchange128 Error is caused by the fact that the CMPXCHG16B CPU Instruction hasn’t been enabled in VirtualBox.
Resolved: VirtualBox CompareExchange128 Error
To fix the VirtualBox CompareExchange128 Error, close down your VirtualBox VM and return to your host. Fire up your Command Prompt (run this as Administrator) and change your directory to the VirtualBox installation directory.
Then type the following command into the console window and press enter.
vboxmanage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1
At first it will seem as though nothing is happening because the command doesn’t return any feedback on the screen. If you see the path displayed on the screen in a new line, the command executed correctly.
Start your VirtualBox VM again and restart your Windows 8.1 Preview install. I hope that this short post will be of help to someone. Enjoy!
Update – 8 July 2013
Latest posts by Dirk Strauss (see all)
- The Daily Six Pack: March 11, 2014 - 11 March, 2014 06:00:28
- CodeSmith Generator – Creating Your First Template - 10 March, 2014 23:30:30
- USB Security Suite – Secure Your PC - 10 March, 2014 08:53:02
- The Daily Six Pack: March 10, 2014 - 10 March, 2014 06:00:19
- The Daily Six Pack: March 6, 2014 - 6 March, 2014 08:48:44