Skip to content

Instantly share code, notes, and snippets.

@HomelessAvatar
Last active April 23, 2019 11:55
Show Gist options
  • Save HomelessAvatar/5db850a0adf3f7f6afe04546eeba179d to your computer and use it in GitHub Desktop.
Save HomelessAvatar/5db850a0adf3f7f6afe04546eeba179d to your computer and use it in GitHub Desktop.
# https://github.com/mwrock/boxstarter/issues/241#issuecomment-336028348
New-Item -Path "$env:userprofile\AppData\Local\ChocoCache" -ItemType directory -Force | Out-Null
$common = "--cacheLocation `"$env:userprofile\AppData\Local\ChocoCache`""
Update-ExecutionPolicy Unrestricted
Disable-GameBarTips
Disable-BingSearch
Set-WindowsExplorerOptions -EnableShowFileExtensions -DisableOpenFileExplorerToQuickAccess -DisableShowRecentFilesInQuickAccess -DisableShowFrequentFoldersInQuickAccess
# No SMB1 - https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
# Windows features
choco install NetFx3
cinst directx $common
cinst vcredist2008 $common
cinst vcredist2010 $common
cinst vcredist2012 $common
cinst vcredist2013 $common
cinst vcredist2015 $common
cinst vcredist2017 $common
cinst vcredist140 $common
cinst dotnet4.6.2 $common
cinst dotnet4.7.1 $common
cinst dotnet4.7.2 $common
cinst dotnetfx $common
cinst keepass $common
cinst firefox $common
cinst GoogleChrome $common
cinst 7zip.install $common
cinst FiraCode $common # font
cinst javaruntime $common
cinst paint.net --ignore-checksums $common # ignore required as of 20170321
cinst notepadplusplus $common
cinst python2 $common
cinst python3 $common
cinst winrar $common
cinst lockhunter $common
cinst sumatrapdf.install $common
cinst rammap $common
cinst rapidee $common
cinst bluescreenview.install $common
cinst sharex $common
cinst qbittorrent $common
cinst vlc $common
cinst mpc-hc-clsid2 $common
cinst streamlink $common
cinst telegram.install $common
# Remove unwanted Store apps
Get-AppxPackage Facebook.Facebook | Remove-AppxPackage
Get-AppxPackage TuneIn.TuneInRadio | Remove-AppxPackage
Get-AppxPackage Microsoft.MinecraftUWP | Remove-AppxPackage
Get-AppxPackage Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
Get-AppxPackage KeeperSecurityInc.Keeper | Remove-AppxPackage
Get-AppxPackage 2FE3CB00.PicsArt-PhotoStudio | Remove-AppxPackage
Get-AppxPackage 9E2F88E3.Twitter | Remove-AppxPackage
Get-AppxPackage Microsoft.BingNews | Remove-AppxPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment