Skip to content

Instantly share code, notes, and snippets.

@Moudoux
Last active January 27, 2023 11:46
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Moudoux/29ce51a1a27e6b0c02ddae27a8da8e49 to your computer and use it in GitHub Desktop.
Save Moudoux/29ce51a1a27e6b0c02ddae27a8da8e49 to your computer and use it in GitHub Desktop.
##############################################################################
# #
# Windows 10 Setup #
# Powered by Chocolatey #
# Updated: April 21st 2018 #
# Made by Deftware #
# #
# Please run "Set-ExecutionPolicy Bypass" before running this script #
# #
##############################################################################
# Define functions
function downloadFile() {
Write-Host "Downloading:" $args[0]
Start-BitsTransfer -Source $args[0] -Destination $args[1]
}
function installFromWeb() {
downloadFile ($args[0]) ($args[1])
Start-Process $args[1] -Wait
}
# Install Chocolatey (Windows package manager)
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Get rid of annoying confirmations
choco feature enable -n=allowGlobalConfirmation
##############################################################################
# #
# Chocolatey packages #
# #
##############################################################################
# General
choco install winrar
choco install virtualbox
choco install obs-studio
choco install chocolateygui
choco install vnc-viewer
# Gaming
choco install steam
# Development
choco install notepadplusplus
choco install visualstudiocode
choco install visualstudio2017community
choco install github
choco install procexp
choco install maven
choco install gradle
choco install wireshark
choco install jetbrainstoolbox
choco install arduino
choco install androidstudio
choco install adb
choco install golang
choco install python2
choco install unity
# Runtimes
choco install jdk8
choco install nodejs
# FTP
choco install winscp
# Social
choco install discord
choco install hexchat
choco install slack
# Music
choco install spotify
# Web
choco install googlechrome
# Crypto
choco install keepass
choco install veracrypt
# Overclocking
choco install msiafterburner
# Monitoring
choco install cpu-z
choco install hwmonitor
# Torrent
choco install deluge
# Drivers
choco install cue
# Misc
choco install thunderbird
##############################################################################
# #
# Programs not on Chocolatey #
# #
##############################################################################
installFromWeb ("https://downloads.nordcdn.com/apps/windows/10/NordVPN/latest/NordVPNSetup.exe") ("NordVPN.exe")
installFromWeb ("https://launcher.mojang.com/download/MinecraftInstaller.msi") ("minecraft.exe")
installFromWeb ("https://app.prntscr.com/build/setup-lightshot.exe") ("lightshot.exe")
installFromWeb ("http://instant-eyedropper.com/download/instant-eyedropper-1.9.1.exe") ("dropper.exe")
installFromWeb ("https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Setup.exe") ("popcorntime.exe")
installFromWeb ("http://ccmdl.adobe.com/AdobeProducts/KCCC/1/win32/ACCCx4_4_1_298.zip") ("adobe.exe")
installFromWeb ("https://download01.logi.com/web/ftp/pub/techsupport/options/Options_6.80.372.exe") ("logitech.exe")
# Swedish e-banking software
installFromWeb ("https://install.bankid.com/FileDownloader?fileId=Win") ("bankid.exe")
# Drivers for Nvidia GTX 1080
installFromWeb ("http://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/Windows/391.35/391.35-desktop-win10-64bit-international-whql.exe&lang=us&type=TITAN") ("Nvidia.exe")
# Razer Synapse 2
installFromWeb ("http://dl.razerzone.com/drivers/Synapse2/win/Razer_Synapse_Installer_v2.21.00.830.exe") ("synapse.exe")
# Windows 10 privacy tools
downloadFile ("https://github.com/Nummer/Destroy-Windows-10-Spying/releases/download/2.2.2.2/DWS.exe") ("dws.exe")
downloadFile ("https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe") ("shutup10.exe")
##############################################################################
# #
# Privacy settings #
# #
##############################################################################
# Disable cortana
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\' -Name 'Windows Search' | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'AllowCortana' -PropertyType DWORD -Value '0' | Out-Null
##############################################################################
# #
# Developer settings #
# #
##############################################################################
# Enable developer mode
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
# Enable Linux subsystem
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
# End of script (Computer will reboot from the last command)
@kiquenet
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment