Apple - VirtualBox 5.2 Won't Install on Mac OS 10.13

This worked for me on High Sierra 10.13.4:

  • System Preferences > Keyboard > Shortcuts > Select 'All Controls'

enter image description here

Then:

  • System Preferences > Privacy & Security > Press 'Tab' until 'Allow' is selected > Press 'Spacebar'

Note: the Privacy & Security page may need to be unlocked before 'Tab' will work.

Hope this helps!

Credit to @dansanduleac's answer on GitHub


I had these same issues installing VirtualBox 5.2 on an employees Mac running 10.13, via remote desktop. After trying all the things you've mentioned I kept googling, eventually finding this thread saying it's a screensharing issue.

There is a report that you cannot allow kext if you are using Screen Sharing.

I use magic perf to intercept various touchpad actions. [...] If you have this problem try to disable any apps that my capture and forward clicks.

Apple are disabling the "Allow" button if it's pressed by anyone BUT the Mac touchpad, directly.

So, if you're also attempting this via some sort of indirect method, or are using something like Magic Perf or Steermouse, disable those and make sure the click on "Allow" is as direct as possible.

Hope this helps someone out there.


Worked for me on 10.13.4

open script editor and run the following command, replacing x and y as necessary.

tell application "System Events" to click at {x, y}

get your x,y values by cmd + shift + 4 to bring up the screenshot tool. hover over the allow button and put those values for x and y respectively. make sure the allow button is visible when you run the script.