Problem Installing Laravel Homestead on Windows 8 & 10

Published on Author JFLeave a comment

I was having issues with installing Laravel Homestead on my Windows 10 (and Windows 8) laptop:
I installed Vagrant and VirtualBox, rebooted, and was then following these instructions.

Note: you should have Git already installed and use Git Bash for running these commands, not Windows CMD, although I started with CMD.

I ran this:

C:\Users\Data>vagrant box add laravel/homestead

And was getting this error:

The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: [""]
Error: Could not resolve host:


A common issue seems to deal with CURL not being installed, but I checked for it in the Vagrant install and there it was.

Another common issue is not having Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) installed (note the x86 not x64 version). I downloaded it and ran the installer. Here’s the important part:

It was already installed, so I canceled and spent another half an hour looking for a solution.

Giving up, I then ran it again and did the repair to it’s original state, re-opened CMD and ran C:\Users\Data>vagrant box add laravel/homestead and it worked!


C:\Users\Data>vagrant box add laravel/homestead
 ==> box: Loading metadata for box 'laravel/homestead'
 box: URL:
 This box can work with multiple providers! The providers that it
 can work with are listed below. Please review the list and choose
 the provider you will be working with.

1) hyperv
 2) parallels
 3) virtualbox
 4) vmware_desktop

Enter your choice:

IMPORTANT! Seems like I had to run the repair each and every time. I had to run it after completion, as well, when I did vagrant up. 

For completing the entire install I recommend using this guide.

More Troubleshooting:

You might get this message when doing vagrant up:

D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/is_port_open.rb:21:in `initialize':
The requested address is not valid in its context. - connect(2) for "" port 8000 

Go into C:\Users\Data\Homestead\scripts\homestead.rb

Go to line 90 and comment it out, then replace with the following:

# "forwarded_port", guest: guest, host: host, auto_correct: true "forwarded_port", guest: guest, host: host, host_ip: "", auto_correct: true


Another message you might get:


Do you have virtualization enabled in your BIOS?

If so, do you have Hyper-V installed? Even if it is disabled in Services, Vagrant still might not run. If that’s the case, open CMD as Administrator and do this:

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

You will need to reboot

To enable:

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V

There are other ways to disable/enable Hyper-V. This is only one of them.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.