Started to have an issue after an upgrade from version 5.2 to 6.0.x Unable to create host-only network adapter. Host machine -win 10, guest machine -Kali Details of an error: 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}
Tried to: 1. Uninstall and reinstall with admin privileges - did not help
Rollback to previous version - didn't help
Unloaded antivirus and all of it's services, then installed VirtualBox - didn't help
searched https://www.virtualbox.org/manual/ch12.html#ts_win-host-host-only-network-adapters
- did not find %windir%\inf\INFCACHE.1
at all
browsed %windir%\inf\setupapi.dev.log
found following error:
[Device Install (UpdateDriverForPlugAndPlayDevices) - sun_VBoxNetAdp]
>>> Section start 2018/08/01 16:02:58.321
cmd: C:\Windows\System32\MsiExec.exe -Embedding 7361AEBC6CDB28CAB85433C8721D49FD E Global\MSI0000
ndv: INF path: C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf
ndv: Install flags: 0x00000001
! ndv: Unable to find any matching devices.
<<< Section end 2018/08/01 16:02:58.336
<<< [Exit status: FAILURE(0xe000020b)]
sun_VBoxNetAdp
- did not find any key/value.
Please helpUser contributions licensed under CC BY-SA 3.0