- VirtualBox
- Vagrant
- Windows 8.1/Server 2008/Server 2012 ISO
- Create VM in VirtualBox manually and install OS
- Create
vagrant
user with passwordvagrant
- Turn off firewall
- Disable 'Windows Search' Service (only if u don't need it, i don't need it)
- Disable 'Windows Update' Service (only if u don't need it, i don't need it)
- Turn off UAC
- Turn off Windows Defender
- Install Guest Additions
- Install any other software you want.
##Run the following in Powershell in Administator mode:
- Make all networks "private"
$nlm = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"))
$connections = $nlm.getnetworkconnections()
$connections |foreach {
if ($_.getnetwork().getcategory() -eq 0)
{
$_.getnetwork().setcategory(1)
}
}
- Enable WinRm
Enable-PSRemoting -Force
- Configure WinRM
get-service winrm
Enable-PSRemoting -force
winrm qc -q
winrm set winrm/config/client '@{TrustedHosts="*"}'
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="2048"}'
winrm set winrm/config/winrs '@{MaxConcurrentUsers="100"}'
winrm set winrm/config/winrs '@{AllowRemoteShellAccess="True"}'
winrm set winrm/config '@{MaxTimeoutms="604800000"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
- Set Windows Remoting service to start Automatic and not Automation (delayed)
Now all you have to do is package the box up.