macOS, the operating system previously known as Mac OS X, is beautiful, stable, and typically attached to a $1000+ MacBook / iMac. If we want to run macOS on a Windows PC, without the very particular hardware required for Hackintosh, a Mac OS X virtual machine is the next best thing. And, best of all, it won't cost a dime. Here's how to install the latest macOS High Sierra on a VMware or Virtualbox virtual machine.
Unblock any international website, browse anonymously, and download movies and Mp3 with complete safety with CyberGhost, just for $2.75 per month:
Table of Contents
- Why run a Mac OS X virtual machine?
- Hardware requirements for a Mac OS X virtual machine
- Newest macOS version: High Sierra 10.13
- Intel CPUs
- Download the macOS High Sierra image
- Decompress the image
- VMware Workstation Player
- AMD CPUs
- Setting up macOS High Sierra
- Install VMware tools for Mac OS X
- Did you like the Mac OS X virtual machine?
Why run a Mac OS X virtual machine?
There are a few circumstances when a Windows user might need access to a Mac OS X installation.
One example is programmers who need to use the Apple-exclusive XCode to develop and test iOS or macOS apps.
The same goes with iMovie and Final Cut Pro for moviemakers and editors, GarageBand and Apple Logic Pro for creators and sound engineers, and more professional applications with no Windows version.
Then again, we might just be curious about Apple's operating system and want to see what the fuss is all about.
Whatever the reason, a Mac OS X virtual machine is the cheapest way to try out the latest OS from Cupertino. Cheapest as in "free." Sure beats buying a four-figure MacBook Pro.
In case you are not familiar with virtual machines, it's a way to emulate an entirely different computer system within our PC. For more information, you can check out our guide:
We have also covered how to create a Windows Virtual Machine, both in Windows and Linux operating systems.
Creating a Windows virtual machine is exceedingly simple. It is arguably easier than installing Windows on our PC.
However, creating a Mac OS X virtual machine is not officially supported by Apple. The company only wants to see macOS running on the Mac hardware because this is what they are selling.
Hence, we will have to run through a couple of hoops to get the VM up and running. Nothing too complicated, though. In this guide, we will cover the creation of the virtual machine both with VMware Player and VirtualBox, for Intel and AMD processors.
Hardware requirements for a Mac OS X virtual machine
It goes without saying that running any kind virtual machine demands a relatively powerful PC for a smooth experience. After all, the hardware needs to run two operating systems simultaneously.
With a powerful enough system, we can even run virtual machines one inside the other, like Russian nesting dolls.
To begin with, we must have at least 4GB of RAM, ideally 8GB or more. The speed of RAM is not of much consequence; we are just looking for lots of it.
A multi-core CPU is also important. We should have a processor with at least four cores, 3rd gen Core i5 or equivalent. The Mac OS X virtual machine might work on a two-core CPU, but the experience will probably be less than smooth.
Of course, it's a given that our CPU must support IOMMU virtualization: VT-x for Intel and AMD-V for AMD. This is not a problem for most modern CPUs, but it doesn't hurt to check. The quickest way is to run the freeware Securable app.
Another important thing is to have virtualization activated on the BIOS/UEFI. Even with a virtualization-capable CPU, if the function is not enabled, it won't do much good. The Mac OS X virtual machine will probably not start at all, with an error message.
Check out this guide to make sure you have virtualization enabled in your BIOS/UEFI.
Finally, if our VM creator of choice is VMware Workstation Player, we will also need a 64bit version of Windows 7, 8, or 10. That is because VMware has deprecated the 32bit edition of the player since a few versions back.
After all, a 32bit operating system will only recognize 4GB of RAM, which isn't the best case scenario to run a VM.
In conclusion, we need at minimum:
- 4GB of RAM (ideally 8GB or more)
- Four-core CPU with virtualization capability
- Virtualization enabled in the BIOS/UEFI
- 64bit Windows
Newest macOS version: High Sierra 10.13
On September 25th, 2017, Apple released the latest version of macOS with the code name "High Sierra," which replaced the older Sierra 10.12.
However, it was not a massive upgrade from the previous version. On the contrary, mac OS High Sierra is more like a simple update, with some added features.
The company focused on video streaming, a smoother gaming experience, and data management. Furthermore, with High Sierra 10.13, the OS is more stable and responsive.
Having an Intel CPU is the easiest way to run a Mac OS X virtual machine. That is because Mac computers and laptops use Intel CPUs exclusively, and therefore the virtualization is straightforward, from a technical point of view.
Download the macOS High Sierra image
Because of the size of the file, which is 5.8GB, we might hit the Google Drive bandwidth limit for the hosting account.
We can easily bypass this restriction by signing into our Google Drive account.
In case you have never used Google Drive, it's the same account you probably have for Gmail, YouTube, or any other Google service. Or you can just create a new one.
Having signed into our account, we right-click the file and select "Make a copy."
Then we navigate to "My Drive," right-click and download the copy.
Google will throw a warning that it can't scan the file for viruses. We just download anyway. Since it is a large file, this can take a while, depending on our internet connection speed.
After a successful download, it's a good idea to remove the copy from your Google Drive. If we don't, it will take up a large part of the free 15GBs of space.
Decompress the image
Now that we have it on our computer, we notice that it is a .rar compressed file, which Windows can't open and decompress with the integrated utility.
With 7-zip installed, we just need to right-click at the file, and navigate the context menu to 7-Zip -> Extract Here.
This will produce a folder with all the necessary files.
The next step is to install either the VMware Workstation Player or VirtualBox. Both apps have free versions for personal use, and both are equally capable of handling the Mac OS X virtual machine.
Which one you select is a matter of personal preference. We will present the procedure for both.
VMware Workstation Player
VMware is one of the leading companies in virtualization. Their vSphere ESXi Hypervisor is an industry standard for server virtualization.
But the company also serves the needs of the regular users, with VMware Workstation Pro and the free VMware Workstation Player.
Download and install VMware Workstation Player
At the time of this writing, the latest version of VMware Workstation Player 12 is 12.5.7, available for 64-bit Windows and Linux operating systems.
There is also a later VMware Workstation Player version 14. However, as of this writing, an essential patch to allow VMware to support the Mac OS X virtual machine is not available for v.14.
Thus, we have to stick to 12 for the time being. There is no version 13, probably VMware considered it bad luck, or was afraid its customers would do so.
Installation is easy, and it won't try to install third-party software. It's essential, though, to install VMware Workstation Player at the default path C:\Program Files (x86)\VMware\VMware Player.
If we change the installation folder, the patch we mentioned earlier won't work.
Optionally, we can uncheck the "Help improve VMware Workstation 12 Player".
The first time we run the VMware Workstation Player, it will ask us whether we have a bought license key for professional use.
To use the program for free, we just enter an email address. It doesn't even need to be valid; VMware won't request any confirmation.
Unlock VMware Player for the Mac OS X virtual machine
By default, VMware player cannot run a Mac OS X virtual machine on Windows. We need to patch the player to unlock this capability manually.
For that end, we will use the unlocker that the splendid fellows at InsanelyMac have created.
We will have to download the following file.
Versions of VMware player later than 12 will probably require a newer unlocker.
You will find the latest available here. You need to sign up to the InsanelyMac forum to download it.
After downloading the "unlocker208.zip" file (or whichever newer version exists when you are reading this guide), make sure to open your "Local Disk (C:)" drive...
...and extract the contents of the .zip file inside.
If you did it correctly, you will have an unlocker208 (or whichever newer version) folder in your C: drive, which will contain the patch files.
This is vital for the correct application of the patch. A few readers in the comments section had a problem running the unlocker from their D: drive, or from a path that contained spaces, e.g. "C:\My Downloads\unlocker."
Having a single-named folder at the root of the primary local disk C: offers the highest possible compatibility.
Next, we need to make sure VMware Workstation Player is not running.
Finally, we right-click on the "win-install" Windows command script inside the unlocker208 folder, and select "Run as administrator."
After we confirm this action, a command line window will come up and execute a series of commands to patch VMware Workstation Player to run a Mac OS X virtual machine.
Pay close attention to these commands, which will only be onscreen for a couple of seconds.
If you see any "File not found" and "the system cannot find the file specified" messages, it means that the patcher has failed. The reason probably is that you didn't install VMware Workstation Player in the default folder "C:\Program Files (x86)\VMware\VMware Player."
Success or fail, the command-line window will automatically close at the end of the process.
Create the MacOS High Sierra virtual machine
With the patch finished, we can open the VMware Workstation Player again. We proceed to create a new virtual machine.
On the first screen, we select "I will install the operating system later."
On the next screen, we select "Apple Mac OS X," and "macOS 10.12" as the version. As of this writing and with the current 2.0.8 patch, there is no 10.13 option.
We choose a name for the virtual machine, and optionally change the location, in case our C: drive doesn't have enough storage capacity for the Mac OS X virtual machine.
Whether we leave the default location or select a different folder, it is imperative that we remember or write down the path. We will need to change the contents of a file there later on.
Finally, we leave the maximum disk size as is, and select "Store virtual disk as a single file."
On the last window, we will review our choices. If everything is in order, we click on "Finish."
Edit the virtual machine's settings
Back on the VMware Workstation Player interface, we select "Edit virtual machine settings."
First order of business, and if our system has at least 8GB RAM, we increase the VM's ram to 4GB (4096MB). This will help the Mac OS X virtual machine to run a lot smoother.
If our PC only has 4GB of total RAM, we can't give it all to the virtual machine. We must leave the default 2GB.
If we have a four-core i5, we must also leave the processors at "2". With an i7, we can increase them to "4".
Should we overdo it with the cores and assign more than our CPU has, we will get an error message.
Next, we select the 40GB Hard Disk (SATA) we created earlier, straight-up remove it, and then click on "Add."
We leave the first item selected, "Hard Disk" and click "Next."
Leave the SATA (Recommended). Next.
On the third page of the wizard, we choose "Use an existing virtual disk." Next.
On the "Select an Existing Disk" window, we click on "Browse."
We must now make a choice, where we want to have the Mac OS X virtual disk permanently saved. Because once we connect the disk to the virtual machine, if we move it we will have to go again through this whole process of removing and adding a drive.
Feel free to move it anywhere on the disk, even on a secondary drive.
After we move it to the desired location, we go back to VMware and choose the .vdmk file.
Finally, we press "Finish."
Last, but not least, we navigate to CD/DVD (SATA) and uncheck the "Connect at power on" option.
There is only one final step before we start our Mac OS X virtual machine.
Edit the VMX file
Remember when we advised you to write down the path where we created the Mac OS X virtual machine? This is where we are going to need it.
The default path is in our Documents -> Virtual Machines, in a folder named like the virtual machine.
Inside we will find a VMware virtual machine configuration (.vmx) file, again with the name of the virtual machine. If you gave the VM a risqué name, you are probably regretting it by now.
We right-click the file and select "Open with...".
We click on "More apps"...
...select Notepad and click OK.
At the bottom of the file, we paste the following line:
smc.version = "0"
We save and close the file.
Starting the Mac OS X virtual machine on VMware
We are now ready to start the virtual machine, from the "Play virtual machine" button.
We will get a couple of messages from the application, as we would on any first-run virtual machine.
Had everything gone well, we will soon see the familiar logo.
It might seem stuck near the end, but just give it a couple of minutes, and soon the set-up screen for macOS High Sierra will emerge.
Fun fact: we wrote this guide on Ubuntu Linux, running a Windows 10 virtual machine, running the Mac OS X virtual machine. A turducken of operating systems, if you will.
Later on the guide, we will see the full procedure to set up macOS High Sierra on our Mac OS X virtual machine, as well as how to install the VMware tools.
The creator of VirtualBox was the German corporation Innotek GmbH, back in 2007. In 2008, Sun Microsystems acquired Innotek. In 2010 Oracle Corporation bought Sun Microsystems, and re-branded VirtualBox as "Oracle VM VirtualBox."
Even though it changed many hands, VirtualBox has always been a popular virtualization application, with numerous features. All in all, a worthy opponent to VMware's free solution.
So, if you are already using VirtualBox and prefer it instead of VMware Workstation Player, here's how to install a Mac OS X virtual machine when you have an Intel CPU.
Download and install VirtualBox
We will find the latest VirtualBox version here. As of this writing, the current version is 5.1.30.
The installation is dead simple, and won't try to force upon us any unwanted third-party applications. Just click on "Next-next-next."
Create the MacOS High Sierra virtual machine on VirtualBox
After the installation, we open the program and select "New."
On the pop-up window, we choose a name for the virtual machine. Just to make things easier, we went for "macOS." On "Type" we choose "Mac OS X, " and as for the version, we have to select "macOS 10.13 High Sierra (64-bit)."
On the next screen, if we have the RAM to spare, we allocate at least 4096MB RAM.
Finally, on the last screen, we choose the last option, to use an existing hard disk drive. We then click on the folder icon and navigate to where we extracted the Virtual Machine Disk Format (.vmdk) file, and open it.
With the right virtual disk selected, we click on "Create."
Edit virtual machine settings
With our new Mac OS X virtual machine selected, we click on "Settings."
At the "System" section, we uncheck the Floppy drive from the boot order and make sure the Chipset is IHC9.
On the "Processor" tab, we allocate two Processors, or more if we have a Core i7 CPU with threads to spare.
At the "Display" section, we set the maximum Video Memory of 128MB.
On the "Network" section, we make sure the options are as follows:
Finally, we go back to "General" and write down the exact name we gave to the virtual machine because we are going to need it.
We save the changes with OK and close VirtualBox completely. It is vital that Virtualbox isn't running for the next part of the guide.
Adding some code
Up until now, the procedure for the Mac OS X virtual machine on VirtualBox was more or less the same as with any other type of virtual machine.
Alas, for the Mac OS X virtual machine to work, we need to add some code, which might scare people who don't have much experience with that.
Not to worry, though. The task is simple. First, we open a Windows command line, with administrator privileges. In any version of Windows, the way to do that is to search for CMD, right-click "Command Prompt" and select "Run as Administrator."
Then, we just copy the following code, paste it into the command prompt, and press Enter.
cd "C:\Program Files\Oracle\VirtualBox\"
We do the same with the following lines of code, one by one. Every command is in a single line.
If you gave a name different than macOS to your virtual machine on the "General" section, you must also replace it on each of the following commands.
VBoxManage.exe modifyvm "macOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
After we have successfully entered all the commands, without any errors, we can close the command line, open VirtualBox and start the Mac OS X virtual machine.
At first, it will show some code...
...then a gray screen for a few seconds, and finally the macOS High Sierra installation.
Later on the guide, we will see the full procedure to set up macOS High Sierra on our Mac OS X virtual machine.
As we mentioned, the fact that Apple computers exclusively use Intel CPUs makes it harder to run a Mac OS X virtual machine on an AMD CPU.
Harder, but not impossible. Although there is no High Sierra version yet, we managed to find a macOS Sierra machine on AMD-OSX.com that will work on AMD and tried it with an FX 6300 CPU.
The same method is supposed to work on the latest Ryzen CPUs, but we didn't have a sample machine to try it. As for older processors, it will only work on AMD CPUs that support SSE 4.1 or SSE 4.2 instructions.
We can check this on CPU-World, by inputting our CPU model in the search box.
On the results, we just need to check the Features. If we find SSE 4.1 or SSE 4.2, we 're golden.
To download the Sierra machine, visit this link. At the bottom of the first message, you will find a zip file and a Dropbox link. The compressed file contains a torrent, to download the machine.
Since the file is quite large (almost 7GB), we chose the torrent method, but you can pick whichever fits you best.
Once we download it, we have to decompress it in our desired location and move onto the next step.
VMware Workstation Player
This time we won't need to apply any patches to VMware Workstation Player, opposed to Intel's method we described above.
Thus, we can use VMware version 14, which is the latest. We can find it here.
If you already have version 12, you can still follow the steps below; there is no need to upgrade VMware.
Create a new virtual machine
We will start by creating a new virtual machine.
Choose "I will install the operating system later" and press Next.
On the next screen, tick "Other" and pick "Other 64-bit" respectively.
Here, we can give our machine the desired name and choose a location. Hit Next once again.
Store virtual disk as a single file...
...and click on "Customize Hardware."
We advise you to use at least 50-65% of your available RAM and two CPU cores. For example, if you have 8GB RAM as we do, go for 4GB on the virtual machine.
In the end, we press Finish.
Add the hard drive
Now it's time to add our virtual drive. Click on "Edit virtual machine settings."
Remove the Hard Disk (IDE) and add a new drive.
Choose "Hard Disk > SATA > Use an existing virtual disk."
Next, hit Browse and locate the file you downloaded from amd-osx.com. You should move the file to your desired location before you pick it. If you decide to move it afterward, you'll have to add it again on the virtual machine.
Then, press Finish.
If we have VMware 14, the program will ask to convert the image to the newest format. We press Convert, except if we want it to be compatible with older versions of VMware.
Finally, we press OK.
We can now start the engine. We will be greeted by a black screen, where we need to press any button to continue.
On the next screen, we hit Enter.
We'll see another black screen with some running code for a few minutes.
No matter how long it takes, we wait patiently. Even if it appears to be stuck, give it at least 10 minutes before you try to restart the machine.
At the end of this process, macOS Sierra will eventually show up. We can now move on to the first time set up.
Setting up macOS High Sierra
The hard part is long gone. At this point, no matter which way we chose to create the Mac OS X virtual machine, we should be on the Welcome screen.
We select our country and click on "Continue." If we can't find our country, we can check the "Show All" checkbox.
We can also choose a different keyboard layout, or leave the default US.
Given that we went through all this trouble to create a Mac OS X virtual machine, it's a safe guess that we don't have another Mac device to transfer information.
We can sign in with our Apple ID if we have one and feel like it, but we can always skip this step and continue.
After reading the Software License Agreement, in its entirety of course, if we agree, we proceed.
We select a name and an account name. If we didn't use our Apple ID, we need to create a password as well.
We choose our time zone...
...and continue with the express set up.
We can optionally choose the Customize Settings, to tweak the location and diagnostic options. We might want to uncheck the options to send information to Apple. After all, working on a Mac OS X virtual machine, we are far from the typical macOS user.
That's it. Our Mac OS X virtual machine with macOS is ready.
Install VMware tools for Mac OS X
Everything seems perfect on the Mac OS X virtual machine, but even on a powerful computer, the mouse pointer might seem "heavy" to drag. This is easy to fix, by installing VMware tools.
First, we must download this file as a ZIP, and extract its contents.
From the VMware Workstation Player menu we select Player > Removable Devices > CD/DVD (SATA) > Settings...
On the next window, we choose "Use ISO image file" and click on Browse.
We navigate to All Tool (new) folder that we downloaded, pick the VM Tool.iso and click Open.
Check the "Connected" box.
Now, double click on VMware Tools disk on the upper right corner.
Double-click on Install VMware Tools.
The installation will ask for our account's password.
We confirm our request.
Finally, the VMware Tools installation is over, and we need to restart our PC.
Now, the Mac OS X Virtual machine will run much smoother.
Running a Mac OS X virtual machine is not free of problems, and we may encounter one or more of the following.
Mac OS X option missing in VMware
If we can't find the "Apple Mac OS X" option when creating a virtual machine...
...it means that we didn't install the patch correctly. We need to rerun the patcher, always as an administrator, and pay attention for any error messages.
Error message: Mac OS X is not supported with binary translation
If when starting the Mac OS X virtual machine we get the message "Mac OS X is not supported with binary translation"...
...we need to activate the virtualization in our BIOS/UEFI.
Unrecoverable error on VMware
If we get a "VMware Player unrecoverable error: (vcpu-0)" error...
...then we didn't edit the VMX file correctly, adding...
smc.version = "0"
...at the bottom of it, or we failed to save the file after adding the line.
Endless code lines on VirtualBox
If VirtualBox doesn't seem to move on the first boot, then we might have failed to enter the commands correctly.
Repeat the command line part of the guide and try again.
Did you like the Mac OS X virtual machine?
A virtual machine might not be the real thing - it is, after all, an operating system running on top of our operating system. But, on a powerful computer, it can be pretty close.
Did you like your new Mac OS X virtual machine? Did it work well on your PC and were you able to run the Mac OS X exclusive software you always wanted? Leave us a comment.
Do you want to support PCsteps, so we can post high quality articles throughout the week?
If you prefer your purchases from China, we are affiliated with the largest international e-shops: