Page 1 of 1

Virtual Box driver installation error

Posted: 2. Apr 2022, 18:14
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

Re: Virtual Box driver installation error

Posted: 3. Apr 2022, 13:26
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.

Re: Virtual Box driver installation error

Posted: 4. Apr 2022, 11:25
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

Re: Virtual Box driver installation error

Posted: 4. Apr 2022, 13:41
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.