Skip to content

Instantly share code, notes, and snippets.

@Aldaviva
Last active February 15, 2025 17:29
Show Gist options
  • Save Aldaviva/827a3eab00b56f7da22bc22b37348b0a to your computer and use it in GitHub Desktop.
Save Aldaviva/827a3eab00b56f7da22bc22b37348b0a to your computer and use it in GitHub Desktop.
Uninstall built-in Windows 10-11 immersive apps

List AppX apps

Current user

Get-AppxPackage | where NonRemovable -eq $false | sort Name | ft Name, PackageFullName

Computer

Get-AppxPackage -AllUsers | where { $_.NonRemovable -eq $false -and $_.InstallLocation -ne $null} | sort Name | ft Name, PackageFullName

New users

Get-AppxProvisionedPackage -Online | ft DisplayName, PackageName

Contents of C:\Program Files\WindowsApps

gci $Env:ProgramFiles\WindowsApps | ft Name

Uninstall AppX app

Current user

Get-AppxPackage -Name *skype* | Remove-AppxPackage

Computer

Get-AppxPackage -AllUsers -Name *skype* | Remove-AppxPackage -AllUsers

If this fails, you can try deleting the app folders from %PROGRAMFILES%\WindowsApps as the TrustedInstaller user, for example with WinAero Tweaker, ExecTi, or PsExec. You may want to back them up in case reinstallation is difficult.

New users

Get-AppxProvisionedPackage -Online | where PackageName -like *zune* | Remove-AppxProvisionedPackage -Online

Using DISM:

dism /Online /Remove-ProvisionedAppxPackage /PackageName:"Microsoft.ZuneMusic_11.2403.5.0_neutral_~_8wekyb3d8bbwe"
@Aldaviva
Copy link
Author

Windows 11 Widgets (widgets.exe and widgetservice.exe) can be uninstalled by removing the MicrosoftWindows.Client.WebExperience AppX package. This is more effective than setting HKCU\Software\Microsoft\Windows\CurrentVersion\Dsh\IsPreLaunchEnabled=0 because that only kills the msedgewebview2.exe child processes, not the the aforementioned parent processes.

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