Source: https://www.tenforums.com/tutorials/4689-uninstall-apps-windows-10-a.html
Run these commands in Powershell.
- User only:
Get-AppxPackage | Select-Object name,installlocation- Provisioned Apps for new users:
βΉ NOTE: These apps will be installed when creating new user.
Get-AppxProvisionedPackage βonline | Select-Object displayname,installlocationThese apps could be useful and maybe you don't want them to be removed:
notepad|calculator|mspaint|screensketch|stickynotes|alarms|camera|soundrecorder|terminal|windowssubsystem|ubuntu|DesktopAppInstaller|SecHealthUI|store|lenovo|realtek|dolby|elevoc|intel|nvidia|amd|edge- UNINSTALL ALL APPS except the apps above:
π‘ TIP: Modify the
-notmatch "(...)"section to exclude other apps. Use the "Show Installed Apps" command to get the names.
Get-AppxPackage | Where-Object {$_.name -notmatch "(notepad|calculator|mspaint|screensketch|stickynotes|alarms|camera|soundrecorder|terminal|windowssubsystem|ubuntu|DesktopAppInstaller|SecHealthUI|store|lenovo|realtek|dolby|elevoc|intel|nvidia|amd|edge)"} | Remove-AppxPackageRun after clean-installing Windows.
- UNINSTALL ALL APPS except Microsoft Store:
π WARNING: This will remove EVERY app except Store. Use with caution.
Get-AppxPackage | Where-Object {$_.name -notmatch "(DesktopAppInstaller|SecHealthUI|store)"} | Remove-AppxPackage- UNINSTALL ALL APPS except Microsoft Store for new users:
βΉ NOTE: This does not remove currently installed apps. When creating new users, bloatware apps will not be installed.
Get-AppxProvisionedPackage βonline | Where-Object {$_.displayname -notmatch "(DesktopAppInstaller|SecHealthUI|store)"} | Remove-AppxProvisionedPackage -onlineIf you have problems with some apps, run this:
Get-AppxPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}