Skip to content

Instantly share code, notes, and snippets.

@labaneilers
Last active October 4, 2017 15:37
Show Gist options
  • Save labaneilers/e70386d9f4034de739bad9334ae7de58 to your computer and use it in GitHub Desktop.
Save labaneilers/e70386d9f4034de739bad9334ae7de58 to your computer and use it in GitHub Desktop.
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
cinst powershell
cinst svn
cinst git
cinst ruby --version "2.3.1"
cinst "windows-sdk-7.1"
cinst TortoiseGit
cinst tortoisesvn
cinst visualstudio2015professional
cinst VisualStudioCode
cinst sql-server-management-studio
cinst nodejs
cinst GoogleChrome
cinst Firefox
cinst BeyondCompare
cinst p4merge
cinst resharper
"Setting up PATH"
$path = "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Subversion\bin;C:\Program Files\Git\cmd;C:\tools\ruby23\bin;c:\vp\devenv\ps;c:\vp\devenv\bin;C:\Program Files\nodejs;C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
[Environment]::SetEnvironmentVariable("PATH", $path, "Machine")
msdtc -uninstall
sleep 5
msdtc -install
sleep 5
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\StreamProvider /v LastFullPayloadTime /t REG_DWORD /d 0 /f
c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment