How to Install macOS 10.12 Sierra on Windows Using a Virtual Machine (VirtualBox)


macos sierra virtualbox

The newest operating system from Apple. macOS 10.12 Sierra, is currently available to everyone with a compatible Mac computer. There are lots of things people might want to do that are only compatible with a Mac computer, even if they only have a Windows one.  However, this is a way you can run macOS on Windows using a virtual machine.

A virtual machine works by running a separate operating system within the one already running on your computer. Using this method we can install macOS 10.12 Sierra on a Windows machine and be able to use it. This method is not intended for actual use of the operating system as a main OS. It isn’t completely stable and in most cases will be quite laggy. This is intended for people who simply wish to test of the features of macOS Sierra, or use software such as Xcode, or futurerestore.

Requirements and Notes:

  • You will need a Windows machine capable of running a second operating system.
  • This is not meant to be used as a main OS. It should only be used for testing or using software such as Xcode or futurerestore.
  • The virtual disks used for this method were compiled by TechReviews on YouTube.


Written Guide:

  1. Download the macOS 10.12 Sierra virtual disk image from the link above.
  2. Download and install WinRAR (or another program which supports .rar files). Extract the virtual disk you downloaded before from the archive.
  3. Download and install VirtualBox from the link above.
  4. Open VirtualBox and create a new virtual machine. Name it anything you want (you will need this later). Set the type to ‘Mac OS X’ and the version to either ‘Mac OS X 10.12 El Capitan’ or ‘Mac OS X 10.12 Sierra’ then click ‘Next’.
  5. Select the amount of RAM you want to dedicate to the virtual machine (I would recommend at least 4GB/4000MB or more) then click ‘Next’.
  6. You will now be asked to either create a new virtual disk or select an existing one. Choose ‘Use and existing virtual hard disk file’ and browse for the macOS Sierra virtual disk you downloaded before. Once you have selected it click ‘Create’.
  7. Click the ‘Settings’ icon at the top of the VirtualBox window. In here you will need to adjust a few settings.
  8. Under the System>Motherboard tab untick the ‘Floppy’ box under boot order.
  9. Under the System>Processor tab change the number of processors to be at least 2 (more is better).
  10. Under the Display>Screen tab adjust the ‘Video Memory’ to be as high as possible (while staying within the green guide).
  11. Leave all the other settings as they are by default and click ‘OK’.
  12. Now you need to make some adjustments to the virtual machine with Command Prompt. Download the VirtualBox Codes Text File from the link above. Open it with Notepad. Go back into the settings menu for the virtual machine you created and copy the name you set for it before (make sure it is exact).
  13. In Notepad open the replace tool (Edit>Replace..). In the ‘Replace with’ box paste the virtual machine name you copied. In the ‘Find what’ box type or paste “Your Virtual Machine Name” (without the quotation marks). Click ‘Replace All’.
  14. Open Command Prompt by typing ‘cmd’ into the start menu. Right click on it and click ‘Run as administrator’. If a pop-up appears click ‘Yes’.
  15. Copy, paste and execute (press enter) each line of code into Command Prompt separately. Make sure you use the correct commands depending whether you are using VirtualBox 4 or 5. Once all have been executed close Command Prompt.
  16. Open VirtualBox and run the macOS Sierra virtual machine. Lots of lines of code should appear and eventually you should get to the Mac setup page. From here you can setup the machine like a normal Mac.

Video Guide:

ALSO SEE: How to Jailbreak iOS 10.0 – 10.2 Using yalu on iPhone, iPod touch or iPad


  1. Getting this while trying to start!

    Result Code:
    E_FAIL (0x80004005)
    IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}


Please enter your comment!
Please enter your name here