Apple has announced the Mac OS Sierra as the next version of Mac system software. During its presentation that took place at the WWDC 2016 conference, the new macOS sierra was versioned as Mac OS X 10.12 and will be accessible as a free copy for all compatible Macs. The Mac OS 10.12 final comes with a lot of amazing features. One major feature is the debut that Siri makes on the Mac. Siri has been designed with new capabilities for the Mac desktop. This is the only way to make the Mac desktop a smart device. Now, You can install macOS Sierra on Windows.
VirtualBox is capable of installing a macOS on your computer as an application. it works perfectly well with Sierra and in order to run macOS on windows, you need a computer with windows that has to be 64-bit, at least 4GB RAM and a dual-core processor. Installing macOS Sierra in VirtualBox is very easy; you download virtual disk and open it with VirtualBox, then create a new virtual machine. Here are the steps to install macOS Sierra on VirtualBox on Windows.
Steps to Use macOS 10.12 Sierra on VirtualBox on Windows
Step 1: Downloading Sierra for Mac App Store
Sierra is the hottest sensation for Mac lovers and with good reason. Are you wondering how to create a macOS Sierra ISO file? Sierra is available for free on the Mac App Store which you must obviously use a Mac to access.
Before heading to the store, make sure that you have a good internet connection and that the date and time of your device are correct. If your internet connection isn't stable, you will have trouble getting to the Mac App Store. You will experience the same problem if your computer's calendar is not up to date.
Once on the App Store, search for Sierra or click on this link to download macOS 10.12 Sierra. Click on "Download" button, wait for the download process to start. Once the download is complete, the installer will launch, be sure not to install.
Read more: How to Download macOS Installer in Virtual Machine
Step 2: Creating a Sierra ISO File
Move your “macOS Sierra.app” to Application folder, for conversion to be possible, you will require to use the Terminal. To access it, go to Applications > Utilities.
# Mount DMG Installer to macOS
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/Install
# Create a DMG Disk
hdiutil create -o /tmp/sierra -size 7900m -volname sierra -layout SPUD -fs HFS+J
# Mount Sierra.dmg disk to your macOS
hdiutil attach /tmp/sierra.dmg -noverify -mountpoint /Volumes/sierra
# Create macOS Sierra Installer Disk
# Convert DMG Disk to ISO File
hdiutil convert /tmp/sierra.dmg -format UDTO -o /tmp/sierra
# Move ISO File to Desktop
mv /tmp/sierra.cdr ~/Desktop/sierra.iso
Step 3: Install a new VirtualBox 6.0
You can free download VirtualBox with this link, open it and install on your Windows

Step 4: Create a New Virtual Machine
Open your VirtualBox, click on "New" button and create a new virtual machine with this setting:
Name: macOS 10.12 Sierra
Type: Mac OS X
Version: 10.12
RAM: 4 GB (50% of your RAM).

Create a new virtual disk with 100GB for macOS Sierra with type is VMDK file.

Click "Create" button to create your virtual machine.
Step 5: Edit Your Virtual Machine
Select your macOS Sierra in virtual machine list, and click on "Edit". Open System tab, and change chipset to PIIX3, disable the Floppy. In Processor tab, set up 1 core of CPU.

Open Storage tab. Click on "CD/DVD" button, then open your Sierra.iso file. Click OK to save virtual machine.

Step 6: Add Commands to VirtualBox
You must close Virtualbox before follow this step. In your Windows PC, click on "Search" button, and type this: cmd; right click on "Command Prompt" and select "Run as admin".

Replace "Your VM Name" in commands line with your virtual machine name in VirtualBox. Now copy and paste the following command prompt to CMD.
- cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff - VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
- VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
- VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
- VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
- VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

Step 7: Install macOS Sierra in VirtualBox
Open your VirtualBox, and turn on your macOS Sierra. Wait about 5 min. Open "Disk Utility" at boot screen, format your Virtual Disk with "Mac OS Extended" and "GUID Partition Map" then you can install macOS Sierra on your Virtual Disk.

After your virtual machine is rebooted, turn off your VirtualBox. Open Storage tab, and remove your Sierra.iso file.

Now, you can turn on your virtual machine, wait about 30 min to complete the installation and you can create a new account.

Use this code for AMD processor: VBoxManage modifyvm “macOS” –cpu-profile “Intel Core i7-6700K”
hii every time you say this I want to know that where do I need to place this code I have AMD ryzen 5 laptop
mine gets stuck at”End Randomseed”
Hi.
I tried your image and settings for VM 6, but it stuck…
….
Tnx
Do you close VirtualBox before run commands in step 5?
I get a critical error every time i run the machine so i cant use it can anyone help?
Hi. What is your processor?
How can I fix the graphics issue it’s showing only 4mb of vram?
Hi Nero. I’ll make a tutorial help you fix this problem in next week!
With the download is there a way to extract the sierra installer so that I can create a bottable macos flash drive?
Yes, my friend!
Hi, my keyboard and mouse dont working… any suggestion? tks
Hi. Enable USB 3.0 to fix your problem!
It’s awesome post very easy to configure mac os on virtualbox; Thank you very much for this post
Thank you!
Will it work on FX-6300?
You should use this code for AMD processor:
VBoxManage modifyvm “macOS” –cpu-profile “Intel Core i7-6700K”
First stuck at ‘End Randomseed”. Entered the command line codes while VirtualBox was closed. Also entered VBoxManage modifyvm “name your mac os” –cpu-profile “Intel Core i7-6700K”, now in a bootloop, I see the virtualbox logo and then it crashes.
Trying with macOS 10.13 High Sierra 64-bit.
Intel Core Quad Q6600, Win 10, 4GB RAM, Radeon HD4800
Hi. Set up 1 core of your CPU. Try!
Thanks for answering john. Unfortunately nothing changes. Tried to downgrade to VirtualBox 5.2 too, didn’t help. If only i got some kind of error but it’s just a bootloop. Can’t find anything in the logs too…I’ve got a video of the loop, maybe I can send it?
Ok, my friend. Can you give me a last screenshot?