Virtual Box driver installation error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Alexbgdsm
Posts: 2
Joined: 1. Apr 2022, 19:39

Virtual Box driver installation error

Post by Alexbgdsm »

Hello everyone, I have a problem whit VirtualBox while I try to use Host Network Manager.

When I try to create a Host Network Manager, I got this error :

Code: Select all

Failed to create a host network interface.

SetupDiCallClassInstaller (DIF_INSTALLDEVICE) failed (0x00000002).

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

- I have already tried to uninstall and reinstall VB with register cleaning (CCleaner).
- I have already tried to install other version of VB (6.1.30 and 5.2.44)

When I check my device manager, I have a bunch of "Unknow devices" signed by Oracle. I think the problem might come from here.

When I try to manually install "VirtualBox Host-Only Ethernet Adapter", I got this error : "The system cannot find the file specified." on a pop up windows

I also tried to manually install the VB networks drivers located at C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf and got a similar error

Can anybody can help me with these errors without reinstalling Windows ?

I link in the post the log from C:\Windows\INF\setupapi.dev.log when I try to install a specific driver
Attachments
install_VBoxNetAdp6.inf_log.txt
(108.6 KiB) Downloaded 26 times
install_hostonly_log.txt
(8.32 KiB) Downloaded 13 times
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: Virtual Box driver installation error

Post by mpack »

Just uninstall then reinstall VirtualBox, I can't think of a valid reason to mess with individual drivers. Note that VMs are not affected by uninstall/reinstall.

Make sure you have full admin rights for the install, by using "Run as administrator" to run the installer. Do this even if you think you already have admin rights. And do not untick any options during the install.
Alexbgdsm
Posts: 2
Joined: 1. Apr 2022, 19:39

Re: Virtual Box driver installation error

Post by Alexbgdsm »

I have already tried to uninstall/reinstall VB (with CCleaner register cleaner) and I still got the same error when I try to create a Host-Only Adapter.

I seems like VB drivers are not reinstallating with VB for some reason
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: Virtual Box driver installation error

Post by scottgus1 »

Alexbgdsm wrote:I have already tried to uninstall/reinstall VB
Note that Mpack suggested a certain extra step which the above doesn't say you did:
mpack wrote:Make sure you have full admin rights for the install, by using "Run as administrator" to run the installer.
Please try this:

Uninstall Virtualbox and reboot.
Go to "C:\Windows\System32\drivers", look for any files called 'Vbox*.sys' (there could be up to 5) and delete them.
Reboot again.
If you have any 3rd-party security or anti-malware software, disable the living daylights out of it for a moment.
Reinstall Virtualbox using right-click-Run-As-Administrator.
Post Reply