There might be several things going on as part of this process. I'm on Win 8. I believe this will work for Win 10.
Make sure you have Git Bash installed.
Make sure virtualization is turned on in your BIOS.
If you have Hyper-V installed you need to disable it, not just Disabled in Services:
Open CMD with Administrator privs.
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
Reboot
To re-enable, change Disable-Feature to Enable-Feature. Reboot.
Ok, next, you need to make sure you have installed Microsoft Visual C++ 2010
SP1 Redistributable Package (x86) at this URL:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=8328
If you have it installed, reinstall it. If it says "repair" then do the repair.
Then make sure to create SSH keys in CMD > c:\users\data:
ssh-keygen -t rsa -C “[email protected]”
Just hit enter for everything
Go to your Homestead directory and open Homestead.yaml
authorize: ~/.ssh/id_rsa.pub
keys:
— ~/.ssh/id_rsa
folders:
— map: ~/Code
to: /home/vagrant/Code
sites:
— map: homestead.app
to: /home/vagrant/Code/Laravel/public
You don't have to change anything now, but if the vagrant build fails you may need to come back here and replace ~/ with the full path on where these directories are. Don't forget forward slashes and CASE MATTERS! Example of mine. NOTE: I created a new projects folder on my D: drive.
authorize: c:/users/data/.ssh/id_rsa.pub
keys:
- c:/users/data/.ssh/id_rsa
folders:
- map: d:/projects/homestead_projects
to: /home/vagrant/Code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
NEXT STEP:
Go into C:\Users\Data\Homestead\scripts\homestead.rb
Go to line 90 and comment it out, then replace with the following:
config.vm.network "forwarded_port", guest: guest, host: host, host_ip: "127.0.0.1", auto_correct: true
That's it for some major pain in the necks.