Skip to content

Instantly share code, notes, and snippets.

@gnosticJade
Last active November 26, 2018 08:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnosticJade/6e93fdcda0a670a21b763591e1832b30 to your computer and use it in GitHub Desktop.
Save gnosticJade/6e93fdcda0a670a21b763591e1832b30 to your computer and use it in GitHub Desktop.
Boxstarter script to set up fresh Windows installations.
# Description: Boxstarter Script; automated Windows reconfigurations.
# Author: Jade <jade@gnosticjade.net>
# Last Updated: 2017-09-16
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force && Install-BoxstarterPackage -PackageName <URL-TO-GIST> -DisableReboots
#
# Learn more: http://boxstarter.org/Learn/WebLauncher
#
# Largely copied from:
# jessfraz @ https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f
# nickcraver @ https://gist.github.com/NickCraver/7ebf9efbfd0c3eab72e9
# Uninstall useless Windows default applications.
Get-AppxPackage king.com.CandyCrushSaga | Remove-AppxPackage
# Bing Weather, News, Sports, and Finance (Money):
Get-AppxPackage Microsoft.BingWeather | Remove-AppxPackage
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
Get-AppxPackage Microsoft.BingSports | Remove-AppxPackage
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage
# Xbox:
Get-AppxPackage Microsoft.XboxApp | Remove-AppxPackage
# Windows Phone Companion
Get-AppxPackage Microsoft.WindowsPhone | Remove-AppxPackage
# Solitaire Collection
Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
# People
Get-AppxPackage Microsoft.People | Remove-AppxPackage
# Groove Music
Get-AppxPackage Microsoft.ZuneMusic | Remove-AppxPackage
# Movies & TV
Get-AppxPackage Microsoft.ZuneVideo | Remove-AppxPackage
# OneNote
Get-AppxPackage Microsoft.Office.OneNote | Remove-AppxPackage
# Sound Recorder
Get-AppxPackage Microsoft.WindowsSoundRecorder | Remove-AppxPackage
# Mail & Calendar
Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage
# Skype (Metro version)
Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage
# Install common applications.
choco install googlechrome sharex teamspeak 7zip.install notepadplusplus.install vlc makemkv hwinfo hwmonitor mediainfo putty.install filezilla keepass.install virtualbox python audacity firefox streamlink streamlink-twitch-gui discord.install winaero-tweaker spotify cpu-z dolphin crystaldiskinfo rufus hashtab -y
# Unsure of how to implement arguments on a per package basis when bulk installing like above.
choco install classic-shell -installArgs ADDLOCAL=ClassicStartMenu -y
# Now that we're done with that, reenable Windows Update+UAC & install updates.
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment