bigp

bigp / Windows 11 setup script

Last active 5 months ago

Like 0

Sets up a clean install of windows 11

Revision e2c776766c84b235f225828c95466353f85e55bf

setup.ps1 Raw
1# Uninstall default crap
2Get-AppxPackage *3dbuilder* | Remove-AppxPackage
3Get-AppxPackage *windowsalarms* | Remove-AppxPackage
4Get-AppxPackage *windowscalculator* | Remove-AppxPackage
5Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
6Get-AppxPackage *officehub* | Remove-AppxPackage
7Get-AppxPackage *skypeapp* | Remove-AppxPackage
8Get-AppxPackage *getstarted* | Remove-AppxPackage
9Get-AppxPackage *zunemusic* | Remove-AppxPackage
10Get-AppxPackage *windowsmaps* | Remove-AppxPackage
11Get-AppxPackage *solitairecollection* | Remove-AppxPackage
12Get-AppxPackage *bingfinance* | Remove-AppxPackage
13Get-AppxPackage *zunevideo* | Remove-AppxPackage
14Get-AppxPackage *bingnews* | Remove-AppxPackage
15Get-AppxPackage *onenote* | Remove-AppxPackage
16Get-AppxPackage *people* | Remove-AppxPackage
17Get-AppxPackage *bingsports* | Remove-AppxPackage
18Get-AppxPackage *soundrecorder* | Remove-AppxPackage
19Get-AppxPackage *bingweather* | Remove-AppxPackage
20
21# Make the taskbar normal again
22reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0
23reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCortanaButton /t REG_DWORD /d 0
24reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCopilotButton /t REG_DWORD /d 0
25reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowTaskViewButton /t REG_DWORD /d 0
26
27# Make explorer usable
28reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v DontPrettyPath /t REG_DWORD /d 1
29reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v HideFileExt /t REG_DWORD /d 0
30reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowSuperHidden /t REG_DWORD /d 1
31
32# Dark mode
33reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v AppsUseLightTheme /t REG_DWORD /d 1
34reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v SystemUsesLightTheme /t REG_DWORD /d 1
35
36# Make windows better
37winget install -e --id StartIsBack.StartAllBack
38winget install -e --id WhatPulse.WhatPulse
39winget install -e --id Microsoft.PowerToys
40winget install -e --id voidtools.Everything
41winget install -e --id ShareX.ShareX
42winget install -e --id Espanso.Espanso
43
44# Applications
45winget install -e --id Valve.Steam
46winget install -e --id Spotify.Spotify
47winget install -e --id Google.Chrome
48winget install -e --id AgileBits.1Password
49winget install -e --id VideoLAN.VLC
50winget install -e --id TeamSpeakSystems.TeamSpeakClient
51winget install -e --id dotPDNLLC.paintdotnet
52winget install -e --id RARLab.WinRAR
53winget install -e --id Win32diskimager.win32diskimager
54winget install -e --id Google.Drive
55
56# Chat
57winget install -e --id SlackTechnologies.Slack
58winget install -e --id Discord.Discord.Canary
59
60# Driver
61winget install -e --id Logitech.GHUB
62winget install -e --id Nvidia.GeForceExperience
63
64# Interpreters
65winget install -e --id OpenJS.NodeJS
66winget install -e --id Python.Python.3.9
67winget install -e --id Oracle.JavaRuntimeEnvironment
68
69# Programming
70winget install -e --id Git.Git
71winget install -e --id Postman.Postman
72winget install -e --id SublimeHQ.SublimeText.4
73winget install -e --id Notepad++.Notepad++
74winget install -e --id JetBrains.GoLand
75winget install -e --id Hashicorp.Terraform
76winget install -e --id ZeroTier.ZeroTierOne
77Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
78wsl --install
79winget install -e --id Canonical.Ubuntu.2204
80winget install -e --id Docker.DockerDesktop