Page 1 of 3

[SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 09:19
by birdie
In order to install and use Windows 8.1 preview/Windows Server 2012 R2 preview in VirtualBox, you have to run this command:

Code: Select all

"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "VM Name" VBoxInternal/CPUM/CMPXCHG16B 1
You can see your VM names using this command:

Code: Select all

"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  list vms
In Linux just type VBoxManage instead of "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe".
Windows Server 2012 R2 64 preview.png
Windows Server 2012 R2 64 preview.png (17.69 KiB) Viewed 108907 times

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 10:08
by BillG
Bingo! Thanks.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 12:50
by brabus84
It worked for me, thank you!!

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 13:04
by mpack
Thanks for passing this tip along. I've made this topic a "sticky" for the time being, to make it easier to find.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 13:16
by Martin
You could also add "2012 R2" to the thread title?

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 14:41
by mduft
works great for both 8.1 and 2012R2, thanks a LOT :D

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 14:52
by musashi77
Is the command suppose to give some kind of confirmation?
Im entering the following
"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "Server2012 R2 Preview" VBoxInternal/CPUM/CMPXCHG16B 1

Nothing happens on the next line.. and nothing changes when I start the VM. I using the VHD file from TechNet.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 14:58
by mpack
Martin wrote:You could also add "2012 R2" to the thread title?
Unfortunately the title is already about as long as the site allows. I also don't want to make a substantial change to the title of someone else's post, but if the OP can find a way to reword so as to squeeze 2012R2 into the title then that would certainly be useful (e.g. discard "Installing", and say "Win8.1").

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 15:00
by mpack
musashi77 wrote:Is the command suppose to give some kind of confirmation?
You can examine the .vbox file with a text editor if you want to check that the command did something.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 15:10
by streetwolf
Thanks, works like a charm with the ISO.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 15:14
by musashi77
mpack wrote:
musashi77 wrote:Is the command suppose to give some kind of confirmation?
You can examine the .vbox file with a text editor if you want to check that the command did something.
There is no .vbox file only the .vhd file.
Guessing I might have to use the ISO instead.

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 19:26
by loukingjr
I installed 8.1 from the .iso and that went okay. I installed the guest additions in compatibility mode and seem to have no aero or full acreen etc.

any thoughts?

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 21:03
by doomy
loukingjr wrote:I installed 8.1 from the .iso and that went okay. I installed the guest additions in compatibility mode and seem to have no aero or full acreen etc.

any thoughts?
The additions installed without error but I noticed problems with the screen also. I checked device manager and the "Virtualbox Device" has an error.

Code: Select all

Windows cannot initialize the device driver for this hardware. (Code 37)

{Unable to Load Device Driver}
%hs device driver could not be loaded.
Error Status was 0x%x

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 27. Jun 2013, 23:29
by mr_vpw
Thanks to those who worked out the issue - even if some (see other threads) don't appreciate it, I do!

Re: [SOLVED] Installing Windows 8.1 64 preview in VirtualBox

Posted: 28. Jun 2013, 01:00
by Lenh51
When I run the command suggested, I get this message:

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\windows\system32>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextra
data Win 8.1 VBoxInternal/CPUM/CMPXCHG16B 1
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execu
tion failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or
failed to start.

C:\windows\system32>