Last active
December 12, 2016 11:29
-
-
Save timabell/14c15666fa58d3db66aa3411d243967e to your computer and use it in GitHub Desktop.
boxstarter script for hyper-v host dev machine http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/timabell/14c15666fa58d3db66aa3411d243967e/raw/boxstarter2.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# boxstarter script http://boxstarter.org/ | |
# source: https://gist.github.com/timabell/14c15666fa58d3db66aa3411d243967e | |
# based on: https://gist.github.com/timabell/608fb680bfc920f372ac | |
# tested on win10 x64 | |
# This is a start of a build of a box I'm using at the moment. | |
# Fork this to your own gist, then comment/uncomment/add stuff to suit you. | |
# This for a win 10 machine where development will be done in Hyper-V VMs so | |
# there's no need for dev tools. | |
# To run, click the link in the desription at the top of this gist page. | |
# This will only work in IE / Edge. | |
# Alternatively paste this link into internet explorer's address bar and hit enter: | |
# http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/timabell/14c15666fa58d3db66aa3411d243967e/raw/boxstarter2.ps1 | |
# If IE is your default browser you can simply paste into start > run without firing up IE first. | |
# Install log ends up in C:\Users\tim\AppData\Local\Boxstarter | |
# Note: last time I checked boxstarter installed an outdated version of chocolatey. | |
# Windows options: - more options at http://boxstarter.org/WinConfig | |
### windows UI config | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
# always show all items in system tray | |
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -Value 0 -Type DWord | |
# turn off stupid integrated CILLIT BING! search in start menu | |
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Value 0 -Type DWord | |
# turn off annoying snap window suggestion https://www.tekrevue.com/tip/how-to-disable-snap-assist-windows-10/ | |
Set-ItemProperty -Path HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -Value 0 -Type DWord | |
# use procmon to find more annoying reg key settings, filter to Operation="RegSetValue" | |
### programs | |
# to see the details of any of the following go to https://chocolatey.org/packages/PACKAGE_NAME_HERE | |
# find more package names here: https://chocolatey.org/ | |
# and here `choco list` | |
# and here `choco list -source windowsfeatures` | |
# | |
# * 7zip - needed to be able to unzip AES encrypted zip files | |
cinst 7zip gitextensions vim googlechrome pdfcreator kdiff3 sysinternals notepadplusplus rdcman chocolatey windirstat graphviz au fiddler4 | |
cinst firefox -packageParameters "l=en-GB" | |
# Automatically cache github & gist ssh server keys (gitext/putty/plink) | |
# Workaround for git bash bug http://stackoverflow.com/q/33240137/10245 | |
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@github.com | |
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@gist.github.com | |
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@bitbucket.org | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment