bigp

bigp / Windows 11 setup script

Last active 5 months ago

Like 0

Sets up a clean install of windows 11

Revision 82d5ca1dab6ac5e230699fd6db153b065a0ebb80

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
31reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve
32
33# Dark mode
34reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v AppsUseLightTheme /t REG_DWORD /d 1
35reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v SystemUsesLightTheme /t REG_DWORD /d 1
36
37# Make windows better
38winget install -e --id StartIsBack.StartAllBack
39winget install -e --id WhatPulse.WhatPulse
40winget install -e --id Microsoft.PowerToys
41winget install -e --id voidtools.Everything
42winget install -e --id ShareX.ShareX
43winget install -e --id Espanso.Espanso
44
45# Applications
46winget install -e --id Valve.Steam
47winget install -e --id Spotify.Spotify
48winget install -e --id Google.Chrome
49winget install -e --id AgileBits.1Password
50winget install -e --id VideoLAN.VLC
51winget install -e --id TeamSpeakSystems.TeamSpeakClient
52winget install -e --id dotPDNLLC.paintdotnet
53winget install -e --id RARLab.WinRAR
54winget install -e --id Win32diskimager.win32diskimager
55winget install -e --id Google.Drive
56
57# Chat
58winget install -e --id SlackTechnologies.Slack
59winget install -e --id Discord.Discord.Canary
60
61# Driver
62winget install -e --id Logitech.GHUB
63winget install -e --id Nvidia.GeForceExperience
64
65# Interpreters
66winget install -e --id OpenJS.NodeJS
67winget install -e --id Python.Python.3.9
68winget install -e --id Oracle.JavaRuntimeEnvironment
69
70# Programming
71winget install -e --id Git.Git
72winget install -e --id Postman.Postman
73winget install -e --id SublimeHQ.SublimeText.4
74winget install -e --id Notepad++.Notepad++
75winget install -e --id JetBrains.GoLand
76winget install -e --id Hashicorp.Terraform
77winget install -e --id ZeroTier.ZeroTierOne
78Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
79wsl --install
80winget install -e --id Canonical.Ubuntu.2204
81winget install -e --id Docker.DockerDesktop
82winget install xpipe-io.xpipe --source winget