Skip to content

Instantly share code, notes, and snippets.

@netadr
Last active October 9, 2018 00:48
Show Gist options
  • Save netadr/23d4660448520cec59b8304fa0dc8ca7 to your computer and use it in GitHub Desktop.
Save netadr/23d4660448520cec59b8304fa0dc8ca7 to your computer and use it in GitHub Desktop.
my windows bootstrap
# netsec_planes's boxstarter script
#---TEMPORARY---
Write-Host "Temporarily disabling User Account Control..."
Disable-UAC
#---WINDOWS SETTINGS---
# THUMBNAIL CACHE / EXPLORER PRIVACY OPTIONS
Write-Host "Settings optimal Explorer privacy settings..."
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "DisableThumbnailCache" -Type DWord -Value 1
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "DisableThumbsDBOnNetworkFolders" -Type DWord -Value 1
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Name "ShowRecent" -Type DWord -Value 0
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Name "ShowFrequent" -Type DWord -Value 0
# STICKY KEYS
Write-Host "Disabling Sticky Keys prompt..."
Set-ItemProperty -Path "HKCU:\Control Panel\Accessibility\StickyKeys" -Name "Flags" -Type String -Value "506"
# SEARCH ICON
Write-Host "Showing Taskbar Search icon..."
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -Type DWord -Value 1
# SYSTEM TRAY
Write-Host "Showing all tray items..."
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" -Name "EnableAutoTray" -Type DWord -Value 0
# EXPLORER OPTIONS
Write-Host "Configuring Windows Explorer..."
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
#---CHOCOLATEY PACKAGES---
Write-Host "Installing chocolatey packages..."
# ESSENTIALS
Write-Host "Installing all essentials..."
cinst firefox
cinst discord.install
cinst 7zip.install
cinst notepadplusplus.install
cinst keepass.install
cinst autohotkey
cinst google-backup-and-sync
cinst vlc
cinst qbittorrent
cinst gimp
cinst -i libreoffice-fresh # same thing as tortoisegit
# DEVELOPMENT AND RESEARCH
Write-Host "Installing development tools..."
cinst git
cinst -i tortoisegit # '-i' prevents tortoisegit from invoking the slow windows update service
cinst tortoisesvn
cinst vmwareworkstation
cinst cygwin
cinst cyg-get
cinst conemu
# GAMING
Write-Host "Installing ebic gamer tools..."
cinst steam
# UTILITIES
Write-Host "Installing utilities..."
cinst sysinternals
cinst wireshark
cinst processhacker.install
cinst putty.install
cinst winscp.install
cinst gpg4win
cinst veracrypt
cinst youtube-dl
cinst ffmpeg
#---CYGWIN PACKAGES---
Write-Host "Installing cygwin packages..."
cyg-get tree
cyg-get wget
#---REENABLE UAC---
Write-Host "Re-enabling User Account Control..."
Enable-UAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment