Some time in the last 2 weeks windows updates have killed my hostonly adapter (and thus a lot of Vagrant related VMs).
I did a clean install and the adapter doesn't get created at all. Trying to create one manually through either the gui or command line fails. Here is the results from the command line:
Code: Select all
C:\Program Files\Oracle\VirtualBox>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 Files\Oracle\VirtualBox>ver
Microsoft Windows [Version 10.0.16299.64]
This is happening to quite a few people in out company. We were moving away from VMWare, but if we can't resolve this we will have to go back.
Any help is appreciated !
Thanks.