Error 0x000000C4 Unable To Install Windows Using Virtualization

We all know that when a beta version is out for any operating system, most of the advanced users try it using virtualization. We created a bootable USB of the ISO image ofย Windows 10/8.1 64-bit and tried to mounted it on a computer but then we came across an unexpected error. Here is the screenshot of that error:


As you can see in the image above, the error message is as follows:

Your PC needs to restart, Please hold the power button, Error code 0x000000C4

To fix it out, initially we tried to remove out the SSD and reconnected it to the system but unfortunately there were no differences to the situation. Then we came across the discussion carried out on this error, which is also faced while installing Windows Server at VirtualBox forums. We tried out their suggestionsand they fixed the problem significantly. Here is how to fix this issue:

FIX : Error 0x000000C4, Your PC needs to restart

1. Open administrative Command Prompt and paste following command followed by Enter:

"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe"ย  list vms

It will list all the Virtual Machines you’ve created using VirtualBox. For example, Windows XP is listed if you have a machine using Windows XP and having same name, then name issame one which you use while create a virtual partition for installing new OS. In the similar way, note down the name for Windows 8.1‘s virtual machine.

2. Now insert following command:

"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "<Virtual Machine Name Here>" VBoxInternal/CPUM/CMPXCHG16B 1


3. Hit Enter after pasting the command. That’s it! Close the Command Prompt now, and get into the installation, you won’t counter any issues now:


In this way, you can get rid of error 0x000000C4. Hope this helps!

Check this post if you receive Your Windows install couldnโ€™t be completed error message.

Posted by on , in Category Windows with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.


  1. Adam Hassan

    It worked for me Thanks…
    (Oracle VM VirtualBox)

  2. justinforeman

    Excellent, thanks! Worked for me on VirtualBox on Mac OS X 10.8.

  3. uday shanbhag

    Worked like a charm. Thanks ๐Ÿ™‚

  4. isuam

    worked ok ! thanks

  5. django

    any ways not for me:(

  6. Dilmer

    Work Great! MAC OSX 10.8

  7. Vaja Gelashvili

    I got error in command prompt.The image :

  8. Vaja Gelashvili

    I have download the latest version for the moment VirtualBox-4.3.2-90405 and the problem has been solved ๐Ÿ™‚

  9. Tomรกลก Suลกรกnka

    Works fine, thx. In case you’re on linux the command is pretty much the same.

    vboxmanage list vms (to print out all the machines you have on your system to get the right name)
    vboxmanage setextradata “VIRTUAL MACHINE NAME HERE” VBoxInternal/CPUM/CMPXCHG16B 1

    (to do the trick)

    tha again

  10. Sebastian Blatter

    thanks alot!

  11. Michael

    Legend! Thank you!

  12. ^^ Thanks everyone for feedback ๐Ÿ™‚

  13. joeb

    I got the error after installing 8.1 preview on Virtualbox 4.2.16 r86992 with Ubuntu 12.04 LTS. Your solution fixed the problem.

  14. Disgruntled

    Did not fix it! Tried it 10 different ways. I think the latest version of VirtualBox does not allow this. Trying to install Windows 8.1-64 bit VM on Windows 7 laptop with VirtualBox 4.3.8. The only thing different after running the commands was that less of the error message showed

  15. ^^ Try with a more older version of VirtualBox (like 4.2.x) and see if that works ๐Ÿ™‚

  16. Mark

    I tried it on Ubuntu 12.04 to run Windows 8.1 Pro without success. This is my CPU: I think it will not support CMPXCHG16B 1

    Does this command only effects the files that are associated with the virtual machine name? I mean, if i delete all files of the virtual machine name and remake it, does it still have the updated setting CMPXCHG16B 1 when I make the virtual machine again with the same name?

  17. ^^ The virtual machine name is used for applying the command to specific machine.

  18. GioF

    good morning I have this problem





    setextradata global||

    [] (no value deletes key)


    setextradata SET

    < non atteso.

    (<non atteso in english <not

    I don't now were is the mistake.

    Can you help me?

  19. ^^ Please let us know what happens when you execute the command mentioned in article, so that we can assist you further ๐Ÿ™‚

  20. GioF

    This is the correct string I used (win 7 ultimate 64 bit)
    “setextradata” “global” VBoxInternal/CPUM/CMPXCHG16B 1

    I gon’t now if it’s correct but the installation of win 8 started

  21. ^^ May be it is an alternative, hope it might be helpful to others, thanks for sharing ๐Ÿ˜€

  22. Liya

    Thank you ๐Ÿ™‚ It worked

  23. Shammi Alwis

    how to avoid this error when performing a clean installation using a windows 8.1 bootable disk?

  24. shu

    you’re not supposed to put setextradata in quotations.

  25. WhoCares

    Who installs windows in a VM on a windows host ? Thats stupid. Btw have the same error using VM on Debian. Thanks for that tip, it works on linux too ๐Ÿ˜‰

  26. global

    FoR Windows8 TEch Support

    contact on 1-800-935-053

  27. Scott

    That is not stupid at all. Many people install Windows in a VM on a Windows host for testing. Test your program, code or whatever then you can easily refresh the snapshot. Easier to have VM’s to test than have a physical box for each.

  28. Anderson Moura

    Worked great running the VirtualBox on Ubuntu trying to install win 8.1

  29. Carlton

    spent last hour trying to get this working. Thanks for the tip.

  30. Erdogan Murat YAZICI

    How can I fix this problem on Mac os X 10.9.3? Please help me!

  31. Telrad

    if we are getting the same issue in the physical machine dell power edge 2800 on raid when installing 2012 r2 server

  32. HanoYs

    Thank Thank Thanks you saved me ๐Ÿ™‚
    I sure have changed “Programmi” to “Program Files”

  33. HanoYs

    i’ve earlier +1’ed this up, but reading more comments reached a more correct syntax, check it out below, you will find my comment there, thanking the commenter

  34. Brandon Edwards

    Thanks for the help. Works like a charm.

  35. nura

    filename, directoru….. is incorrect
    wtf man i wrote it 100 times even copied it but still the same sh*t
    filename….. :/

  36. tippy1000

    Make sure that you point the server name to the correct location in Windows 7. I had an issue getting this to work until I installed a new machine in the program files oraclevirtual box location. It would not locate mine. Also, I could not paste the commands. I would get incorrect syntax error. I changed directory to the VirtualBox directory then ran “VBoxManage” followed by commands. I hope this helps

  37. ^^ Thanks for inputs ๐Ÿ™‚

  38. J Patel

    I was using MDT 2013 to Capture the image after Sysprrep PC rebooted and got this error

    Excellent!!! This worked fine for me. I can now continue with Image Capture

  39. kabouter

    wauw thank you it worked soo good!

  40. Avery

    Hey I am new to this and trying to get windows on my mac OS X 10.8 and im not sure how to open administrative command prompt could anyone help me out

  41. ^^ Search for Command Prompt, and right click the same from results so obtained, choose Run as administrator then, done!

  42. Avery

    There’s a command prompt in mac?

  43. Karthick

    It did not work for me ๐Ÿ™ I tied in VMpayer and it worked!

  44. braininpain

    Awesome solution for Mac OSX Virtual Box users! Thank you a zillion times! : ]]

  45. Adam

    Awesome. Worked perfectly!

  46. Ambar Hasbiyatmoko

    Hello, It works for me .. i’m using oracle virtualbox 4.2.4.

    **anyone : after try this tutorial, restart your virtualbox,

  47. Test

    Worked on Ubuntu headless vbox

  48. Stalin DCruz

    C:>”Program FilesOracleVirtualBoxVBoxManage.exe” list vms
    “2008” {caf411da-4536-4c1b-b207-16b256a2798e}

    C:>”Program FilesOracleVirtualBoxVBoxManage.exe” setextradata “2008” VBoxint
    ernal/CPUM/CMPXCHG16B 1


    I still get the same error.what else I can try.

    Virtulization is enabled in BIOS

  49. Jayden Koh Jia Jian

    when i typed the 2nd code they wrote “Access denied”

  50. Sephistius Rune

    Command prompt in broken system or working system?

Leave a Reply

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

7 + 8 =