'VirtualBox OS-X Monterey won't start: Failed to query SMC value from the host (VERR_INVALID_HANDLE)
I'm running VirtualBox 6.1.32 on Windows 10 64-bit and trying to stand up my very first VM using OS-X Monterey. When I start the virtual machine I get this error:
Failed to open a session for the virtual machine MAC_OS_MONTEREY.
Failed to query SMC value from the host (VERR_INVALID_HANDLE).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
These are the commands I've gleaned for setting it up on my AMD Ryzen 7 2700 Eight-Core Processor 3.20 GHz machine:
VBoxManage.exe modifyvm "MAC_OS_MONTEREY" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage.exe modifyvm "MAC_OS_MONTEREY" --cpu-profile "Intel Core i7-6700K"
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal2/EfiGraphicsResolution 1920x1080
VBoxManage.exe setextradata "MAC_OS_MONTEREY" "VBoxInternal/TM/TSCMode" "RealTSCOffset"
Solution 1:[1]
Running the command:
VBoxManage.exe setextradata “Your macOS VM Name Here!!!” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 0
fixed the issue for me
Solution 2:[2]
I had the same issue just like you, I fixed it for myself by downgrading VirtualBox to 6.1.30 instead of the newer builds. And for some reason, it worked. Hope it helps! You can get the older versions here: https://www.virtualbox.org/wiki/Download_Old_Builds_6_1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | gunnerone |
Solution 2 | Killerjet101 |