Get-AppxPackage | where NonRemovable -eq $false | sort Name | ft Name, PackageFullNameGet-AppxPackage -AllUsers | where { $_.NonRemovable -eq $false -and $_.InstallLocation -ne $null} | sort Name | ft Name, PackageFullNameGet-AppxProvisionedPackage -Online | ft DisplayName, PackageNamegci $Env:ProgramFiles\WindowsApps | ft NameGet-AppxPackage -Name *skype* | Remove-AppxPackageGet-AppxPackage -AllUsers -Name *skype* | Remove-AppxPackage -AllUsersIf this fails, you can try rerunning these commands (or 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.
Get-AppxProvisionedPackage -Online | where PackageName -like *zune* | Remove-AppxProvisionedPackage -Onlinedism /Online /Remove-ProvisionedAppxPackage /PackageName:"Microsoft.ZuneMusic_11.2403.5.0_neutral_~_8wekyb3d8bbwe"
In Windows 11, the package
Microsoft.XboxGamingOverlayis needed to avoid the error message when launching games about Windows not being able to handle the linkms:gamingoverlay. If you uninstalled it, you can reinstall Xbox Game Bar from the Microsoft Store.In Windows 10, you can uninstall all Xbox-related packages and still avoid the
ms:gamingoverlaywarning by disabling Xbox Game Bar in Settings › Gaming › Xbox Game Bar.