Vagrant: creating windows 10 box
From wikinotes
Over the course of the past 2 years, I have not been able to find a dependable windows10 box, so these instructions are for creating my own.
NOTE:
If you disable the 'Windows Update' service, some software packages (like maya) will not be able to install their dependencies. You will need to temporarily re-enable them for the installation.
run: services
windows update:
properties:
startup type: disabled
install virtual box guest additions
run: UAC
disable UAC
reboot
taskbar > network:
network (connected):
private
cmd (rclick and run as Administrator):
winrm quickconfig -q
winrm set winrm/config/winrs @{MaxMemoryPerShellMB="512"}
winrm set winrm/config @{MaxTimeoutms="1800000"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/service/auth @{Basic="true"}
sc config WinRM start= auto
powershell (rclick and run as Administrator)
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
control panel (search):
allow remote connections to this computer
Other Preferences:
#### Enable linux-subsystem for linux
powershell.exe
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
#
# restart
#
Install Linux Subsystem for Windows:
- (Temporarily re-enable windows-update)
- Edge:
- https://aka.ms/wslstore
- install ubuntu
See Also:
http://huestones.co.uk/node/305 |