Skip to content

Instantly share code, notes, and snippets.

@vichong
Created May 8, 2020 03:26
Show Gist options
  • Save vichong/f0de7a50d9be9706d196d174c5927557 to your computer and use it in GitHub Desktop.
Save vichong/f0de7a50d9be9706d196d174c5927557 to your computer and use it in GitHub Desktop.
# Fresh Win10 1909 install.
#
# Interupt the OOBE (Out Of the Box Experience) process by pressing the CTRL+SHIFT+F3 keys at the same time.
# You will end up logged on as Administrator (not just a member of the Administrators group) in Audit Mode at a Sysprep (System Preparation Tool) dialog on a default Windows desktop screen.
# This is where you can carry out customisations and have them all applied to Windows’ default acccount template. This means that every account created – the initial user account which, by default, is a member of the Administrators group – and all subsequent accounts will be based on the amended default account template.
#
# Open PowerShell and run:
# Set-ExecutionPolicy Unrestricted
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/vichong/bf26295823f92cc2adc69db3ab5bb8cd/raw/caed3512e22c4271cbc3571e2d4cf3a708554fb1/VH_PC_Script.txt
Disable-UAC
Enable-MicrosoftUpdate
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder -EnableShowRibbon
Disable-GameBarTips
Disable-BingSearch
powercfg /change standby-timeout-ac 0
powercfg /hibernate off
Set-WinSystemLocale en-GB
# cinst 1password
cinst 7zip.install
cinst adobereader
# cinst angryip
# cinst atom
# cinst authy-desktop
# cinst aliyun-cli
# cinst awscli
# cinst azure-cli
cinst Boxstarter
cinst brave
cinst bulk-crap-uninstaller
# cinst calibre
cinst ccleaner
cinst chocolateygui
# cinst cyberduck
cinst debotnet
# cinst discord
# cinst dropbox
# cinst evernote
cinst Firefox
cinst GeekUninstaller
# cinst google-drive-file-stream
cinst GoogleChrome
# cinst intel-dsa
# cinst intel.ssd.toolbox
# cinst irfanview
cinst malwarebytes
# cinst mboxviewer
cinst microsoft-edge
# cinst microsoft-teams.install
cinst microsoft-windows-terminal
cinst notepadplusplus.install
# cinst office365proplus
# cinst paint.net
# cinst pdfsam
# cinst powertoys
# cinst procexp
# cinst putty.install
# cinst rufus
cinst shutup10
# cinst skype
# cinst slack
cinst spotify
# cinst steam
# cinst sumatrapdf
cinst teamviewer
# cinst teracopy
# cinst terraform
cinst treesizefree
cinst ublockorigin-chrome
cinst ublockorigin-firefox
# cinst utorrent
# cinst veracrypt
# cinst viscosity
cinst vlc
cinst WhatsApp
cinst winaero-tweaker
# cinst zoiper
cinst zoom-client
# cinst Microsoft-Hyper-V-All -source windowsfeatures
# Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
# Invoke-WebRequest -Uri https://wsldownload.azureedge.net/Ubuntu_1604.2019.523.0_x64.appx -OutFile Ubuntu.appx -UseBasicParsing
# Add-AppxPackage .\Ubuntu.appx
Install-WindowsUpdate -acceptEula -getUpdatesFromMS
Enable-UAC
Set-ExecutionPolicy Restricted
# Run the following after updates
# iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment