Skip to content

Instantly share code, notes, and snippets.

@austinsc
Forked from ChaseFlorell/01-Update-Windows.ps1
Last active April 23, 2016 20:05
Show Gist options
  • Select an option

  • Save austinsc/db0f1ab0bfd2a3c8cdde to your computer and use it in GitHub Desktop.

Select an option

Save austinsc/db0f1ab0bfd2a3c8cdde to your computer and use it in GitHub Desktop.
Development Boxstarter Scripts
# http://boxstarter.org/package/url?https://gist.githubusercontent.com/austinsc/db0f1ab0bfd2a3c8cdde/raw/boxstarter-apps.ps1
# Tools
cinst -y conemu
cinst -y scaftw.ConEmuConfig
cinst -y 7zip.install
cinst -y NugetPackageExplorer
cinst -y PowerShell
cinst -y devbox-rapidee
# Browsers
cinst -y GoogleChrome
cinst -y Firefox
cinst -y Opera
#cinst -y waterfox
# Runtimes
cinst -y DotNet4.0
cinst -y DotNet4.5
cinst -y mono
cinst -y Silverlight
cinst -y javaruntime
# Web Development
cinst -y fiddler4
cinst -y phantomjs
# Sublime Text
cinst -y sublimetext3.app
cinst -y sublimetext3-contextmenu
Install-ChocolateyFileAssociation ".txt" "$env:programfiles\Sublime Text 3\sublime_text.exe"
cinst -y SourceCodePro
# Without Git, we might as well go home.
cinst -y git.install
cinst -y git.commandline
cinst -y poshgit
cinst -y git-credential-winstore -Version 1.2.0.0
cinst -y githubforwindows
# Visual Studio
# cinst -y VisualStudio2013Ultimate
# cinst -y resharper
cinst -y windows-sdk-8.1
# Install-ChocolateyVsixPackage VSWebEssentials https://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361
# Install-ChocolateyVsixPackage VSColorOutput https://visualstudiogallery.msdn.microsoft.com/f4d9c2b5-d6d7-4543-a7a5-2d7ebabc2496
# Node.js
# cinst -y nodejs.install
# cinst -y io.js
# cinst -y posh-npm
# Fix SSH-Agent error by adding the bin directory to the `Path` environment variable
# $env:PSModulePath = $env:PSModulePath + ";C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\nodejs"
# Write-BoxstarterMessage "Installing global node.js packages..."
# npm install -g bower pm2 nodemon forever yo gulp grunt-cli generator-webapp generator-gulp-webapp
# Write-BoxstarterMessage "Creating development folders in root"
# New-Item -path "C:\Development" -type directory -force
# New-Item -path "C:\Development\Scrap" -type directory -force
# New-Item -path "C:\Development\Github" -type directory -force
# http://boxstarter.org/package/url?https://gist.githubusercontent.com/austinsc/db0f1ab0bfd2a3c8cdde/raw/boxstarter-windows.ps1
#####################
# BEGIN CONFIGURATION
#####################
# Initial Windows Config
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Set-TaskbarOptions -Size Small -Lock
Enable-RemoteDesktop
Disable-UAC
Disable-InternetExplorerESC
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-TaskbarOptions -Size Small -Lock -Dock Bottom
cinst IIS-WebServerRole -source windowsfeatures
cinst TelnetClient -source windowsFeatures
cinst IIS-HttpCompressionDynamic -source windowsfeatures
cinst IIS-ManagementScriptingTools -source windowsfeatures
cinst IIS-WindowsAuthentication -source windowsfeatures
cinst ARRv3 -source webpi
Write-BoxstarterMessage "Running everything as administrator..."
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"
Write-BoxstarterMessage "Setting taskbar buttons to combine when full..."
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarGlomLevel" -Type DWORD -Value 0x00000001
Write-BoxstarterMessage "Setting up command prompt defaults"
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable00 -Type DWORD -Value 0x000c0c0c -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable01 -Type DWORD -Value 0x009a6400 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable02 -Type DWORD -Value 0x00019b53 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable03 -Type DWORD -Value 0x007e960f -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable04 -Type DWORD -Value 0x003d0b8f -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable05 -Type DWORD -Value 0x007f0377 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable06 -Type DWORD -Value 0x0000919b -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable07 -Type DWORD -Value 0x00c1c1c1 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable08 -Type DWORD -Value 0x006b6b6b -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable09 -Type DWORD -Value 0x00e89900 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable10 -Type DWORD -Value 0x0002ea7f -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable11 -Type DWORD -Value 0x00bfe704 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable12 -Type DWORD -Value 0x005c11d8 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable13 -Type DWORD -Value 0x00c200b7 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable14 -Type DWORD -Value 0x0000ddea -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable15 -Type DWORD -Value 0x00f6f6f6 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable16 -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable17 -Type DWORD -Value 0x00800000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable18 -Type DWORD -Value 0x00008000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable19 -Type DWORD -Value 0x00808000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable20 -Type DWORD -Value 0x00000080 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable21 -Type DWORD -Value 0x00800080 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable22 -Type DWORD -Value 0x00008080 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable23 -Type DWORD -Value 0x00c0c0c0 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable24 -Type DWORD -Value 0x00808080 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable25 -Type DWORD -Value 0x00ff0000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable26 -Type DWORD -Value 0x0000ff00 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable27 -Type DWORD -Value 0x00ffff00 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable28 -Type DWORD -Value 0x000000ff -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable29 -Type DWORD -Value 0x00ff00ff -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable30 -Type DWORD -Value 0x0000ffff -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ColorTable31 -Type DWORD -Value 0x00ffffff -Force
Set-ItemProperty -Path "HKCU:\Console" -Name CursorSize -Type DWORD -Value 0x00000019 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name EnableColorSelection -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ExtendedEditKey -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ExtendedEditKeyCustom -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name FontFamily -Type DWORD -Value 0x00000036 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name FontSize -Type DWORD -Value 0x000c0000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name FontWeight -Type DWORD -Value 0x00000190 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name FullScreen -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name HistoryBufferSize -Type DWORD -Value 0x00000032 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name HistoryNoDup -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name InsertMode -Type DWORD -Value 0x00000001 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name LoadConIme -Type DWORD -Value 0x00000001 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name NumberOfHistoryBuffers -Type DWORD -Value 0x00000004 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name PopupColors -Type DWORD -Value 0x000000f5 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name QuickEdit -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ScreenBufferSize -Type DWORD -Value 0x03e8008c -Force
Set-ItemProperty -Path "HKCU:\Console" -Name ScreenColors -Type DWORD -Value 0x00000007 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name TrimLeadingZeros -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name WindowSize -Type DWORD -Value 0x003c008c -Force
Set-ItemProperty -Path "HKCU:\Console" -Name WordDelimiters -Type DWORD -Value 0x00000000 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name CurrentPage -Type DWORD -Value 0x00000001 -Force
Set-ItemProperty -Path "HKCU:\Console" -Name FaceName -Type String -Value "Lucida Console" -Force
Set-ItemProperty -Path "HKCU:\Console\ConEmu" -Name HistoryBufferSize -Type DWORD -Value 0x00000032 -Force
Set-ItemProperty -Path "HKCU:\Console\ConEmu" -Name NumberOfHistoryBuffers -Type DWORD -Value 0x00000020 -Force
Set-ItemProperty -Path "HKCU:\Console\ConEmu" -Name ScreenColors -Type DWORD -Value 0x00000007 -Force
Set-ItemProperty -Path "HKCU:\Console\Git Bash" -Name FaceName -Type String -Value "Lucida Console" -Force
Set-ItemProperty -Path "HKCU:\Console\Git Bash" -Name FontFamily -Type DWORD -Value 0x00000036 -Force
Set-ItemProperty -Path "HKCU:\Console\Git Bash" -Name FontSize -Type DWORD -Value 0x000e0000 -Force
Set-ItemProperty -Path "HKCU:\Console\Git Bash" -Name FontWeight -Type DWORD -Value 0x00000190 -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment