Have VirtualBox host only working on new Windows 10 builds
Posted: 24. Apr 2015, 13:25
Yes I know this is a beta OS, but I figured there is some way to get this to work and I was right. I first tried bridge networking but that is completely busted in Windows 10. The VB 5 beta bridged adapter actually works fine but Vagrant doesn't support 5 yet. So in 4.3 I noticed that when creating a host only adapter it did error but the new host only adapters showed up in the device manager. Each time you try it adds a new one but it didn't show up in the list in VB. And then digging further I noticed that host only adapters show up to edit in virtualbox ONLY when you run virtualbox as administrator. However, it errors on creation whether running as admin or not. Once created however you can edit and save it just fine. So what you do is try to create one and it will error. Restart virtualbox as administrator. In the adapters you will have the automatically created one and you can edit is as normal and add it to adapters on VMs. With this I was able to get our vagrant working fine while turning off auto_config so it doesn't try to create a new interface each time. Once again I had to run the command line as admin so vagrant was running virtualbox as administrator. So the most recent issues after 10041 appear to stem from permissions on the newly created host only adapter and VB can only be run as admin in the newest builds if you want host only adapters.