Windows 10 Installation Tutorial on Virtual Machine

In this tutorial you will learn how to install Apple’s macOS on Windows on a virtual machine and create a virtual Hackintosh.

Windows 8 is a great operating system, but it has its drawbacks. Even if you are interested in Microsoft and Windows 8, you can still try and get other versions of the operating system from different companies. But what is a safer and cheaper way to use your favorite operating system than a virtual machine? This way you can run macOS inside Windows 7.

What files do we need to install Virtual Mac in Windows 10?

You will need to download and install the necessary tools before proceeding.

This is a tutorial on how to create macOS virtual machines using both VirtualBox and VMware players.

To get started, download the VirtualBox and VMware Player from the links mentioned above.


You also need a version of macOS . In this tutorial we have used the Mojave version. Note that this tutorial is currently only available on computers running Intel processors. So this tutorial will focus on installing macOS on a virtual machine on Intel hardware.

Download macOS image files

VirtualBox Intel HFS Mojave 10.14.3

Virtualbox Intel APFS Mojave 10.14.3

VMware Player Intel APFS Mojave 10.14.3

VMware Player Patch Tool

(Intel HFS and Intel APFS are different file systems. APFS is the newest file system introduced in year 6)

After downloading the files, right-click them and unzip them. For example, you can compress files using the free Zip ( 7Zip ) program to reach the desired file with the VMDK extension . The main file we use to build the virtual machine.

Virtual Machine 2

How to build a macOS virtual machine with VirtualBox ?

After opening VirtualBox, select NEW. Type macos in the Name field to automatically identify VirtualBox from other properties. Just note in the version section, select the latest version of Apple OS.

Virtual Machine 1

Next, specify the amount of macOS virtual machine RAM. A minimum of 4GB of RAM is offered, but you can specify as much RAM as possible. Remember, you can’t allocate more RAM to your virtual machine than your main system does, and it must be that the RAM is split so that the main system running the virtual machine doesn’t run into trouble.

Finally, you need to select the Use an existing virtual hard disk file from the hard disk part, and then import the folder where you extracted the VMDK file in the pre-compressed state.

Virtual machine settings for running macOS Mojave

Before starting your virtual machine you need to make a few adjustments to it.

To start the settings, right-click on the virtual machine built and then select Settings.

Virtual Machine 4

Enter the System section and then disable the Floppy option from the boot order section. Then check that the Chipset section is set to ICH9.

Now go to the Processor section and assign the two cores to the virtual machine as shown in the image below. If you use a powerful processor like the Core i7, you can allocate more cores to the virtual machine. Finally, don’t forget to enable Enable PAE / NX.

Virtual Machine 3

In the Display section, set the Video Memory settings to 3MB, and finally in the Storage section, be sure to enable the Use Host I / O Cache option.

Virtual Machine 5

Command line commands for running macos on a virtual machine

Unfortunately, VirtualBox cannot execute the macOS image file in the current configuration. There is, of course, no room for concern as this can be solved with a few lines of code. Close VirtualBox first to get started. Then search for Windows 8 cmd in the Search section and run it as Run as Administrator.

The first code to enter after the cmd is raised is as follows.

cd "C:\Program Files\Oracle\VirtualBox\" 

Then enter the following commands line by line.

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

Virtual Machine 6

And finally, after seeing a result like the one above, you can close the cmd.

Boot macOS Mojave in virtual machine

Now run VirtualBox again and start your pre-built virtual machine.

After the start, long scrolls appear on the screen, and then for a minute or two, a gray screen appears. Then you will see the macOS welcome page.

Virtual Machine 7

You can now adjust your settings to get the operating system up.

Important Note: After you reach the Welcome screen, it is best to take a snapshot of this page to return to the gray page if you have problems with the operating system or the wrong settings. And after installing and upgrading the OS, take another snapshot and go straight to the same section using it. To take a snapshot on the virtual machine, enter the following route:

Machine> Take Snapshot

Mouse and keyboard not working?

If the mouse and keyboard do not work for you after the steps above, you should download the Virtual Machine Extension.

After installing the plugin, open the virtual machine. From the Settings section, select USB, and then select USB 3.0 (xHCI) Controller and hit the OK button. Now use mouse and keyboard without problems.

Build a macOS Mojave machine on VMware Workstation Player

If you prefer VMware to VirtualBox, you can run the VMware with a few changes to VMware. Before we create the virtual machine we need to run the patch files first.

Download the VMware Player Patch Tool from the VMware Player Intel APFS Mojave 10.14.3 patch to begin patching from the download directory that is included in the first transcript. Then go to the download location and unzip the file. Then move the patch file to the folder where VMware is installed. Close the VMware software and right-click the patch file and select Run as Administrator. Then a window will open and the patch operation will start. When the patch is complete, open VMware.

Note that if you encounter a File not Found message, it is because the folder in which you copied the patch file has nothing to do with the original VMware folder. (VMware is installed by default on C drive)

Build macoj Mojave Virtual Machine in VMware

After you open VMware, select the Create a New Virtual Machine option and then select I will install the operating system later. Now select the Apple Mac OS X option from the version section. After selecting this option, you will be presented with Version to macOS 10.14. If you see a version other than the one above in the virtual machine it means the patch is not performing well.

Virtual Machine 7

You must now select a name for the virtual machine. We recommend macOS. After selecting the name, save a copy of the virtual machine installation path somewhere, as we’ll need to do some editing later.

In the next step after setting up the virtual hard disk drive, be sure to enable the Store virtual disk option as a single file. Note that after setting this step, do not run the virtual machine yet.

Edit macOS settings on virtual machine

Before setting up the virtual machine you need to specify the hardware specifications as well as the macOS VMDK file path.

On the VMware homepage, right-click on the name of the virtual machine built and adjust the hardware settings like the settings we learned in VirtualBox. It is best to have at least 4GB of RAM to get the best results. In the Processors section, adjust the processing kernel settings to two. Now go to the Hard Disk (SATA) section and clear the hard drive that the virtual machine has created, then select Add> Hard Disk> SATA (Recommended)> Use an existing disk virtual macOS operating system file specified by the VMDK extension.

Virtual Machine 8

Edit VMX file

Before running the last step, you need to open the path you have already saved and make changes to it.

The default route is as follows (for the convenience of the route you saved in the previous step)

C:\Users\YOURNAME\Documents\Virtual Machines\YOUR MAC OS X FOLDER 

When you enter the folder you need to find the macOS.vmx file and open it with Notepad. Scroll to the bottom of the file and type the following command at the bottom of the page and then save the file.

smc.version = "0

Install VMware Tools on Virtual Machine

If you remember, there was a list of files needed to download a file called the VMware patch tool, which is a plug-in for proper mouse and keyboard performance and graphics settings. Follow these steps to enable this plug-in:

Player> Removable Devices> CD / DVD (SATA)> Settings

Now from the Use ISO image file section, select the VM Tool New.ISO file you previously downloaded, and then click OK.

An icon called VMware Tools drive is now added to your desktop. Double-click it and then select Install VMware Tools. You will probably receive several security messages when you install them, which should go to:

Open Security Preferences> Allow

Now save all the changes and run the virtual machine.

probable problems

You will probably have problems installing and running MacOS on the virtual machine.

  • If the virtual machine fails, you may need to re-check the settings and patch files.
  • If you encounter a message “Mac OS X is not supported with binary translation” . You must enable the virtualization option from the BIOS / UEFI settings section.
  • If you encounter a “(VMware Player unrecoverable error: (vcpu-0)” warning during runtime, you need to check whether the macOS.vmx file has been edited properly.

Finally, it is important to note that using any operating system in a virtual machine under no circumstances can transfer the actual experience of working with that operating system to the actual hardware.

Leave a Reply

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