*** SOS *** I'm trying to install my first Centos OS on Oracle VM VirtualBox using Vagrant

Please assist with the following issue. Many thanks in advance!

I installed Oracle VM VirtualBox & Vagrant on my Windows 10 64-bit laptop. I end up with the following error:

C:\HashiCorp\Vagrant>vagrant init centos/8 A Vagrantfile has been placed in this directory. You are now ready to vagrant up your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on vagrantup.com for more information on using Vagrant.

C:\HashiCorp\Vagrant>vagrant up Bringing machine ‘default’ up with ‘virtualbox’ provider… ==> default: Importing base box ‘centos/8’… There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: [“import”, “\?\C:\Users\Owner.vagrant.d\boxes\centos-VAGRANTSLASH-8\1905.1\virtualbox\box.ovf”, “–vsys”, “0”, “–vmname”, “CentOS-8-Vagrant-8.0.1905-1.x86_64_1605986687739_31676”, “–vsys”, “0”, “–unit”, “10”, “–disk”, “C:/Users/user/VirtualBox VMs/CentOS-8-Vagrant-8.0.1905-1.x86_64_1605986687739_31676/CentOS-8-Vagrant-8.0.1905-1.x86_64.vmdk”]

Stderr: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100% Interpreting ?\C:\Users\Owner.vagrant.d\boxes\centos-VAGRANTSLASH-8\1905.1\virtualbox\box.ovf… OK. 0%… Progress state: E_FAIL VBoxManage.exe: error: Appliance import failed VBoxManage.exe: error: Could not create a directory ‘C:\Users\user\VirtualBox VMs\CentOS-8-Vagrant-8.0.1905-1.x86_64_1605986687739_31676’ to save the settings file (VERR_ACCESS_DENIED) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine VBoxManage.exe: error: Context: “enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)” at line 957 of file VBoxManageAppliance.cpp

C:\HashiCorp\Vagrant>

You should check for this permission error:

Could not create a directory ‘C:\Users\user\VirtualBox VMs\CentOS-8-Vagrant-8.0.1905-1.x86_64_1605986687739_31676’ to save the settings file (VERR_ACCESS_DENIED) 
1 Like