NEED HELP! HOST ONLY ETHERNET ADAPTER

Discussions related to using VirtualBox on Windows hosts.
Post Reply
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

Hey everyone! I need help! I appreciate your time! Thank you!

I'm gonna explain what happened and what I did. I know it's a bit long but please, I need your help.

I was using VirtualBox on Win 10 a few months ago. I've updated to Win 11 and VB was still working just fine. The other day, I wanted to change the network of a VM to bridge adapter and I couldn't. There wasn't any option to choose. I can't post any img but you can imagine. In network option, attached to: bridge adapter. Below that, there was nothing to select.

After that, I uninstalled VB and then installed it. With each option by default. Not changing one single thing. And then: what a surprise! "The setup ended prematurely". Never happened to me before. At that time, I had a Win 11 update. I don't know why, but I did it. After updating Windows and rebooting the system, I tried again with the exact same options (by default) and it worked. The Virtual Box Host Ethernet Adapter was created, I could use the bridge adapter and everything was fine.

So we are moving to yesterday. I did a fresh clean installation of Win 11, formatting the local drive (C:). When it was done, I installed a couple of things like VLC, NVIDIA drivers, some games, etc. Nothing important. I installed VB with the options by default again. Not changing one single thing. It did work or so I thought. I installed an Arch, working and configuring it in NAT. Today, I wanted to switch to bridge adapter and what are the odds!? I couldn't switch because there wasn't any option to choose. Just like the explanation above. I looked into the networks adapters and there was a Virtual Box Host Only Ethernet Adapter. So, I've done the exact same thing as last time: uninstall and install... "The setup wizard ended prematurely". Oh, f**k! I´ve rebooted the system and tried again... "The setup wizard ended prematurely". After some hours looking on the Internet for some solution, I don't know where I've seen it but it said that there was a problem with USB. So, I've installed VB without the USB Support. And it has worked. I've added my Arch VM and I was going to switch to Bridge Adapter and... OMG! There wasn't any option to choose. Just like the image above. AGAIN! I looked into the networks adapters and this time, there was no Virtual Box Host Only Ethernet Adapter. SO... When I try to create a new Virtual Box Host Only Ethernet Adapter, I have this failed:

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}

So, this is the actual situation. I've installed motherboard USB drivers, CPU drivers. I've tried running it as administrator, I've tried installing it as administrator too. I've done everything I've found on Internet. Nothing worked. I can't use Bridge Adapter, and the Virtual Box Host Only Ethernet Adapter is gone.

This is everything. Thank you for your time again! I appreciate any help! Thank you! I'll answer your questions as soon as I see them!

PS: Sorry for my English. As you can see, I'm not native!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by mpack »

This looks like a permissions issue blocking the installation of the host-only filter driver.

Reinstall VirtualBox, and this time make sure that you run the installer with "Run as administrator" (even if you already have admin rights). This will ensure that you are allowed to install device drivers.
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

mpack wrote:This looks like a permissions issue blocking the installation of the host-only filter driver.

Reinstall VirtualBox, and this time make sure that you run the installer with "Run as administrator" (even if you already have admin rights). This will ensure that you are allowed to install device drivers.
I have already done that. At least, 4 times. It doesn't work.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by mpack »

Then consider whatever third party AV you might have installed that might be blocking driver installations.

Seriously, it works for everyone else, so the problem has to be a configuration issue with your PC.
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

mpack wrote:Then consider whatever third party AV you might have installed that might be blocking driver installations.

Seriously, it works for everyone else, so the problem has to be a configuration issue with your PC.
I did it without AV. Just the default in Windows.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by scottgus1 »

I'd suggest to uninstall Virtualbox again and reboot. Then web-search how to enable MSI logging, since the Virtualbox installer is really a Microsoft MSI installer program carrying the Virtualbox payload. Maybe the MSI log will show what is going on.
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

scottgus1 wrote:I'd suggest to uninstall Virtualbox again and reboot. Then web-search how to enable MSI logging, since the Virtualbox installer is really a Microsoft MSI installer program carrying the Virtualbox payload. Maybe the MSI log will show what is going on.
I've just done it. It didn't work. It's exactly the same. If I don't choose the USB Support, the installation works, but the Virtual Box Host Ethernet Adapter is not installed. Thus, I cannot work in Bridge Adapter and I need it.

I'm gonna attach both MSI logs files. Installing by default (with the USB Support) which failed. And the one which worked (without USB Support) but without the Host Ethernet Adapter. Let' see if we can clarify what's happening here. Thank you anyway!
Attachments
MSI Logging.rar
(108.35 KiB) Downloaded 30 times
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

I'm gonna up this post. I really need help please!! Thank you!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by scottgus1 »

The log shows this error line:

InstallDriverPackages failed with error 0xE0000247

Web-searching this brings several results, first of which is:

https://github.com/dorssel/usbipd-win/issues/47

which curiously relates to Virtualbox and Windows 11:
fran_abad wrote:I've updated to Win 11
One thing I don't understand is:
fran_abad wrote:If I don't choose the USB Support, the installation works, but the Virtual Box Host Ethernet Adapter is not installed. Thus, I cannot work in Bridge Adapter and I need it.
The USB and Bridged/Host-Only networking installer options are separate in the installer. Are you sure that you are leaving the Bridged/Host-Only networking installer option enabled, and only turning off USB?

Another thing to check: Uninstall Virtualbox and reboot. Go to C:\Windows\System32\Drivers and look for any .sys files starting with 'Vbox'. There could be up to 5. Delete them if they are there, then
mpack wrote:run the installer with "Run as administrator" (even if you already have admin rights).
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fth0 »

Which Windows 11 build are you using?
fran_abad
Posts: 6
Joined: 28. Dec 2021, 04:53

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by fran_abad »

fth0 wrote:Which Windows 11 build are you using?
I'm using the Windows 11 Pro Insider Preview Version 22523.1000
scottgus1 wrote:
The USB and Bridged/Host-Only networking installer options are separate in the installer. Are you sure that you are leaving the Bridged/Host-Only networking installer option enabled, and only turning off USB?
Yes, I am. I keep the Bridged/Host-Only networking installer option enabled and the USB off.
scottgus1 wrote:Another thing to check: Uninstall Virtualbox and reboot. Go to C:\Windows\System32\Drivers and look for any .sys files starting with 'Vbox'. There could be up to 5. Delete them if they are there, then
mpack wrote:run the installer with "Run as administrator" (even if you already have admin rights).
I did this so many times. They are all deleted each time I try.

There is 1 more thing I didn't realized until now. When I try the installation, the typical pop-up that says: "Would you like to install this device software?" is not appearing. Therefore, the Host Only Ethernet Adapter is not going to be installed.

I'm literally about to jump through the window. Thank you anyway! I hope your answers asap
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: NEED HELP! HOST ONLY ETHERNET ADAPTER

Post by BillG »

That sort of problem it to be expected with early release versions of an OS. We had a different problem recently with a pre-release version of Windows 11 which just went away when the next version came out.
Bill
Post Reply