Opened 8 years ago
Closed 8 years ago
#16379 closed defect (fixed)
Host-only adapter can not be created on Windows 10 (VirtualBox v5.1.12)
Reported by: | Allan Kjær | Owned by: | |
---|---|---|---|
Component: | network | Version: | VirtualBox 5.1.12 |
Keywords: | host-only | Cc: | |
Guest type: | other | Host type: | Windows |
Description (last modified by )
I was able to install VirtualBox 5.1.12 on Windows 10, but only because I do not install the host-only adapter during installation. If this option is selected the install fails.
After install the command:
''VBoxManage.exe hostonlyif create''
results in:
''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 71 of file VBoxManageHostonly.cpp''
I was unable to find a log file to attach.
Our users use GENYMOTION and VirtualBox to test Android apps. GENYMOTION use a host-only adapter, so GENYMOTION is unable to run.
Attachments (3)
Change History (29)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
priority: | blocker → major |
---|
follow-up: 4 comment:3 by , 8 years ago
by , 8 years ago
Attachment: | VBoxSVC.log added |
---|
comment:4 by , 8 years ago
Replying to frank:
Please upload the VBoxSVC.log file which you can find in the \Users\USER\.VirtualBox directory.
Hi Frank,
It's done. But there's not much information in the log. It seems that the latest log entry is from the 20th of December 2016.
follow-up: 6 comment:5 by , 8 years ago
The VBoxSVC.log file shows that VBoxNetAdp6.sys is not loaded, that's the reason.
comment:6 by , 8 years ago
Replying to frank:
The VBoxSVC.log file shows that VBoxNetAdp6.sys is not loaded, that's the reason.
Hi Frank,
Alright. So it's a bug that VBoxNetAdp6.sys is not loaded?
comment:7 by , 8 years ago
VboxNetAdp6.sys is not installed. Perhaps the feature was disabled during VirtualBox installation.
comment:8 by , 8 years ago
Hi Frank,
As I wrote to begin with the installation fails if the host-only adapter is enabled during installation (please see attached video).
follow-up: 11 comment:10 by , 8 years ago
Right-click on the installer, select "Run as Administrator". Choose NOT to run VirtualBox at the end of the installation. See if that helps...
follow-up: 13 comment:11 by , 8 years ago
Replying to socratis:
Right-click on the installer, select "Run as Administrator". Choose NOT to run VirtualBox at the end of the installation. See if that helps...
I run the installation as administrator all the time. It's not possible to NOT run VirtualBox (or RUN it) at the end because the installation fails.
comment:12 by , 8 years ago
follow-up: 14 comment:13 by , 8 years ago
Replying to techallan:
I run the installation as administrator all the time. It's not possible to NOT run VirtualBox (or RUN it) at the end because the installation fails.
Please note that there are two very different things. Huge difference actually:
- Run while being an administrator. Local or domain doesn't really matter, as long as your permissions are appropriately set.
- Right-click and select "Run as Administrator". Being logged in as an administrator or not does not matter. This is the mode I propose to everyone with installation problems and it hasn't failed so far.
And you certainly should NOT be running VirtualBox as administrator for everyday use. If you have to, something is not right in your system.
comment:14 by , 8 years ago
Replying to socratis:
Replying to techallan:
I run the installation as administrator all the time. It's not possible to NOT run VirtualBox (or RUN it) at the end because the installation fails.
Please note that there are two very different things. Huge difference actually:
- Run while being an administrator. Local or domain doesn't really matter, as long as your permissions are appropriately set.
- Right-click and select "Run as Administrator". Being logged in as an administrator or not does not matter. This is the mode I propose to everyone with installation problems and it hasn't failed so far.
And you certainly should NOT be running VirtualBox as administrator for everyday use. If you have to, something is not right in your system.
I know :-) I work as an IT-administrator so I know my way around IT.
follow-up: 16 comment:15 by , 8 years ago
Hello, as i see from the installation log a Virtualbox installation was marked as "unsuccessful" and i suppose it happened due to a failed attempt to create a Host-Only interface:
MSI (s) (B0:78) [11:40:24:081]: Executing op: ActionStart(Name=ca_CreateHostOnlyInterfaceNDIS6,,) MSI (s) (B0:78) [11:40:24:083]: Executing op: CustomActionSchedule(Action=ca_CreateHostOnlyInterfaceNDIS6,ActionType=3073,Source=BinaryData, Target=Ndis6CreateHostOnlyInterface, CustomActionData=C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\) MSI (s) (B0:F0) [11:40:24:087]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5D5.tmp, Entrypoint: Ndis6CreateHostOnlyInterface CreateHostOnlyInterface: Creating host-only interface CreateHostOnlyInterface: NetAdpDir property = C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\ CreateHostOnlyInterface: Resulting INF path = C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf CreateHostOnlyInterface: Calling VBoxDrvCfgInfInstall(C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf) CreateHostOnlyInterface: VBoxDrvCfgInfInstall returns 0x0 UpdateHostOnlyInterfaces: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = 0xe000020b CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface Timed out while waiting for NetCfgInstanceId, try again immediately... Timed out again while waiting for NetCfgInstanceId, try again after a while... NetSetupSvc is not running CustomAction ca_CreateHostOnlyInterfaceNDIS6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
comment:16 by , 8 years ago
Replying to VVP:
Hello, as i see from the installation log a Virtualbox installation was marked as "unsuccessful" and i suppose it happened due to a failed attempt to create a Host-Only interface:
MSI (s) (B0:78) [11:40:24:081]: Executing op: ActionStart(Name=ca_CreateHostOnlyInterfaceNDIS6,,) MSI (s) (B0:78) [11:40:24:083]: Executing op: CustomActionSchedule(Action=ca_CreateHostOnlyInterfaceNDIS6,ActionType=3073,Source=BinaryData, Target=Ndis6CreateHostOnlyInterface, CustomActionData=C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\) MSI (s) (B0:F0) [11:40:24:087]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5D5.tmp, Entrypoint: Ndis6CreateHostOnlyInterface CreateHostOnlyInterface: Creating host-only interface CreateHostOnlyInterface: NetAdpDir property = C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\ CreateHostOnlyInterface: Resulting INF path = C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf CreateHostOnlyInterface: Calling VBoxDrvCfgInfInstall(C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf) CreateHostOnlyInterface: VBoxDrvCfgInfInstall returns 0x0 UpdateHostOnlyInterfaces: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = 0xe000020b CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface Timed out while waiting for NetCfgInstanceId, try again immediately... Timed out again while waiting for NetCfgInstanceId, try again after a while... NetSetupSvc is not running CustomAction ca_CreateHostOnlyInterfaceNDIS6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Sure. I guess it's a bug in the installation? I've tried this on 2 different Windows 10 Enterprise installation, different Windows 10 Enterprise builds, though.
follow-up: 18 comment:17 by , 8 years ago
Apologize for repeating about the failed installation, but if the host-only interface wasn't installed the other commands like "VBoxManage.exe hostonlyif create" will lead to the same results.
comment:18 by , 8 years ago
Replying to VVP:
Apologize for repeating about the failed installation, but if the host-only interface wasn't installed the other commands like "VBoxManage.exe hostonlyif create" will lead to the same results.
Yes. When running the vboxmanage command the experience is the same as when enabling the interface during installation. The interface shows up in Windows' device manager for a few seconds and then disappears again.
follow-up: 20 comment:19 by , 8 years ago
just for information. A fresh test - the latest 5.1.12 version is installed on Win10 1511 build normally. Host-only adapter is created.
comment:20 by , 8 years ago
Replying to VVP:
just for information. A fresh test - the latest 5.1.12 version is installed on Win10 1511 build normally. Host-only adapter is created.
I'm running Windows 10 Enterprise, version 1607, build 14393.693.
follow-up: 22 comment:21 by , 8 years ago
So the Windows 10 build is most likely the reason for the problem.
comment:22 by , 8 years ago
Replying to frank:
So the Windows 10 build is most likely the reason for the problem.
Alright. This could be, but it should still work on build 14393, right?
comment:23 by , 8 years ago
Yes, it should work. I just upgraded my Windows 10 to 14393.693 and installed VBox 5.1.12 including support for host-only adapters. No problem experienced, the VBoxNetAdp6.sys driver was properly installed.
follow-up: 25 comment:24 by , 8 years ago
Please install VirtualBox without host-only support, then run VBoxBugReport
and send the resulting archive to me at aleksey dot ilyushin at oracle dot com. The tool collects system info including logs, network configuration, etc.
comment:25 by , 8 years ago
Replying to aleksey:
Please install VirtualBox without host-only support, then run
VBoxBugReport
and send the resulting archive to me at aleksey dot ilyushin at oracle dot com. The tool collects system info including logs, network configuration, etc.
Hi Aleksey. This is done now. Thanks.
Please upload the VBoxSVC.log file which you can find in the \Users\USER\.VirtualBox directory.