Skip to content

Instantly share code, notes, and snippets.

@TolgaBagci
Created July 26, 2021 15:20
Show Gist options
  • Save TolgaBagci/5920088af310dec9dcf25bc6abb19502 to your computer and use it in GitHub Desktop.
Save TolgaBagci/5920088af310dec9dcf25bc6abb19502 to your computer and use it in GitHub Desktop.
VirtualBox macOS High Sierra Codes
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your Virtual Machine Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
@rohhhs
Copy link

rohhhs commented Jun 28, 2023

❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

@ksylvan
Copy link

ksylvan commented Oct 23, 2023

Do you know what the settings are for MacOS Sonoma or how to derive them?

@shinevit
Copy link

shinevit commented Dec 2, 2023

@ksylvan Try to apply the next ones

cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage.exe modifyvm "macOS Sonoma" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,3"
VBoxManage setextradata "macOS Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macOS Sonoma" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS Sonoma" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

@ksylvan
Copy link

ksylvan commented Dec 3, 2023

Great. Thank you! I'll try it. Where did you derive this info?

@donnaken15
Copy link

I keep getting frozen on "End RandomSeed" no matter which install disk I use. I'm using VBox 7.0.10

@Badvibesforever
Copy link

Badvibesforever commented Feb 15, 2025

I'm getting this error

**Failed to query SMC value from the host (VERR_INVALID_HANDLE)

Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}**

using ISO: High Sierra 10.13.iso
VB Version 7.1.6 r167084 (Qt6.5.3)

I used this guide https://www.thewindowsclub.com/how-to-install-macos-in-virtualbox-on-windows-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment