title: VBoxManage error: Details: code NS_ERROR_FAILURE (0x80004005) -VBoxManageControlVM.cpp
body: <p>I ran into Virtualbox shutting down a VM while trying to run kitchen test using Vagrant as the driver. </p>
  
  <p>I restarted  Virtualbox as mentioned in "<a href="https://stackoverflow.com/questions/21069908/vboxmanage-error-failed-to-create-the-host-only-adapter">VBoxManage: error: Failed to create the host-only adapter</a>".</p>
  
  <p>How can I move further in resolving this?</p>
  
  <ul>
  <li>VirtualBox Version: 5.0.14r105127</li>
  <li>kitchen version: 1.6.0</li>
  <li>Vagrant 1.7.3</li>
  <li>chef-client version: 12.8.1</li>
  </ul>
  
  <p>This is the error:</p>
  
  <pre><code>Message: Failed to complete #destroy action: [Expected process to exit with [0], but received '1'
  ---- Begin output of vagrant destroy -f ----
  STDOUT: ==&gt; default: Forcing shutdown of VM...
  STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
  for controlling VirtualBox. The command and stderr is shown below.
  Command: ["controlvm", "3fa0e654-df44-4050-809f-2d1474b74a8f", "poweroff"]
  Stderr: 0%...10%...20%...30%...40%...50%...
  Progress state: NS_ERROR_FAILURE
  VBoxManage: error: Failed to power off machine
  VBoxManage: error: The VM session was aborted
  VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession
  VBoxManage: error: Context: "RTEXITCODE handleControlVM(HandlerArg*)" at line 234 of file VBoxManageControlVM.cpp
  ---- End output of vagrant destroy -f ----
  Ran vagrant destroy -f returned 1]
  </code></pre>