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 8 months ago · 409dcad

1 file changed, 6 insertions

setup.ps1
@@ -63,6 +63,12 @@ reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeli
63 63 reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v SubscribedContent-338387Enabled /t REG_DWORD /d 0
64 64
65 65
66 + # AI
67 + & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1"))) -nonInteractive -AllOptions -InstallClassicApps photoviewer,mspaint,snippingtool,notepad,photoslegacy
68 +
69 +
70 +
71 +
66 72 # Make windows better
67 73 winget install -e --id StartIsBack.StartAllBack
68 74 winget install -e --id WhatPulse.WhatPulse

bigp revised this gist 11 months ago · a6572bd

1 file changed, 13 insertions

setup.ps1
@@ -50,6 +50,19 @@ reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v DragWidth /t REG_SZ /d 3
50 50 reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v MenuShowDelay /t REG_SZ /d 100
51 51 reg add "HKEY_CURRENT_USER\Control Panel\International" /f /v sShortTime /t REG_SZ /d "hh:mm tt"
52 52
53 + # Disable the post-update Enable Edge/Onedrive prompts
54 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v SubscribedContent-310093Enabled /t REG_DWORD /d 0
55 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v SubscribedContent-338389Enabled /t REG_DWORD /d 0
56 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /f /v ScoobeSystemSettingEnabled /t REG_DWORD /d 0
57 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v SystemPaneSuggestionsEnabled /t REG_DWORD /d 0
58 +
59 + # Disable the advertisements on the lockscreen
60 + reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\S-1-5-21-1155494831-622799966-3648362856-1003" /f /v RotatingLockScreenEnabled /t REG_DWORD /d 0
61 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v RotatingLockScreenOverlayEnabled /t REG_DWORD /d 0
62 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v RotatingLockScreenEnabled /t REG_DWORD /d 0
63 + reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /f /v SubscribedContent-338387Enabled /t REG_DWORD /d 0
64 +
65 +
53 66 # Make windows better
54 67 winget install -e --id StartIsBack.StartAllBack
55 68 winget install -e --id WhatPulse.WhatPulse

bigp revised this gist 1 year ago · 1671613

1 file changed, 2 insertions

setup.ps1
@@ -18,6 +18,7 @@ Get-AppxPackage *soundrecorder* | Remove-AppxPackage
18 18 Get-AppxPackage *bingweather* | Remove-AppxPackage
19 19 Get-AppxPackage *teams* | Remove-AppxPackage
20 20 Get-AppxPackage *copilot* | Remove-AppxPackage
21 + Get-AppxPackage *clipchamp* | Remove-AppxPackage
21 22
22 23 # Make the taskbar normal again
23 24 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0 # Align taskbar to left
@@ -59,6 +60,7 @@ winget install -e --id Espanso.Espanso
59 60 winget install -e --id MartiCliment.UniGetUI
60 61 winget install -e --id gerardog.gsudo
61 62 winget install -e --id emoacht.Monitorian
63 + winget install 9nv2l4xvmcxm # Photos Legacy
62 64
63 65 # Applications
64 66 winget install -e --id Valve.Steam

bigp revised this gist 1 year ago · fd236a4

1 file changed, 12 insertions, 7 deletions

setup.ps1
@@ -20,10 +20,14 @@ Get-AppxPackage *teams* | Remove-AppxPackage
20 20 Get-AppxPackage *copilot* | Remove-AppxPackage
21 21
22 22 # Make the taskbar normal again
23 - reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0
24 - reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCortanaButton /t REG_DWORD /d 0
25 - reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCopilotButton /t REG_DWORD /d 0
26 - reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowTaskViewButton /t REG_DWORD /d 0
23 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0 # Align taskbar to left
24 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarDa /t REG_DWORD /d 0 # Disable widget
25 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCortanaButton /t REG_DWORD /d 0 # Disable Cortana button
26 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowCopilotButton /t REG_DWORD /d 0 # Disable Copilot button
27 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowTaskViewButton /t REG_DWORD /d 0 # Disable task view button
28 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v MMTaskbarEnabled /t REG_DWORD /d 0 # Disable multi-monitor taskbar
29 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarGlomLevel /t REG_DWORD /d 2 # Show window names
30 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search /f /v SearchboxTaskbarMode /t REG_DWORD /d 0 # Disable search button
27 31
28 32 # Make explorer usable
29 33 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v DontPrettyPath /t REG_DWORD /d 1
@@ -40,9 +44,10 @@ reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Perso
40 44
41 45 # General
42 46 reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /f /v VerboseStatus /t REG_DWORD /d 1
43 - reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v DragHeight /t REG_SZ /d 30
44 - reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v DragWidth /t REG_SZ /d 30
45 - reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v MenuShowDelay /t REG_SZ /d 100
47 + reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v DragHeight /t REG_SZ /d 30
48 + reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v DragWidth /t REG_SZ /d 30
49 + reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v MenuShowDelay /t REG_SZ /d 100
50 + reg add "HKEY_CURRENT_USER\Control Panel\International" /f /v sShortTime /t REG_SZ /d "hh:mm tt"
46 51
47 52 # Make windows better
48 53 winget install -e --id StartIsBack.StartAllBack

bigp revised this gist 1 year ago · 387dc69

1 file changed, 9 insertions

setup.ps1
@@ -29,12 +29,21 @@ reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Adv
29 29 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v DontPrettyPath /t REG_DWORD /d 1
30 30 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v HideFileExt /t REG_DWORD /d 0
31 31 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v ShowSuperHidden /t REG_DWORD /d 1
32 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /f /v DisableSearchBoxSuggestions /t REG_DWORD /d 1
32 33 reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /f /ve
34 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize /f /v StartupDelayInMSec /t REG_DWORD /d 1
35 + reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize /f /v WaitForIdleState /t REG_DWORD /d 0
33 36
34 37 # Dark mode
35 38 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v AppsUseLightTheme /t REG_DWORD /d 1
36 39 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /f /v SystemUsesLightTheme /t REG_DWORD /d 1
37 40
41 + # General
42 + reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /f /v VerboseStatus /t REG_DWORD /d 1
43 + reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v DragHeight /t REG_SZ /d 30
44 + reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v DragWidth /t REG_SZ /d 30
45 + reg add HKEY_CURRENT_USER\Control Panel\Desktop /f /v MenuShowDelay /t REG_SZ /d 100
46 +
38 47 # Make windows better
39 48 winget install -e --id StartIsBack.StartAllBack
40 49 winget install -e --id WhatPulse.WhatPulse

bigp revised this gist 2 years ago · a7183a9

1 file changed, 3 insertions, 1 deletion

setup.ps1
@@ -17,7 +17,7 @@ Get-AppxPackage *bingsports* | Remove-AppxPackage
17 17 Get-AppxPackage *soundrecorder* | Remove-AppxPackage
18 18 Get-AppxPackage *bingweather* | Remove-AppxPackage
19 19 Get-AppxPackage *teams* | Remove-AppxPackage
20 -
20 + Get-AppxPackage *copilot* | Remove-AppxPackage
21 21
22 22 # Make the taskbar normal again
23 23 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0
@@ -64,6 +64,7 @@ winget install -e --id Zoom.Zoom
64 64 winget install -e --id OBSProject.OBSStudio
65 65 winget install -e --id Inkscape.Inkscape
66 66 winget install -e --id VB-Audio.Voicemeeter.Banana
67 + winget install -e --id Elgato.StreamDeck
67 68
68 69 # Chat
69 70 winget install -e --id SlackTechnologies.Slack
@@ -85,6 +86,7 @@ winget install -e --id Postman.Postman
85 86 winget install -e --id SublimeHQ.SublimeText.4
86 87 winget install -e --id Notepad++.Notepad++
87 88 winget install -e --id JetBrains.GoLand
89 + winget install -e --id JetBrains.Toolbox
88 90 winget install -e --id Hashicorp.Terraform
89 91 winget install -e --id ZeroTier.ZeroTierOne
90 92 winget install -e --id xpipe-io.xpipe

bigp revised this gist 2 years ago · c390da4

1 file changed, 1 insertion

setup.ps1
@@ -44,6 +44,7 @@ winget install -e --id ShareX.ShareX
44 44 winget install -e --id Espanso.Espanso
45 45 winget install -e --id MartiCliment.UniGetUI
46 46 winget install -e --id gerardog.gsudo
47 + winget install -e --id emoacht.Monitorian
47 48
48 49 # Applications
49 50 winget install -e --id Valve.Steam

bigp revised this gist 2 years ago · 46e0684

1 file changed, 1 insertion

setup.ps1
@@ -62,6 +62,7 @@ winget install -e --id RaspberryPiFoundation.RaspberryPiImager
62 62 winget install -e --id Zoom.Zoom
63 63 winget install -e --id OBSProject.OBSStudio
64 64 winget install -e --id Inkscape.Inkscape
65 + winget install -e --id VB-Audio.Voicemeeter.Banana
65 66
66 67 # Chat
67 68 winget install -e --id SlackTechnologies.Slack

bigp revised this gist 2 years ago · 49ba2ed

1 file changed, 1 insertion

setup.ps1
@@ -48,6 +48,7 @@ winget install -e --id gerardog.gsudo
48 48 # Applications
49 49 winget install -e --id Valve.Steam
50 50 winget install -e --id Mojang.MinecraftLauncher
51 + winget install -e --id Overwolf.CurseForge
51 52 winget install -e --id Spotify.Spotify
52 53 winget install -e --id Google.Chrome
53 54 winget install -e --id AgileBits.1Password

bigp revised this gist 2 years ago · 5f3978e

1 file changed, 19 insertions, 3 deletions

setup.ps1
@@ -1,7 +1,6 @@
1 1 # Uninstall default crap
2 2 Get-AppxPackage *3dbuilder* | Remove-AppxPackage
3 3 Get-AppxPackage *windowsalarms* | Remove-AppxPackage
4 - Get-AppxPackage *windowscalculator* | Remove-AppxPackage
5 4 Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
6 5 Get-AppxPackage *officehub* | Remove-AppxPackage
7 6 Get-AppxPackage *skypeapp* | Remove-AppxPackage
@@ -17,6 +16,8 @@ Get-AppxPackage *people* | Remove-AppxPackage
17 16 Get-AppxPackage *bingsports* | Remove-AppxPackage
18 17 Get-AppxPackage *soundrecorder* | Remove-AppxPackage
19 18 Get-AppxPackage *bingweather* | Remove-AppxPackage
19 + Get-AppxPackage *teams* | Remove-AppxPackage
20 +
20 21
21 22 # Make the taskbar normal again
22 23 reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f /v TaskbarAl /t REG_DWORD /d 0
@@ -41,9 +42,12 @@ winget install -e --id Microsoft.PowerToys
41 42 winget install -e --id voidtools.Everything
42 43 winget install -e --id ShareX.ShareX
43 44 winget install -e --id Espanso.Espanso
45 + winget install -e --id MartiCliment.UniGetUI
46 + winget install -e --id gerardog.gsudo
44 47
45 48 # Applications
46 49 winget install -e --id Valve.Steam
50 + winget install -e --id Mojang.MinecraftLauncher
47 51 winget install -e --id Spotify.Spotify
48 52 winget install -e --id Google.Chrome
49 53 winget install -e --id AgileBits.1Password
@@ -51,8 +55,12 @@ winget install -e --id VideoLAN.VLC
51 55 winget install -e --id TeamSpeakSystems.TeamSpeakClient
52 56 winget install -e --id dotPDNLLC.paintdotnet
53 57 winget install -e --id RARLab.WinRAR
54 - winget install -e --id Win32diskimager.win32diskimager
55 58 winget install -e --id Google.Drive
59 + winget install -e --id AntibodySoftware.WizTree
60 + winget install -e --id RaspberryPiFoundation.RaspberryPiImager
61 + winget install -e --id Zoom.Zoom
62 + winget install -e --id OBSProject.OBSStudio
63 + winget install -e --id Inkscape.Inkscape
56 64
57 65 # Chat
58 66 winget install -e --id SlackTechnologies.Slack
@@ -66,6 +74,7 @@ winget install -e --id Nvidia.GeForceExperience
66 74 winget install -e --id OpenJS.NodeJS
67 75 winget install -e --id Python.Python.3.9
68 76 winget install -e --id Oracle.JavaRuntimeEnvironment
77 + winget install -e --id GoLang.Go
69 78
70 79 # Programming
71 80 winget install -e --id Git.Git
@@ -75,8 +84,15 @@ winget install -e --id Notepad++.Notepad++
75 84 winget install -e --id JetBrains.GoLand
76 85 winget install -e --id Hashicorp.Terraform
77 86 winget install -e --id ZeroTier.ZeroTierOne
87 + winget install -e --id xpipe-io.xpipe
88 + winget install -e --id Postman.Postman
89 + winget install -e --id PuTTY.PuTTY
90 +
91 + # Sandbox
92 + Enable-WindowsOptionalFeature -FeatureName "Microsoft-Hyper-V-All" -All -Online
78 93 Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online
94 +
95 + # WSL
79 96 wsl --install
80 97 winget install -e --id Canonical.Ubuntu.2204
81 98 winget install -e --id Docker.DockerDesktop
82 - winget install xpipe-io.xpipe --source winget