How to Install macOS on VirtualBox on Windows. Subscribe if you are a technology lover because more videos like this are coming soon for you all great of technology. Thanks for watching and keep learning.
cd "C:\Program Files\Oracle\VirtualBox"
Replace Your VM Name with the name of your virtual machine and run all of the following commands on your host.
VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Graphics Resolution:
cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage setextradata "MAC" VBoxInternal2/EfiGraphicsResolution "1920x1080"