Few days, we posted about an error we just received while installing Windows 10/8.1 on VirtualBox. As we all know, VirtualBox is the safest way to try out preview versions, because it supplies all the necessary requirements for the Windows edition to tested. Today, we came around another issue while installing Windows on VirtualBox. This time, we received an error window: Your PC doesn’t support CompareExchange128. Here is the screenshot:
It appears that this is a compatibility issue, strictly related to virtualization since Windows is running on the same PC. However, VirtualBox parameters must be satisfied when you decide to install any operating system, in addition to normal requirements specified for it. VirtualBox has a solution for this.
If you receive error You can’t install Windows because your processor doesn’t support CompareExchange128 while installing Windows 10/8.1 using virtualization on VirtualBox, read on.
The fix is mentioned below, but make sure that you perform it when VirtualBox is not running on your system..
Can’t install Windows because processor doesn’t support CompareExchange128
1. Open Command Prompt with administrative privileges.
2. Type these commands one by one and hit the Enter key:
cd "C:\Program Files\Oracle\VirtualBox" VBoxManage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1
If you receive the invalid batch command error in executing the last command, then try it with current user (non-administrative Command Prompt). Now reboot and try to install Windows 8.1 using virtualization and this time you won’t receive the error.
This article applies to a 32-bit preview of Windows; if you’re going to install the 64-bit version of Windows, then your processor must support CMPXCHG16b, PrefetchW and LAHF/SAHF.
Hope you find the fix helpful!
Check this post if you receive Your Windows install couldn’t be completed error message.