Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Delete unused, pre-installed Windows Apps
Get-AppxPackage -allusers *Microsoft.BingWeather* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.WindowsMaps* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.Messaging* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.ZuneVideo* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.OneConnect* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.ZuneMusic* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.GetHelp* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.People* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.WindowsCommunicationsApps* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.MSPaint* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.Print3D* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.Office.OneNote | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.WindowsSoundRecorder* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.WindowsCalculator* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.XboxApp* | Remove-AppxPackage
# Get-AppxPackage -allusers *Microsoft.MicrosoftEdge* | Remove-AppxPackage
# Get-AppxPackage -allusers *Microsoft.Windows.SecHealthUI* | Remove-AppxPackage
Get-AppxPackage -allusers *Microsoft.Office.Sway* | Remove-AppxPackage
@SteelBodyX
Copy link

SteelBodyX commented Apr 9, 2022

I uninstalled the Windows Defender/Windows Security. How can I get it back? I will appreciate the help

@heinrichreimer
Copy link
Author

heinrichreimer commented Apr 12, 2022

Unfortunately, I don't know how to re-install any of these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment