Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Vagrant up Error On Windows

I am having this error when I try to run the vagrant up command on a windows machine, been all over the internet still no solution:

C:\Users\myUserName\Homestead>vagrant up 

Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Checking if box 'laravel/homestead' is up to date... 
==> default: Clearing any previously set network interfaces... 
There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: E_FAIL VBoxManage.exe: error: Failed to create the host-only adapter VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended in fo not available) VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,in t,int *)" at line 66 of file VBoxManageHostonly.cpp

2 Answers

I use Vagrant and VirtualBox daily, but can't say I've ever seen that error. Looks pretty clearly network related though. Do you have network stuff defined in your Vagrantfile? Might try commenting or removing it and trying vagrant up again.

You might double check you have the most recent versions of Vagrant and VirtualBox installed, just to be on the safe side.

Also, I Googled a portion of that error and there were tons of hits. It's usually safe to assume that errors you run into are not unique.

Good luck!

NIKHIL MISHRA
NIKHIL MISHRA
5,378 Points

I will suggest start using linux or mac , because as u move forward with windows problems will occur frequently. Not many people use windows for development so it's hard to find solution.