After creating a machine and BEFORE starting the machine with the ISO, make the following changes:
cd "C:\Program Files\Oracle\VirtualBox\"
.\VBoxManage modifyvm "macOS Monterey" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
.\VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
.\VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
.\VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278895"
.\VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
.\VBoxManage setextradata "macOS Monterey" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Most online resources say to set the
This was needed when WSL2 and VirtualBox were installed at the same time, i.e., Hyper-V for VirtualBox was not workingGetKeyFromRealSMC
value to 1, but this causes a VirtualBox error.
Alternative DmiSystemProduct, DmiBoardProduct values: MacBookPro15,1, Mac-551B86E5744E2388