Skip to content

Instantly share code, notes, and snippets.

@nicholasadamou
Last active February 16, 2019 12:45
Show Gist options
  • Save nicholasadamou/1b0d2a55f38981063f5ae545e9ad16a1 to your computer and use it in GitHub Desktop.
Save nicholasadamou/1b0d2a55f38981063f5ae545e9ad16a1 to your computer and use it in GitHub Desktop.
Base Windows Configuration
### Base Windows Configuration ###
<#
The command to run, built from the raw link of this gist
Win+R
iexplore http://boxstarter.org/package/url?<RAW GIST LINK>
OR (if you don't like the way the web launcher force re-installs everything)
Create another script like the following to install and run the gist:
. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
install-boxstarterpackage -PackgeName <RAW GIST URL>
NOTES:
- You will almost certainly want to modify the configuration and every other aspect of this script
to meet your own needs.
#>
## Configure Windows
Enable-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Containers -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Microsoft-Windows-Subsystem-Linux -Online -NoRestart
### Chocolatey Installs ###
# Install Chocolatey: https://chocolatey.org/install
Set-ExecutionPolicy AllSigned; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Enable Chocolatey Autoconfirm
choco feature enable -n allowGlobalConfirmation
# Install Boxstarter: http://boxstarter.org/InstallBoxstarter
cinst -y boxstarter
# Install just-install: https://just-install.github.io/
msiexec.exe /i https://just-install.github.io/stable/just-install.msi
## Packages
cinst -y Gow
## Terminal
cinst -y cmder
cinst -y sudo
## Node, npm
cinst -y nodejs.install
npm install -g npm-windows-upgrade
npm-windows-upgrade
just-install yarn
## Git
cinst -y git.install
cinst -y poshgit
cinst -y git-credential-winstore
cinst -y Git-Credential-Manager-for-Windows
## Text Editors
cinst -y notepad3
cinst -y notepadplusplus.install
cinst -y visualstudiocode
cinst -y vscode-settingssync
cinst -y eclipse
## VirtualBox
cinst -y virtualbox
cinst -y virtualbox.extensionpack
## Vagrant
cinst -y vagrant
vagrant plugin install vagrant-hostsupdater
## Python
cinst -y python
cinst -y pip
cinst -y easy.install
## Java
cinst -y jdk11
cinst -y jre8
## Ruby
cinst -y ruby
cinst -y ruby.devkit
## Browsers
cinst -y googlechrome
cinst -y googlechrome.canary
cinst -y firfox
just-install firefox-developer-edition
## Security
cinst -y glasswire
cinst -y sandboxie.install
cinst -y ccleaner
cinst -y unchecky
cinst -y 1password
cinst -y lastpass
cinst -y lastpass-for-applications
cinst -y veracrypt
## Media
cinst -y vlc
cinst -y spotify
## Documents
cinst -y adobereader
cinst -y 7zip.install
cinst -y winrar
## Games
cinst -y steam
## Messaging
cinst -y discord.install
## Runtimes
cinst -y adobeair
cinst -y javaruntime
cinst -y adobeshockwaveplayer
cinst -y silverlight
## Online Storage
cinst -y dropbox
cinst -y googledrive
cinst -y megasync
## File Sharing
cinst -y deluge
## Utilities
cinst -y gyazo
cinst -y etcher
cinst -y vnc-viewer
cinst -y aquasnap
cinst -y prepros
cinst -y putty.install
cinst -y winscp
cinst -y filezilla
cinst -y everything
cinst -y sysinternals
cinst -y processhacker.install
cinst -y tidytabs.install
cinst -y win32diskimager.install
cinst -y dotnetcore
# Fonts
cinst -y firacode
cinst -y inconsolata
cinst -y hackfont
# Taskbar items
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\Google\Chrome\Application\chrome.exe"
# Windows Updates
Install-WindowsUpdate -acceptEula
# Boxstarter Configuration Commands (gcm -module Boxstarter.WinConfig)
Set-WindowsExplorerOptions -EnableShowFileExtensions -DisableOpenFileExplorerToQuickAccess -DisableShowFrequentFoldersInQuickAccess -DisableShowRecentFilesInQuickAccess
Disable-BingSearch
Disable-GameBarTips
Enable-RemoteDesktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment