bigp

bigp / Windows 11 setup script

Last active 5 months ago

Like 0

Sets up a clean install of windows 11

Revision a7183a9f95ce6afcb596c2a2ec963e37cc3b46ea

setup.ps1 Raw
1# Uninstall default crap
2Get-AppxPackage *3dbuilder* | Remove-AppxPackage
3Get-AppxPackage *windowsalarms* | Remove-AppxPackage
4Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
5Get-AppxPackage *officehub* | Remove-AppxPackage
6Get-AppxPackage *skypeapp* | Remove-AppxPackage
7Get-AppxPackage *getstarted* | Remove-AppxPackage
8Get-AppxPackage *zunemusic* | Remove-AppxPackage
9Get-AppxPackage *windowsmaps* | Remove-AppxPackage
10Get-AppxPackage *solitairecollection* | Remove-AppxPackage
11Get-AppxPackage *bingfinance* | Remove-AppxPackage
12Get-AppxPackage *zunevideo* | Remove-AppxPackage
13Get-AppxPackage *bingnews* | Remove-AppxPackage
14Get-AppxPackage *onenote* | Remove-AppxPackage
15Get-AppxPackage *people* | Remove-AppxPackage
16Get-AppxPackage *bingsports* | Remove-AppxPackage
17Get-AppxPackage *soundrecorder* | Remove-AppxPackage
18Get-AppxPackage *bingweather* | Remove-AppxPackage
19Get-AppxPackage *teams* | Remove-AppxPackage
20Get-AppxPackage *copilot* | Remove-AppxPackage
21
22# Make the taskbar normal again
23reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0
24reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCortanaButton /t REG_DWORD /d 0
25reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCopilotButton /t REG_DWORD /d 0
26reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowTaskViewButton /t REG_DWORD /d 0
27
28# Make explorer usable
29reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v DontPrettyPath /t REG_DWORD /d 1
30reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v HideFileExt /t REG_DWORD /d 0
31reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowSuperHidden /t REG_DWORD /d 1
32reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve
33
34# Dark mode
35reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v AppsUseLightTheme /t REG_DWORD /d 1
36reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v SystemUsesLightTheme /t REG_DWORD /d 1
37
38# Make windows better
39winget install -e --id StartIsBack.StartAllBack
40winget install -e --id WhatPulse.WhatPulse
41winget install -e --id Microsoft.PowerToys
42winget install -e --id voidtools.Everything
43winget install -e --id ShareX.ShareX
44winget install -e --id Espanso.Espanso
45winget install -e --id MartiCliment.UniGetUI
46winget install -e --id gerardog.gsudo
47winget install -e --id emoacht.Monitorian
48
49# Applications
50winget install -e --id Valve.Steam
51winget install -e --id Mojang.MinecraftLauncher
52winget install -e --id Overwolf.CurseForge
53winget install -e --id Spotify.Spotify
54winget install -e --id Google.Chrome
55winget install -e --id AgileBits.1Password
56winget install -e --id VideoLAN.VLC
57winget install -e --id TeamSpeakSystems.TeamSpeakClient
58winget install -e --id dotPDNLLC.paintdotnet
59winget install -e --id RARLab.WinRAR
60winget install -e --id Google.Drive
61winget install -e --id AntibodySoftware.WizTree
62winget install -e --id RaspberryPiFoundation.RaspberryPiImager
63winget install -e --id Zoom.Zoom
64winget install -e --id OBSProject.OBSStudio
65winget install -e --id Inkscape.Inkscape
66winget install -e --id VB-Audio.Voicemeeter.Banana
67winget install -e --id Elgato.StreamDeck
68
69# Chat
70winget install -e --id SlackTechnologies.Slack
71winget install -e --id Discord.Discord.Canary
72
73# Driver
74winget install -e --id Logitech.GHUB
75winget install -e --id Nvidia.GeForceExperience
76
77# Interpreters
78winget install -e --id OpenJS.NodeJS
79winget install -e --id Python.Python.3.9
80winget install -e --id Oracle.JavaRuntimeEnvironment
81winget install -e --id GoLang.Go
82
83# Programming
84winget install -e --id Git.Git
85winget install -e --id Postman.Postman
86winget install -e --id SublimeHQ.SublimeText.4
87winget install -e --id Notepad++.Notepad++
88winget install -e --id JetBrains.GoLand
89winget install -e --id JetBrains.Toolbox
90winget install -e --id Hashicorp.Terraform
91winget install -e --id ZeroTier.ZeroTierOne
92winget install -e --id xpipe-io.xpipe
93winget install -e --id Postman.Postman
94winget install -e --id PuTTY.PuTTY
95
96# Sandbox
97Enable-WindowsOptionalFeature -FeatureName "Microsoft-Hyper-V-All" -All -Online
98Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
99
100# WSL
101wsl --install
102winget install -e --id Canonical.Ubuntu.2204
103winget install -e --id Docker.DockerDesktop
104