Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows / Win64

Install Windows Server 2012 R2 in VirtualBox

4.86/5 (6 votes)
30 Dec 2013CPOL 31.5K  
Resolve an issue when installing Windows Server 2012 R2 in VirtualBox

Introduction

I was installing Windows Server 2012 R2 64-bit to VirtualBox 4.3.6. I loaded an ISO to the virtual DVD drive and started the VM. After showing "Loading files" progress, my VM displayed error 0x000000C4 and VirtualBox popped up a dialog to confirm shutting down my VM.

Solution 

Open a command prompt and change the directory to where VirtualBox has been installed, for example, "C:\Program Files\Oracle\VirtualBox". Execute the following command line:

VBScript
VBoxManage.exe setextradata w12r2 VBoxInternal/CPUM/CMPXCHG16B 1 

Here w12r2 is my VM name. If your VM name contains space, please use quotes. 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)