Vagrant up throws VBoxManage: error: Details: code E_ACCESSDENIED Exception


After installing VirtualBox and Vagant (homebrew), no box can be started under MacOS Sonoma 14.4.1(M1).

brew install --cask vagrant-manager
brew install --cask vagrant

vagrant init hashicorp/bionic64
vagrant box add hashicorp/bionic64

vagrant up --provider=virtualbox

There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: [“showvminfo”, “c3ce26c4-c0e4-47f2-9787-c6b495df55cd”, “–machinereadable”]

Stderr: VBoxManage: error: The object is not ready
VBoxManage: error: Details: code E_ACCESSDENIED (0x80070005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: “GetMediumAttachment” at line 894 of file VBoxManageInfo.cpp

What could be the error and how could I fix this error?

Any help is welcome :slight_smile:

Thanks in advance.