1
0
mirror of https://github.com/TommyTran732/Windows-Setup.git synced 2024-11-21 15:41:45 -05:00

Simple debloat script

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-14 00:42:05 -07:00
parent e5323cf69c
commit 2a0944c4c3
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
3 changed files with 5 additions and 19 deletions

View File

@ -1,18 +0,0 @@
MicrosoftTeams
Microsoft.ScreenSketch
Microsoft.Paint
Microsoft.549981C3F5F10
Microsoft.MicrosoftOfficeHub
Microsoft.WindowsFeedbackHub
Microsoft.People
Clipchamp.Clipchamp
Microsoft.GetStarted
MicrosoftCorporationII.QuickAssist
Microsoft.WindowsAlarms
Microsoft.WindowsSoundRecorder
Microsoft.XboxGamingOverlay
Microsoft.YourPhone
Microsoft.WindowsMaps
Microsoft.MicrosoftSolitaireCollection
Microsoft.Windows.DevHome
Microsoft.OutlookForWindows

View File

@ -18,7 +18,7 @@ As such, if you want to make sure all of the annoying APPX/MSIX apps are gone, i
- Run `Get-AppxPackage -AllUsers <PackageName> | Remove-AppxPackage -AllUsers` to remove the unwanted packages.
- "Uninstall" the remaining annoying apps from the Start Menu. They are not really apps on the system, they are just annoying shortcuts which will install the apps when you click on them. The list of packages I remove on my Parallels system is in the `Parallels.txt` file.
- "Uninstall" the remaining annoying apps from the Start Menu. They are not really apps on the system, they are just annoying shortcuts which will install the apps when you click on them.
- Open the terminal and run `winget list` to see the remaining packages (note that this will not exclude Framework packages). Remove the remaining undesirable apps with `winget remove <PackageName>`. In most cases, this will just be OneDrive.

4
Scripts/DeBloat.ps1 Normal file
View File

@ -0,0 +1,4 @@
$Bloat = 'MicrosoftTeams|Microsoft.ScreenSketch|Microsoft.Paint|Microsoft.549981C3F5F10|Microsoft.MicrosoftOfficeHub|Microsoft.WindowsFeedbackHub|Microsoft.People|Clipchamp.Clipchamp|Microsoft.GetStarted|MicrosoftCorporationII.QuickAssist|Microsoft.WindowsAlarms|Microsoft.WindowsSoundRecorder|Microsoft.YourPhone|Microsoft.WindowsMaps|Microsoft.MicrosoftSolitaireCollection|Microsoft.Windows.DevHome|Microsoft.OutlookForWindows'
Get-AppxPackage -AllUsers | Where-Object {$_.Name -Match $Bloat} | Remove-AppxPackage
mstsc /uninstall