﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
17647,Host-Only adapter failled to install,AlexRoux42,,"Hello,

'''[How to reproduce it]''' From fresh installation, installation was ok,I had no problem to use host-only network and the host-only adapter was present. The problem began when I removed using VirtualBox GUI my host-only adapter, I was then not able to re-create it using either the GUI and the command line.

'''[Similar issues]''' As you can imagine I've walk through the VirtualBox forum and Bug tracker before posting and I found a similar issue :
+ https://www.virtualbox.org/ticket/17354
+ https://forums.virtualbox.org/viewtopic.php?f=6&t=86179
Here the antivirus was involded and disable it resolved the issue. In my case I've completely uninstall my corporate antivirus + deactivate Windows Defender without success.

'''[Troubleshooting]'''
+ Repair VirtualBox
+ Uninstall VirtualBox
+ Remove %userprofile%\.virtualbox
+ Remove drivers in %windir%\System32\drivers
+ Remove registry keys about VirtualBox
+ Install 5.2 VirtualBox
+ Run Installer as Admin right 
+ Run a Ccleaner registry cleaning

With a result always the same, failed to create host-only adapter.

'''[logs]'''

VirtualBox Gui logs are showing :
-----------------------------------------
Failed to create a host network interface.

Querying NetCfgInstanceId failed (0x00000002).

Code d'erreur : E_FAIL (0x80004005)
Composant : HostNetworkInterfaceWrap
Interface : IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}
-----------------------------------------

C:\Windows\INF\setupapi.dev.log
-----------------------------------------
>>>  [Configure Driver Package - c:\windows\system32\driverstore\filerepository\vboxnetadp6.inf_amd64_37fe176ed22ac0b0\vboxnetadp6.inf]
>>>  Section start 2018/03/27 18:20:45.493
      cmd: ""C:\Program Files\Oracle\VirtualBox\VBoxSVC.exe"" /Helper VirtualBox\SVCHelper\{a2f92065-56fc-42e5-ada7-359a3774292e}
     sto: Source Filter  = VBoxNetAdp6.ndi
     sto: Target Filter  = ROOT\NET\0002
     inf: Class GUID     = {4d36e972-e325-11ce-bfc1-08002be10318}
     inf: Class Options  = Configurable
!!!  idb: Failed to open driver package object 'vboxnetadp6.inf_amd64_37fe176ed22ac0b0'. Error = 0x00000005
<<<  Section end 2018/03/27 18:20:45.540
<<<  [Exit status: FAILURE(0x00000005)]
-----------------------------------------

'''[other]'''
It's just a supposition but I'm wondering if the issue is trigered also as I respond [NO] once to the UAC pop-up message asking to install host-only driver (after choosing to create host-only adapter from the GUI).


Thanks in advance for all your help, this issue is a blocker for me.",defect,closed,network/hostif,VirtualBox 5.2.6,duplicate,"host-only, driver",,other,Windows
