Created
January 5, 2024 17:27
-
-
Save mikhasd/4d317d21e204c9cbce1108754701d2dc to your computer and use it in GitHub Desktop.
Uninstall Windows 11 Bloatware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unable to uninstall the following packages | |
# | |
# - Microsoft.Windows.ParentalControls | |
# - Microsoft.MicrosoftEdgeDevToolsClient | |
# - Microsoft.XboxGameCallableUI | |
$undesired_apps = @( | |
'Microsoft.ZuneMusic', | |
'Microsoft.MicrosoftSolitaireCollection', | |
'Microsoft.XboxIdentityProvider', | |
'Microsoft.Getstarted', | |
'Microsoft.MicrosoftEdge.Stable', | |
'Microsoft.ZuneVideo', | |
'Microsoft.OutlookForWindows', | |
'Microsoft.Windows.DevHome', | |
'MicrosoftCorporationII.MicrosoftFamily', | |
'Microsoft.YourPhone', | |
'Microsoft.XboxSpeechToTextOverlay', | |
'Microsoft.XboxGamingOverlay', | |
'Microsoft.XboxGameOverlay', | |
'Microsoft.Xbox.TCUI', | |
'Microsoft.Todos', | |
'Microsoft.MicrosoftStickyNotes', | |
'Microsoft.MicrosoftOfficeHub', | |
'Microsoft.GetHelp', | |
'Microsoft.BingNews', | |
'Microsoft.BingWeather', | |
'Clipchamp.Clipchamp', | |
'Microsoft.OneDriveSync', | |
'Microsoft.WindowsMaps', | |
'Microsoft.WindowsFeedbackHub', | |
'Microsoft.PowerAutomateDesktop' | |
) | |
foreach ( $app in $undesired_apps ) { | |
Write-Output "uninstalling $app" | |
try { | |
Get-AppxPackage $app | Remove-AppxPackage | |
} | |
catch { | |
Write-Output "error uninstalling $app" | |
Write-Output $_ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment