Click here to Skip to main content
15,615,280 members
Articles / Operating Systems / Windows
Technical Blog
Posted 24 Feb 2012

Tagged as


36 bookmarked

How to Install the Latest Mac OS X Lion Virtual Machine on Windows Server 2008/Windows 7

Rate me:
Please Sign up or sign in to vote.
5.00/5 (12 votes)
24 Feb 2012CPOL4 min read
20 mins installation guide in order to get you with a Mac OS X Lion VM in no time

The client I'm currently consulting with would like to revamp a current BI Dashboard prototype into a iPhone/iPad native application rather than a mobile web app. Therefore, I have to get my hands dirty in this case to dive into the IOS development to move across the dark side.

Basically, these days, Apple already began to use Intel as processors for CPU providers, so in other words, it's surely compatible to install Mac OS X operating system on top of the Intel PC.

After spending a bit of time poking around the "Hackintosh" community and overcoming a few quirks along the way, I have successfully set up my "first Mac Lion OS X" on my workstations (Windows 7 Ultimate) and work laptop (Windows Server 2008 R2 Enterprise). So I take this 'special' opportunity to share this 20 mins installation guide in order to get you with a Mac OS X Lion VM in no time.

Step 1. Pre-requisites and Tools You Need to Have

  1. Minimum 4 GB RAM
  2. Minimum 2 CPU Processors (4 processors are more preferable)
  3. Minimum 40 GB Hard-drive space (requires 5G more space for xCode if doing development)
  4. A retail copy of Mac OS X Lion operating system (my version 10.7.3 -, cost $31.99), made into a vmdk file for VMware
  5. Get the latest VMware workstation (, really doesn't matter whether it's a free trial or a proper licence.
  6. Mac OS X VMware unlocker program (

Once you have gotten hold of all those items mentioned above, let's kick off this OS X adventure.

Step 2. Set Up the VM Machine

VMware workstation installation should be fairly straightforward, after a few clicks, you get yourself a nice shinning VM environment set up shortly.

The only quirk worth mentioning here is that if you do have a Hyper-V module installed on the PC before-hand (in my case, Hyper-V used to be my preference to virtualize the development environment), you have to manually remove and restart the machine, in order to get the VMware workstation set up on your PC.

Image 1

Step 3. VMware Unlocker - Mac OS Guest

Extract the downloaded MAC OS VMware Unlocker program, then quickly navigate to the folder named
" \Mac OS X Lion VMware Files\VMware Unlocker – Mac OS X Guest" .

After that, execute "windows.bat" command under "Administrator" privilege to unlock the Mac OS X Client.

Image 2

Once it's successfully executed (make sure that you use "run as administrator" for the Command Prompt), we are about to install the OS X image only figures away.

Step 4. Install OS X Lion VM Image

Quickly navigate back to the extracted unlock program folder "Extracted Folder Path"\Mac OS X Lion VMware Files\Mac OS X Lion\ to find the VM image file "Mac OS X Lion.vmx", then simply execute the file by double clicking on it.

It should quickly bring up the VMware workstation program, and preload the image with the basic setting in the VM configuration screen:

Image 3

Based upon the screen-shot the above, it's ideal to allocate more than 2 processors, 4 GB RAM along with 40GB hard drive space for it, in order to get the decent performance out of the OS X Lion. Feel free to let me know if you have other hardware spec configuration for it to produce decent performance.

Right now, we are good to go for loading the pre-purchased Lion OS X DVD vdmk format file into the VM.

Quickly select the VM, right click, and select the "Settings..." option to navigate to the "Virtual Machine Settings" screen. Under "Hardware" tab, select "Add..." to add into a new "Hard Disk".

Image 4

Quickly navigate to the pre-vmdk installer, then select the "Mac OS X Lion.vmdk" with all options left as default, to press "Finish" to complete the process.

Image 5

Image 6

Step 5. Power On the VM to Explore the Mac OS X Lion

After you power on the VM, you will awesomely start your Mac OS X Lion from that moment onwards.

Image 7

The whole installation process will take you about 2 minutes, which is really quick and standard, nothing standing out as long as you have your Apple ID in your hand.

Image 8

Hooray, after a few clicks and ticks, you just got yourself a shining Mac OS X Lion Operating System up running on top of your windows PC without massive labourish work and un-rational quirks.

Image 9

Step 6. Install xCode and Set Up the Development Environment

It's just another extremely easy quick way to set up the development environment by installing the latest xCode app from the App-Store. Once it's all installed, basically all you need to do is to double-click the app code, then you could start your iOS development journey in no time.

Image 10


As said before, as long as you have all those items listed within "Pre-requisites", following up the nifty instructions mentioned the above, you should set yourself up with a Mac OS X Lion in 30 mins or so in total.

Enjoy it and leave any feedback/comments below, so that I can reply to it shortly.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Comments and Discussions

Questiondo you have information on how to install using windows hyper-v or virtualbox Pin
subash110723-Aug-15 21:24
subash110723-Aug-15 21:24 
QuestionHow to Install VMware Without Having to Remove Hyper-V Role Pin
Exotic Hadron8-Oct-13 1:56
Exotic Hadron8-Oct-13 1:56 
QuestionMac OS in windows machine Pin
xtian0911-Sep-13 9:45
xtian0911-Sep-13 9:45 
GeneralMy vote of 5 Pin
Xaoc_MK7-Feb-13 0:06
Xaoc_MK7-Feb-13 0:06 
QuestionVMWare WorkStation Trial Pin
rubenmadamba25-Jan-13 16:44
rubenmadamba25-Jan-13 16:44 
Questioninstallation of macosx in my windows machine Pin
Tan@1231-Jan-13 22:10
Tan@1231-Jan-13 22:10 
QuestionClarifications needed Pin
Member 38434885-Dec-12 3:37
Member 38434885-Dec-12 3:37 
Question32-bit win7 ultimate Pin
Member 94946838-Oct-12 5:24
Member 94946838-Oct-12 5:24 
QuestionInstall on a machine with i3 processor Pin
San246820-Sep-12 6:09
San246820-Sep-12 6:09 
Questionwhat is meant by 2 processors. Pin
scoolsnick5-Sep-12 23:01
scoolsnick5-Sep-12 23:01 
GeneralMy vote of 5 Pin
vishaljindal4-Aug-12 9:05
vishaljindal4-Aug-12 9:05 
QuestioniPhone debugging / file sharing Pin
gghghgh3-Apr-12 5:27
gghghgh3-Apr-12 5:27 
GeneralMy vote of 5 Pin
knoami26-Feb-12 1:34
knoami26-Feb-12 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.