Vboxmanage exe error failed to create the host only adapter

Hi.Since some Win 10 update, my Host Only adapter disappeared.I have tried numerous versions in both 5.1 and 5.2 but none of them provide a valid interface.

[Solved] Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

  • Reply with quote

[Solved] Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Hi.
Since some Win 10 update, my Host Only adapter disappeared.
I have tried numerous versions in both 5.1 and 5.2 but none of them provide a valid interface.

  • Windows 10 Pro
  • Version 1709
  • OS-Build 16299.125

Now I’m resting on latest 5.2.4 but nothing works as expected.

I’ve uninstalled all VirtualBox, rebooted, reinstalled and rebooted again, with no luck.

Host Only adapter is not seen in Network connections or in Device Manager.

In VirtualBox, I go to CTRL + W (Host Network Manager) and try to create a new adapter.
This list is for the record empty.

Code: Select all   Expand viewCollapse view
Failed to create a host network interface.

Could not find Host Interface Networking driver! Please reinstall.

Result Code: E_FAIL (0x80004005)
Component: HostNetworkInterfaceWrap
Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}

OK, so I have a driver issue.

I then try to add the driver / network card manually from Device Manager in Win10, by Add legacy hardware, Choose from list, Network card, Have disk, and point it to the drivers included in the installer:
C:Program FilesOracleVirtualBoxdriversnetworknetadp6VBoxNetAdp6.inf

VirtualBox Host-Only Ethernet Adapter is recognized as a model in the driver.
Next, Next, then an error occured «Access Denied».

Now I’m not sure where to go next.

In previously versions of Virtual Box, I could see the adapter in device manager for a brief second when trying to add a new adapter from Virtual Box menus, but the error message was the same.

Any good ideas?

Last edited by Stoffen on 12. Feb 2018, 13:33, edited 1 time in total.

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby mpack » 9. Jan 2018, 11:13

Did you reinstall VirtualBox using «Run as administrator»?

mpack
Site Moderator
 
Posts: 37957
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 9. Jan 2018, 11:25

Actually no.
Now I did a repair with «run as admin» and for some weird reason, there is a conflict between process iTunesHelper and MobileDeviceService (Apple Mobile Device Service).

This didnt help. What is the common files between Virtual box and iTunes? Cant see any relevant bindings there…

Will do a complete uninstall and reinstall with reboots between each step to see if it brings me a step further.

-brb-

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby BillG » 9. Jan 2018, 12:25

You could uninstall iTunes and try again. I have no idea why it would be involved.

Bill

BillG
Volunteer
 
Posts: 5065
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 9. Jan 2018, 12:31

Uninstall virtualbox
Uninstall iTunes
reboot
reinstall virtualbox (with run as admin).

Unable to create Host Only interface

Code: Select all   Expand viewCollapse view
Failed to create a host network interface.

Querying NetCfgInstanceId failed (0x00000002).

Result Code: E_FAIL (0x80004005)
Component: HostNetworkInterfaceWrap
Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}

Reboot

Try to add Host Only interface again:

Code: Select all   Expand viewCollapse view
Failed to create a host network interface.

Querying NetCfgInstanceId failed (0x00000002).

Result Code: E_FAIL (0x80004005)
Component: HostNetworkInterfaceWrap
Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}

Now I could see the adapter appear in Device manager with the following driver information:

Code: Select all   Expand viewCollapse view
Driver vendor: Oracle Corp
Driver date: 18.12.2017
Driver version 5.2.4.0
Digitally signed: Oracle Corp

However, the adapter «flaps», or disappears and reappers during the attempt to create the adapter.

I can see in Events, that the driver has been added, then deleted, then added.
It adds the adapter 3 times, and deletes it 3 times.
When adding, the follwoing information can be retrived (translated from Norwegian):

Code: Select all   Expand viewCollapse view
Devicemanager has added the service VBoxNetAdp for deviceinstance-ID ROOTNET004 with status: 0.

And on the delete event:

Code: Select all   Expand viewCollapse view
Device ROOTNET004 was deleted.

Class Guid: {4D36E972-E325-11CE-BFC1-08002BE10318}

Last edited by Stoffen on 10. Jan 2018, 15:03, edited 1 time in total.

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 9. Jan 2018, 14:05

Tried to add the interface via CLI instead. It still fails but now with some additional information

(CMD run as Administrator):

Code: Select all   Expand viewCollapse view
c:Program FilesOracleVirtualBox>vboxmanage hostonlyif create
0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

c:Program FilesOracleVirtualBox>

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby socratis » 9. Jan 2018, 15:52

Ch. «12.7.6 Host-only networking adapters cannot be created» may help you out. It talks about a «corrupted» Windows INF cache. Not sure if it still applies to Win10.

Another tool that was brought to my attention for cleaning up things is «pnputil», included with Windows. Haven’t used it, don’t know how to. Search the webs…

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the «QUOTE» button, please use the «POST REPLY«, at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.

socratis
Site Moderator
 
Posts: 27689
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 10. Jan 2018, 11:14

Good point.
Did a few tries here, but no good came from it.

I found a log-file that perhaps points to the root cause, but it doesnt tell me much.
Logfile:
C:WindowsINFsetupapi.dev.log

From this, I can extract the following:

Code: Select all   Expand viewCollapse view
>>>  [Configure Driver Package - c:windowssystem32driverstorefilerepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1vboxnetadp6.inf]
>>>  Section start 2018/01/10 09:56:44.667
      cmd: "C:Program FilesOracleVirtualBoxVBoxSVC.exe" /Helper VirtualBoxSVCHelper{102dfa27-5ffb-454f-bb71-9dcda2b037e1}
     sto: Source Filter  = VBoxNetAdp6.ndi
     sto: Target Filter  = ROOTNET004
     inf: Class GUID     = {4d36e972-e325-11ce-bfc1-08002be10318}
     inf: Class Options  = Configurable
!!!  idb: Failed to open driver package object 'vboxnetadp6.inf_amd64_90835cfd46e031b1'. Error = 0x00000005
<<<  Section end 2018/01/10 09:56:44.728
<<<  [Exit status: FAILURE(0x00000005)]

I know for certain that the file in drivercache and filerepo was gone a few minutes ago before I did a fresh install of Virtualbox again.

Before the install, I did a manual remove of files with the use of pnputil, where the drivers was embedded in oem14.inf (usb) and oem17.inf (host only adapter).

I did a manual install of the driver, by rightclick the INF file, and install.
Log states that this is OK.

Code: Select all   Expand viewCollapse view
>>>  [Device Install (DiInstallDriver) - C:WindowsSystem32DriverStoreFileRepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1VBoxNetAdp6.inf]
>>>  Section start 2018/01/10 10:06:52.993
      cmd: "C:WINDOWSSystem32InfDefaultInstall.exe" "C:WindowsSystem32DriverStoreFileRepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1VBoxNetAdp6.inf"
     ndv: Flags: 0x00000000
     ndv: INF path: C:WindowsSystem32DriverStoreFileRepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1VBoxNetAdp6.inf
     inf: {SetupCopyOEMInf: C:WindowsSystem32DriverStoreFileRepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1VBoxNetAdp6.inf} 10:06:53.011
     inf:      Copy style: 0x00000000
     inf:      Driver Store Path: C:WINDOWSSystem32DriverStoreFileRepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1vboxnetadp6.inf
     inf:      Published Inf Path: C:WINDOWSINFoem17.inf
     inf: {SetupCopyOEMInf exit (0x00000000)} 10:06:53.035
<<<  Section end 2018/01/10 10:06:53.056
<<<  [Exit status: SUCCESS]

However when I try to add the hostonly adapter again, it fails as before.

Code: Select all   Expand viewCollapse view
C:Program FilesOracleVirtualBox>VBoxManage.exe hostonlyif create
0%...
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

Code: Select all   Expand viewCollapse view
>>>  [Configure Driver Package - c:windowssystem32driverstorefilerepositoryvboxnetadp6.inf_amd64_90835cfd46e031b1vboxnetadp6.inf]
>>>  Section start 2018/01/10 10:11:46.765
      cmd: "C:Program FilesOracleVirtualBoxVBoxSVC.exe" /Helper VirtualBoxSVCHelper{fd0b47c0-d9a6-450e-9fc4-a7cdb8b5ff8c}
     sto: Source Filter  = VBoxNetAdp6.ndi
     sto: Target Filter  = ROOTNET001
     inf: Class GUID     = {4d36e972-e325-11ce-bfc1-08002be10318}
     inf: Class Options  = Configurable
!!!  idb: Failed to open driver package object 'vboxnetadp6.inf_amd64_90835cfd46e031b1'. Error = 0x00000005
<<<  Section end 2018/01/10 10:11:46.806
<<<  [Exit status: FAILURE(0x00000005)]

I have also did the tricks mentioned in this guide:

https://superuser.com/questions/1034806 … install-it

— remove files and registry keys before reinstall.

Any suggestions welcome!

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40


  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby socratis » 15. Jan 2018, 13:35

Unfortunately, no. There are many problems with the HostOnly adapter creation in Windows. There is no clear solution, because the issue can arise from a myriad of options/conflicts/parameters. It’s not a standard one and it really depends on your specific setup. One thing is for sure; it does not happen on a clean installation. Which means that something specific to your installation is preventing that from happening. Only you can diagnose/fix it, we can only make generic suggestions, and those have already been made.

And those suggestions come from the common community knowledge, so if you *do* find a solution, please let us know so we can all benefit, and include it as a potential solution for future users…

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the «QUOTE» button, please use the «POST REPLY«, at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.

socratis
Site Moderator
 
Posts: 27689
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 16. Jan 2018, 10:42

I understand.
Need to do some more investigation, and if I find a solution, I will post it here (of course :))

Last edited by socratis on 16. Jan 2018, 14:25, edited 1 time in total.

Reason: Removed unnecessary verbatim quote of the whole previous message.

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40


  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Stoffen » 12. Feb 2018, 13:32

SOLVED, at least for me…

Corporate Antivirus was the root cause — Trend Micro Office Scan denied some drivers (according to IT).
So temp disable TrendMicro OfficeScan, install VirtualBox, it works fine!
Enable TM OS.

Stoffen
 
Posts: 8
Joined: 9. Jan 2018, 10:40

  • Reply with quote

Re: SOLVED — Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby vctls » 26. Feb 2018, 20:20

Thank you! It also solved the issue for my coworkers and I.

For some reason, the issue appeared just after updating to Windows 10 version 1709.
We uninstalled Virtualbox, disabled Trend Micro Office Scan, re-installed, and re-enabled the antivirus, and everything went back to normal.

Rolling back to Windows 10 version 1703 also made the issue disappear, but of course, that’s not really a solution.

Last edited by socratis on 26. Feb 2018, 23:01, edited 1 time in total.

Reason: Removed unnecessary verbatim quote of the whole previous message.

vctls
 
Posts: 1
Joined: 26. Feb 2018, 20:13

  • Reply with quote

Re: Windows 10 — VB 5.2.4 — Unable to create Host Only adapter

Postby Flavio_cps » 26. Feb 2018, 20:56

Stoffen wrote:SOLVED, at least for me…

Corporate Antivirus was the root cause — Trend Micro Office Scan denied some drivers (according to IT).
So temp disable TrendMicro OfficeScan, install VirtualBox, it works fine!
Enable TM OS.

Solved for me too. Thanks

Flavio_cps
 
Posts: 2
Joined: 8. Feb 2018, 19:03


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 30 guests

@erdemece

I have virtualbox 5.0 + vagrant 1.7 + phpuppet I’m having this problem. Could it be vagrant related? Because other virtual machines like ubuntu, macos, windows are working fine. Only vagrant machines have problem.

Every time I do vagrant up windows asks me to allow virtualbox then I receive following error on my console.

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

Command: [«hostonlyif», «create»]

Stderr: 0%…
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) — Unspecified error (extended info not available)
VBoxManage.exe: error: Context: «enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)» at line 70 of file VBoxManageHostonly.cpp

@bhouston

I am getting this exact error on two machines with Windows 10 + virtualbox 4.x/5.0 + vagrant 1.7.

@bhouston

@guilhermemarconi

@bhouston you installed this patch? it worked? if so, how can I install it?

[too many questions 😆]


Edit.

Actually, I saw that everybody in the ticket have the same problem to install. Damn! I lost a work day because I didn’t knew this issue on Windows 10.

I’ll have to find a way to get back to work properly.

@bhouston

I understand applying the patch is difficult because it requires modification of a cert signed driver. I’m not going to try that for the first time today. I think the key is to exert pressure on VirtualBox to prioritize this fix — I’ve tweeted at them about it today and I’ve posted on that bug (I’m doing that right now), I encourage you to also pressure them in some way as well — we all need this fixed ASAP.

@dvh

I tweeted them twice since yesterday but no response at all. It frustrates me that the VB issue was submitted 4 months ago, so it shouldn’t be a surprise to them.

However, I’ve found this workaround on multiple places:

  1. remove the line setting the private network in the vagrant file
  2. remove the line b.use ClearNetworkInterfaces in Vagrantembeddedgemsgemsvagrant-1.7.4pluginsprovidersvirtualbox (it’s on line 64 in 1.7.4 at least)
  3. vagrant up
  4. vagrant halt
  5. in VB’s general settings, edit the host-only adapter manually and set the preferred IP
  6. make sure this host-only adapter applies to the current machine
  7. vagrant up

This worked for me, however I can’t get samba to work. I hope this will be fixed by the same VB release otherwise I’m still screwed :(

@guilhermemarconi

@dvh you use a third party box or your own? I use Scotch Box and don’t know if it would break the box and bring me more problems. 😔

About VirtualBox on Twitter, I didn’t get any response, but I tweeted about 30 minutes ago.

@dvh

I use my own. But I quit it also because I can’t work without a working samba share :)

@dmdnkv

The same problem: Windows 10 RTM + Vagrant 1.7.4 + Virtual Box 5.0

Command: [«hostonlyif», «create»]

Stderr: 0%…
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) — Unspecified error (extended info not available)
VBoxManage.exe: error: Context: «enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)» at line 70 of file VBoxManageHostonly.cpp

@stremann

The same from my side:

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

Command: [«hostonlyif», «create»]

Stderr: 0%…
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) — Unspecified error (extended in
fo not available)
VBoxManage.exe: error: Context: «int __cdecl handleCreate(struct HandlerArg *,in
t,int *)» at line 66 of file VBoxManageHostonly.cpp

@antonsivogrivov

@shadowzoom

Can’t start genymotion! Same prombleb! Fix this shit please bro

@hectorgimenez

Same problem here, but seems this bug is not a priority for the VirtualBox team…

@rootpd

Appending to @dvh’s temporary solution, I had to comment out also the next line. In my case commenting following in file c:Program Files (x86)Vagrantembeddedgemsgemsvagrant-1.7.4pluginsprovidersvirtualboxaction.rb helped:

b.use PrepareNFSSettings
#b.use ClearNetworkInterfaces
#b.use Network
b.use ForwardPorts

However bear in mind, that this is only temporary solution and will probably force you set up the network adapters manually via VirtualBox GUI if they weren’t set up correctly before.

@bhouston

@rootpd, your workaround outlined in this comment is the first one that worked for me: #6059 (comment) Thank you so much!

@ghost

@rootpd, it worked! Nice temporary fix!

@ghost

Coz private_network doesnt work (temporary) i needed to modify my Vagrantfile to forward some ports to see my website:
config.vm.network :forwarded_port, guest: 80, host: 8080

And in Windows access with: http://127.0.0.1:8080

@hypertexture

Thanks @lewins — that port forwarding edit above has got me up and running. Vagrant up gave me a load of «default: Warning: Remote connection disconnect. Retrying…» notices but it booted in the end :)

@aaronsturm

After @rootpd and @lewins changes, I keep receiving «Warning: Authentication failure. Retrying…» errors and it eventually times out. This configuration is from https://puphpet.com/. Any help would be appreciated. Thanks!

@ghost

Im not using puphet but i think your ssh auth keys are not set properly. check ur ~/.ssh/ folder

@guilhermemarconi

@aaronsturm

@lewins — It’s supposed to use the puphpetfilesdotssh keys. At least that’s how it normally works with a Puphpet install. Not sure what’s happening now…

@venimus

Another solution is to manually create a Host-Only Adapter from VirtualBox GUI (or using VirtualBoxManage). You will get error even when manually add it (because of the same VirtualBox bug) but the adapter will be created properly.

Then specify the IP and the adapter name in your Vagrantfile

config.vm.network "private_network", ip: "169.254.46.99", name: "VirtualBox Host-Only Ethernet Adapter"

The trick is that specifying name will skip creating of virtual adapters along with this error.
Don’t comment in vagrant source files, you skip a ton of other important things.

@aaronsturm

@venimus Thanks. I tried that but I’m still getting the same error «default: Warning: Authentication failure. Retrying…»

@venimus

@aaronstum May be it is a configuration issue. Check if both IPs are the same in Vagrantfile and VirtualBox adapter.

@dvh

@venimus

I probably was not clear. The IP in Vagrantfile should be in the same network as the hostonly adapter but should not be the same.

@alexsouza

@ljjackson

@alexsouza Just upgraded to Windows 10 and followed the solution on the lezgro blog, worked a treat! Many thanks!

@GuruVoodoo

venimus stumbled on the answer Specifiy as shown below in the Vagrantfile Leaving the line without a name causes the issue.

config.vm.network «private_network», ip: «169.254.46.99», name: «VirtualBox Host-Only Ethernet Adapter»

@lightinthedark

For what it’s worth, I was encountering the same problem with at freshly generated vagrant file from puphpet, and running Windows 7.

I was able to get it to work:

  • updated vagrant to 1.7.4
  • updated virtualbox from 4.3.30 to 4.3.32 (http://download.virtualbox.org/virtualbox/4.3.32/) — installed as administrator after Win said the initial installation may not have worked
  • reboot
  • start cmd as administrator
  • cd …
  • vagrant up

I can only presume that in those 2 minor VB versions something got patched. I don’t know if the couple of «run as administrator» notes make a difference.

@mitchellh

Yeah this is an unfortunate VirtualBox issue. I think there is enough Google-juice here to guide users. And new users appear to be mostly unscathed so I think VirtualBox has fixed this in later versions. Sorry folks!

@engine-go

I modified the vagrantfile:
config.vm.network "private_network", ip: "192.168.33.10"
The console told me the following:

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

Command: [«hostonlyif», «create»]

Stderr: 0%…
Progress state: E_FAIL
VBoxManage.exe: error: Failed to create the host-only adapter
VBoxManage.exe: error: Code E_FAIL (0x80004005) — Unspecified error (extended info not available)
VBoxManage.exe: error: Context: «int __cdecl handleCreate(struct HandlerArg *,int,int *)» at line 66 of file VBoxManageHostonly.cpp

When I hide the configure,it works!
# config.vm.network "private_network", ip: "192.168.33.10"

Run the vmbox:
vagrant up

Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Clearing any previously set network interfaces…
==> default: Preparing network interfaces based on configuration…
default: Adapter 1: nat
==> default: Forwarding ports…
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM…
==> default: Waiting for machine to boot. This may take a few minutes…
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM…
==> default: Mounting shared folders…
default: /vagrant => E:/VirtualBox
default: /vagrant_data => E:/VirtualBox/app
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: flag to force provisioning. Provisioners marked to run always will still run.

Hope this can help you.

@Costanza

Just FYI as I came across this trying to solve the problem, I am having this issue on a fresh Windows 10 install with Vagrant 1.8.1 and VirtualBox 5.0.14. Tried many workarounds but no dice yet.

@mattKendon

Following an update to my Windows 10 machine last night, I get this issue now where I wasn’t before.

Version 1511 (OS Build 10586.104)

@pgcd

The workaround from @engine-go worked for me — I already had the interface (along with several spurious ones which I deleted), and I have the executables (Virtualbox.exe, SVC, Manage and Headless) to run in Win8 compatibility mode, so the solution may require at least those steps.

@dany-fu

I upgraded VirtualBox and this is no longer an issue

@seperman

@engine-go your solution worked for me but how do you set the ip of the VM then? Through the Virtualbox gui?

@shenqihui

@LuisRamirezColin

I had the same problem so i fixed this issue when im installing of new version to VM. I think it´s very funy because i tried the solution 14040 and not working for me.

@wallraks

I got the same problem but I only restarted VirtualBox by restarting the whole machine and repeated the same process and it worked

@jfitzsimmons2

FWIW, I had this issue, I tried uninstalling/re-installing VB, then had VB open when I did ‘vagrant up’ and it worked no problem. ¯_(ツ)_/¯

@ghost

I had exact same error on my mac. I tried reinstalling virtualbox and that fixed the issue.

@panchalkalpesh

Following solution worked for me:

  1. Goto C:Program FilesOracleVirtualBoxdriversnetwork
  2. There are two folders, go inside both of them and right click on .inf and click Install
  3. Head over to Control PanelNetwork and InternetNetwork Connections
  4. Right click on Network Adapter and choose Properties
  5. Click on Install => Service
  6. Under Manufacturer choose Oracle Corporation and under Network Service, choose VirtualBox NDIS6 Bridged Networking driver
  7. Ok and Close

Preview
capture

Finally, run

Hope this helps you!
Kalpesh Panchal

courtney-miles, Fedesasetti, the-evgenii, elcho, samuelmg, dtbarne, nightillusions, acrosman, IshtiaqAhsan, maru6, and 20 more reacted with thumbs up emoji
dtbarne, IshtiaqAhsan, JuanDMeGon, azeredogab, mpreclik, naorzr, goyote, amberGreat, and jcardama reacted with hooray emoji
Fedesasetti, the-evgenii, IshtiaqAhsan, azeredogab, naorzr, Rodri9o, amberGreat, and jcardama reacted with heart emoji

@WangNingning1994

same issue, I just ran the fix file and the error still shown, any help would be thankful.

@IshtiaqAhsan

@ldmuniz

@panchalkalpesh solution worked for me, but, I installed the service for both virtualbox network adapters.

@rjdmacedo

@naorzr

@panchalkalpesh Someone give this man a medal. well as far as I understand the network adapter didn’t install automatically on my machine since kaspersky was on at the time I installed vbox, so.. if you can just reinstall vbox with kaspersky off, does the same.

@rukundofiston

@rootpd solution worked for me. Thank you, i almost lost 2 days

@Rodri9o

@wcadena

MI problema fue el Firewall , desinstale el firewall y actualice el virtual box

@ghost

I’m going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@hashicorp
hashicorp

locked and limited conversation to collaborators

Mar 29, 2020

[Solved] VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

Issue

When starting up Virtual Box VMs using vagrant in mac, it throws the following errors.

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
VBoxManage: error: Failed to create the host-only adapter

In this blog, we have given a step-by-step guide to solve this issue.

Solution For VBoxManage: error: Details: code

This component MachineWrap interface IMachine issue happens when there is insufficient permission for the Virtual box to start up the VM in mac.

Follow the steps given below to resolve this issue.

Step 1: Open MAC system preferences

Step 2: Select the security and privacy option.

Step 3: Select the General tab and enable the lock icon to make changes. Then there will be an option to enable system extensions. Instead of the restart, you will see another option. Once you click that, you will see Oracle on the list. Enable that in the checkbox. It will ask for a system restart and restart the system.

Now if you try to bring up the VM, you won’t see the component MachineWrap, interface machine issue.

VBoxManage: error: Failed to create the host-only adapter

“Failed to create the host-only adapter” is also related to MAC security. You need to allow the changes in the security setting as explained in step 3 of the before section.

Mac OS Issue: error: VBoxNetAdpCtl: Error while adding new interface

There is also an issue with the new MAC OS Monterey version. Which is fixed in the latest Virtual box build. So you need to remove the existing version of Virtualbox and reinstall the latest build to get rid of this issue.

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

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

Let me know if it fixes your virtual box error.

Error Creating Network

With OS Monterey update you could get errors with networks if you try to create an IP other than the 198 range.

To rectify this issue, open the networks file.

sudo vi /etc/vbox/networks.conf

Add the following to the file.

* 0.0.0.0/0 ::/0

It should solve the network create error.

Понравилась статья? Поделить с друзьями:
  • Vboxmanage exe error failed to compact medium
  • Vboxmanage exe error appliance import failed
  • Vboxmanage error vt x is not available verr vmx no vmx
  • Vboxmanage error the path to the autostart database is not set
  • Vboxmanage error could not find file for the medium