Vagrant up fails Windows 10

I tried lots of times using
vagrant destroy -f
vagrant up --provision
and always get the error
==> mongod-m103: Booting VM…
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: [“startvm”, “64cb22f4-e2a9-4eba-9fb8-e7db7db8cd87”, “–type”, “headless”]

Stderr: VBoxManage.exe: error: The virtual machine ‘mongod-m103’ has terminated unexpectedly during startup with exit code 1 (0x1).
In the log file the error is:

2e8c.2cf4: Error -104 in supR3HardenedWinReSpawn! (enmWhat=5)
2e8c.2cf4: Error relaunching VirtualBox VM process: 5

Please share the full output enclosed in code tags.

image

C:\Users\Hli\m103\m103-vagrant-env>vagrant destroy -f
==> mongod-m103: VM not created. Moving on...

C:\Users\Hli\m103\m103-vagrant-env>vagrant up
Bringing machine 'mongod-m103' up with 'virtualbox' provider...
==> mongod-m103: Importing base box 'ubuntu/trusty64'...
==> mongod-m103: Matching MAC address for NAT networking...
==> mongod-m103: Setting the name of the VM: mongod-m103
==> mongod-m103: Clearing any previously set forwarded ports...
==> mongod-m103: Clearing any previously set network interfaces...
==> mongod-m103: Preparing network interfaces based on configuration...
    mongod-m103: Adapter 1: nat
    mongod-m103: Adapter 2: hostonly
==> mongod-m103: Forwarding ports...
    mongod-m103: 22 (guest) => 2222 (host) (adapter 1)
==> mongod-m103: Running 'pre-boot' VM customizations...
==> mongod-m103: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "a9d3fc00-6607-45b6-8e55-a53d4bd8c463", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'mongod-m103' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Hli\VirtualBox VMs\mongod-m103\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

What’s the version of vagrant, VirtualBox and Windows + edition?

Windows 10 64bits
vitualbox: 6.1.4
vagrant 2.2.7

Windows 10 Pro, Home, Enterprise?

windows 10 pro

On VirtualBox, right click the machine, select Start, then click Normal Start.
Share the full error message that shows up on VBox as well as any outputs on the other black window.

image

click ok and see details

 The virtual machine 'mongod-m103' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Hli\VirtualBox VMs\mongod-m103\Logs\VBoxHardening.log'.

|Result Code:|E_FAIL (0x80004005)|
| --- | --- |
|Component:|MachineWrap|
|Interface:|IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}|

Try these steps:

  1. vagrant destroy -f
  2. Make sure the mongod-m103 machine is deleted from the VirtualBox UI
  3. Uninstall VirtualBox
  4. Delete the following folders:
    C:\Program Files\Oracle\VirtualBox
    C:\Users\Hli\.VirtualBox
    C:\Users\Hli\VirtualBox VMs
  5. Reboot
  6. Install VirtualBox
  7. Reboot
  8. vagrant up

The steps are followed and the error is the same :frowning_face:

Please share the full output again.

C:\Users\Hli\m103\m103-vagrant-env>vagrant up
Bringing machine 'mongod-m103' up with 'virtualbox' provider...
==> mongod-m103: Importing base box 'ubuntu/trusty64'...
==> mongod-m103: Matching MAC address for NAT networking...
==> mongod-m103: Setting the name of the VM: mongod-m103
==> mongod-m103: Clearing any previously set forwarded ports...
==> mongod-m103: Clearing any previously set network interfaces...
==> mongod-m103: Preparing network interfaces based on configuration...
    mongod-m103: Adapter 1: nat
    mongod-m103: Adapter 2: hostonly
==> mongod-m103: Forwarding ports...
    mongod-m103: 22 (guest) => 2222 (host) (adapter 1)
==> mongod-m103: Running 'pre-boot' VM customizations...
==> mongod-m103: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "16eb1b52-1757-40ba-ad86-50df6a4e9cdb", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'mongod-m103' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\Hli\VirtualBox VMs\mongod-m103\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

image

image

Let’s see screenshots of all the programs installed on your laptop. You can use this path:

Control Panel\Programs\Programs and Features

I need to see all columns.