This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
os:windows:remove_windows_store_apps [2023/05/12 16:58] – removed - external edit (Unknown date) 127.0.0.1 | os:windows:remove_windows_store_apps [2023/05/16 16:33] (current) – The SuperUser | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Remove Windows Store apps ====== | ||
+ | |||
+ | Original found via the MS forums: [[https:// | ||
+ | |||
+ | Find your apps here: | ||
+ | <code powershell> | ||
+ | Get-AppxProvisionedPackage -online | Format-Table -Property DisplayName | ||
+ | Get-AppxPackage -AllUsers | Format-Table -Property Name | ||
+ | </ | ||
+ | |||
+ | And here is the code to remove them: | ||
+ | <code powershell> | ||
+ | $AppsList = " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | |||
+ | ForEach ($App in $AppsList) | ||
+ | { | ||
+ | $Packages = Get-AppxPackage -AllUsers | Where-Object {$_.Name -eq $App} | ||
+ | if ($Packages -ne $null) | ||
+ | { | ||
+ | " | ||
+ | foreach ($Package in $Packages) { Remove-AppxPackage -AllUsers -package $Package.PackageFullName } | ||
+ | } | ||
+ | else { " | ||
+ | $ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App} | ||
+ | if ($ProvisionedPackage -ne $null) | ||
+ | { | ||
+ | " | ||
+ | remove-AppxProvisionedPackage -AllUsers -online -packagename $ProvisionedPackage.PackageName | ||
+ | } | ||
+ | else { " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Copy and paste that code into an admin powershell window | ||
+ | |||