Install macOS Mojave on VirtualBox on Windows -VMDK

In this article, I am going to show you how to install macOS Mojave on VirtualBox on Windows. If you are interested in Apple’s new Mac operating system macOS Big Sur, you can visit our latest guide to install macOS Big Sur on VirtualBox on Windows PC. In addition, we have the VMware guide on how to install macOS Big Sur on VMware on Windows. In this guide, we will provide all the prerequisites to install macOS Mojave on VirtualBox on Windows 10 based computer.

Newer versions of macOS are out, So check the guides below to install them:


Before we get started, make sure to read the following requirements. Please do not skip this step because it’ll help you to successfully install macOS Mojave on VirtualBox on Windows 10 PC.

  • Minimum 2 GB memory (Recommended 8GB or higher)
  • Minimum 2 cores of processors (Recommended 4 cores or higher)
  • Hard disk free space 20 GB (Recommended 100GB or higher)
  • Your system should support Intel or AMD VT (Virtualization Technology)
  • Intel/AMD VT (Virtualization Technology) Should be enabled from BIOS setup

Required: If you haven’t already then you should enable Virtualization Technology (aka Intel VT or AMD-V).

Furthermore, it’s highly recommended that you install macOS Mojave on SSD (Solid State Drive) instead of HDD (Hard Disk Drive) because you will have a much faster performance with SSD rather than HDD.

Steps to Install macOS Mojave on VirtualBox on Windows

  1. Download the Prerequisites
  2. Install VirtualBox on Windows / PC
  3. Install & Update VirtualBox Extension
  4. Create macOS Mojave a New VM & Customize
  5. Execute the VirtualBox Code
  6. Perform a Clean Installation of macOS Mojave
  7. Update macOS Mojave to the Latest Version (Optional)

To install macOS Mojave on VirtualBox on Windows successfully, you must download the following prerequisites. Read the step by step guide to avoid any problems. If you miss any of the steps below, then you might be unsuccessful in installing macOS Mojave on Windows.

Note: We’ll use the VMKD image for this specific guide. If you want to install macOS Mojave Using ISO file, you can visit our article “How to install macOS Mojave on VirtualBox on Windows Using ISO” Image.

Step 1: Download the Prerequisites

You have to download all the following files because they are all important to successfully install macOS Mojave on VirtualBox on a Windows-based system.

Note: If you want to use the VMDK file multiple times, we recommend you have a copy in a different location once the download completed.

Step 2: Install VirtualBox on Windows / PC

From the “Download Prerequisites” section of this post, you should have downloaded VirtualBox and if you didn’t, download VirtualBox latest version and install it on your Windows system. If you’ve already installed VirtualBox, then you can skip this step. Other than that, follow the steps below.

  1.  On the welcome Wizard page, click Next.
  2. Keep the default setting on the Custom Setup page and click Next.
  3. Again Click Next to accept the default options unless you want to change something.
  4. On the warning Network interface page, just click Yes to process with Virtualbox installation.
  5. Click the Install button to install VBox. Again click Yes if required.
  6. While installing VBox, you might see a security warning about “Oracle Corporation”. You need to click Install on this page to process with the installation. If you click Don’t install, the installation process will be terminated here and you can’t go ahead. If you see the security warning again click the Install button.
  7. Finally, click Finish.

Step 3: Install & Update VirtualBox Extension

This step is not 100% necessary but it’s highly recommended to do this step because macOS Mojave might not function properly on VirtualBox. For this reason, it might cause problems during the installation. Go to the Virtualbox download page. Under VirtualBox 6.1.10 Oracle VM VirtualBox Extension Pack section, click All supported platforms to download the latest version of Virtualbox Extension Pack.

Download Virtualbox Extensions

Download Virtualbox Extensions

Once you’ve downloaded the Extension pack. Now, follow the steps below to update the Virtualbox extension pack.

  1. Open up VirtualBox, navigate to Tools>Pereferences>Extensions.
  2. Click on Plus (+) icon and select VirtualBox extension which you’ve downloaded at the beginning of this section. Click Install or Upgrade and then Agree to the terms and conditions. Click the OK button.

Finally, you should see something like the screenshots below.

Step 4: Create macOS Mojave a New VM & Customize

After installing VirtualBox, now you will need to create a new virtual machine on Virtualbox.

Creating a virtual machine for macOS Mojave is kind of the same as you create a virtual machine for the Windows Operating system or Linux but with some minor changes. In this post, I’ll outline those changes. Follow the steps below to create a new virtual machine for macOS Mojave using the VMDK file.

  1. Open up your VirtualBox application and click New.

    Create a New VM

  2. Click Expert Mode and select the following options then click Create.
    1. Type a suitable Virtual Machine Name.
    2. Virtual Machine Location (a separate drive is recommended).
    3. Type (Mac OS X).
    4. Version (Mac OS X 64-bit).
    5. Memory 4 GB (recommended 8 GB or higher).
    6. Hard Disk: Select Use an existing virtual machine hard disk file. Click on the Folder icon to browse the macOS Mojave VMDK file.
    7. Click Add and select the Mojave VMDK image
  3. It’s time to edit the virtual machine to make it works. Select macOS Mojave VM and click on Settings. Now, bring the following changes to macOS Mojave VM.
    1. Under System>Motherboard, increase the Base Memory to 10248MB. However, you can use a bit lower memory if your system doesn’t have this much RAM.
    2. Uncheck Floppy from the Boot Order section.
    3. Under the Processor tab, increase the processors to 4 or higher.
  4. On the Display window, increase the Video Memory to 128MB.

    How to Install macOS Mojave on VirtualBox on Windows Using VMDK

    Increase macOS Mojave Video Memory

Step 5: Execute the VirtualBox Code

Once you’ve created and customized your virtual machine, it’s time to run some codes in order to install macOS Mojave on VirtualBox. First, you should note your virtual machine name because later on, we will use it. Open the VirtualBox code which you should have downloaded from the “Download Prerequisites” section of this post. If you’ve not downloaded, doesn’t matter. Just use the following code.
Note: Before, you execute the code by command prompt. You should read the following steps.

cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
  1. When you opened VirtualBox code via notepad or any other text editor, use the replace function of the program to Replace the “VM Name” with your virtual machine name. See the picture below to get an idea of how to do it.

    Replace macOS Mojave VM Name

  2. Now, you’ve two choices. First, if you want to fix your macOS Mojave screen resolution in the first place. You should also execute the following code. You have to change “VM Name” with your virtual machine name and HxV with a screen resolution such as “1920×1080“. For more supported screen resolution on VirtualBox and detailed guide, visit fix macOS Catalina screen resolution on VirtualBox.
    VBoxManage setextradata "VM Name" VBoxInternal2/EfiGraphicsResolution HxV

    Important Note: We highly recommend to quit the VirtualBox program before executing the code. If you don’t do it, your virtual machine might not proceed to the installation step.

    Exit VirtualBox

    Exit VirtualBox

  3. Once you replaced the “VM Name” with your virtual machine name, then run the code one by one via command prompt (CMD). You can open the command prompt by pressing the Windows+X key in Windows 10 and select Command Prompt from the list. Or simply press Windows key and type CMD. Click Run As Administrator and click Yes.

    Execute macOS Mojave VirtualBox Code

  4. Now, that you’ve executed the macOS Mojave VirtualBox code. Open the VirtualBox app then click the Start button to power on the VM. A black screen with a lot of white text will appear on the screen. Just wait for a few minutes and the macOS Mojave installation will start.

    Installing macOS Mojave

Step 6: Perform Clean Installation of macOS Mojave

  1. Once you hit enter, a whole bunch of code will run on the screen, but you should not worry about it. Wait for a few minutes, and you should see the macOS Mojave installation window. Have a cup of coffee until the installation complete because it’s going to take around 15 minutes to finish.
  2. Once the installation part complete, your system will reboot, and after the restart, you should see macOS Mojave Welcome page.
  3. Select the following options. You can change most of the settings later on, so don’t worry about that for now.
      1. Select your Country and click Continue.

        Welcome to macOS Mojave

      2. Choose a Keyboard Layout and click Continue. If you’re not happy with default settings, you can customize the Settings.
      3. On the “Data & Privacy” window, click Continue.
      4. Select Don’t transfer any information now.
      5. Click on Set Up Later then Don’t Sign In. Click Skip. You can add your Apple ID later.
      6. Click Agree to the Terms and Conditions and click Continue.
      7. Fill out the Full name,  Account name, Password, and Hint then click Continue.
      8. If you want to customize Express Set Up, you can click on Customize Settings otherwise click on Continue.
      9. Select an appearance theme and click Continue. You can choose between dark and light mode.
      10. Wait a few seconds that your macOS should be set up.
          1. Close mouse & keyboard window for now.
  4. Well done 👌 you’ve installed macOS Mojave on VirtualBox Successfully.

    macOS Mojave Installation Completed

    macOS Mojave Installation Completed

Step 7: Update macOS Mojave to the Latest Version (Optional)

You should do this step if your macOS Mojave is not updated and not the latest version. So, you can update it by following the instructions below.

  1. Click on the Apple logo at the top-left corner of your screen. Select System Preferences from the list. Under System Preferences, click on Software Update.

    Software Update

  2. For now, we do not upgrade to another release of macOS so we just updating our current version of macOS Mojave to the latest version of macOS Mojave. Under Another update available, click More info.

    Update Available

  3. Check the latest update of macOS Mojave and click Install Now.

    Update macOS Mojave to 10.14.6 Latest

  4. Click Download Install & Restart button. Now, wait for a couple of minutes so that the downloading Update complete.
  5. Once the Downloading Update gets complete, your VM or system will restart automatically. Just wait and relax. Be patient because it’s going to take sometimes. First, you’ll see the Installing Software update followed by another 18 minutes remaining window.

    Updated macOS Mojave to the Latest version

Video Tutorial:

If you want to watch the video tutorial, you can open the URL below to see how to update your macOS to the latest version. It doesn’t matter what versions do you use. It should work for macOS Mojave, Catalina, Big Sur, and other versions of macOS.


Basically, in this article, I’ve shown you the step by step pictorial guide on how to install macOS Mojave on VirtualBox on Windows computer. After reading and following this guide, you should have done the following;

  • Download the Prerequisites
  • Extracted macOS Mojave Image
  • Installed VirtualBox on Windows / PC
  • Installed & Updated VirtualBox Extension
  • Created macOS Mojave a New VM & Customized
  • Executed the VirtualBox Code
  • Performed a Clean Installation of macOS Mojave
  • Updated macOS Mojave to the Latest Version (Optional)

We are ready to keep receiving your feedback about this article, and other posts on wikigain. Your suggestions and feedbacks are highly appreciated.


Mukhtar Jafari is the founder and CEO of He is CISCO CCENT & CCNA Certified and has got his diploma in IT Networking from North Metro TAFE PERTH. He is currently working as a Help Desk Technician at DEEPTECH Perth Western Australia. In addition, he loves helping other tech enthusiasts so he is working part-time on He shares his experience through this website for IT beginners.


  1. blankbryan brodie Reply

    thanks for the installer ISO link – that is very hard to find

    this is the last MacOS that runs Adobe Creative Suite 6

    really appreciate this guide

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.