bigp

bigp / Windows 11 setup script

Last active 5 months ago

Like 0

Sets up a clean install of windows 11

bigp revised this gist 2 years ago · 82d5ca1

1 file changed, 3 insertions, 1 deletion

setup.ps1
@@ -28,6 +28,7 @@ reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Adv
28 28 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v DontPrettyPath /t REG_DWORD /d 1
29 29 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v HideFileExt /t REG_DWORD /d 0
30 30 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowSuperHidden /t REG_DWORD /d 1
31 + reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve
31 32
32 33 # Dark mode
33 34 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v AppsUseLightTheme /t REG_DWORD /d 1
@@ -77,4 +78,5 @@ winget install -e --id ZeroTier.ZeroTierOne
77 78 Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
78 79 wsl --install
79 80 winget install -e --id Canonical.Ubuntu.2204
80 - winget install -e --id Docker.DockerDesktop
81 + winget install -e --id Docker.DockerDesktop
82 + winget install xpipe-io.xpipe --source winget

bigp revised this gist 2 years ago · e2c7767

1 file changed, 1 insertion

setup.ps1
@@ -74,6 +74,7 @@ winget install -e --id Notepad++.Notepad++
74 74 winget install -e --id JetBrains.GoLand
75 75 winget install -e --id Hashicorp.Terraform
76 76 winget install -e --id ZeroTier.ZeroTierOne
77 + Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
77 78 wsl --install
78 79 winget install -e --id Canonical.Ubuntu.2204
79 80 winget install -e --id Docker.DockerDesktop

bigp revised this gist 2 years ago · 88c5590

1 file changed, 79 insertions

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