Download VirtualBox for Windows.
Click Next to install VirtualBox for Windows.
Click Next.
Click Yes.
Click Yes.
Click Install.
Click Finish.
Download MacOS Monterey ISO.
Click New to create a new VM.
Enter a virtual machine name in the Name field (e.g. MacOS). In the ISO Image drop down, browse to where you saved your MacOS ISO file. VirtualBox will detect the OS will default to Type: Mac OS X and Version: Mac OS X (64-bit). Click Next.
Set the amount of Base Memory the MacOS virtual machine can use to at least 8GB (minimum is 4GB). Assign at least 2 Processors then click Next.
Create the amount of disk space the MacOS virtual machine can use to at least 100GB then click Next.
Click Finish.
Open Command Prompt and Run as Administrator.
Change directory by entering the following command.
cd "C:\Program Files\Oracle\VirtualBox\"
Enter the following commands.
VBoxManage.exe modifyvm "MacOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbffVBoxManage 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" 1VBoxManage modifyvm "MacOS" --cpu-profile "Intel Xeon X5482 3.20GHz"
Click Start to power on the MacOS virtual machine.
Select Language (e.g. English) then click the right arrow.
Select Disk Utility then click Continue.
Highlight VBOX HARDDISK Media on the left pane then click Erase.
Enter MacOS in the Name field. Select Mac OS Extended (Journaled) in the Format drop down menu. Select GUID Partition Map in the Scheme drop down menu.
Click Done.
Select File then Close.
Select Install macOS Monterey then click Continue.
Click Continue.
Click Agree to the terms of the software license agreement.
Click Agree again to the terms of the software license agreement.
Select the disk (e.g. MacOS) then click Continue.
Wait until the installation is finished (installation could take 30 minutes or more).