Systems Admin Info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
os:windows:remove_windows_store_apps [2023/05/12 17:11] – removed The SuperUseros:windows:remove_windows_store_apps [2023/05/12 17:21] – old revision restored (2023/05/12 17:01) The SuperUser
Line 1: Line 1:
 +====== Remove Windows Store apps ======
 +
 +Original found via the MS forums: [[https://www.kapilarya.com/how-to-uninstall-built-in-apps-in-windows-10]]
 +
 +Find your apps here:
 +<code powershell>
 +Get-AppxProvisionedPackage -online | Format-Table -Property DisplayName
 +Get-AppxPackage | Format-Table -Property Name
 +</code>
 +
 +And here is the code to remove them:
 +<code powershell>
 +$AppsList = "Microsoft.MSPaint", # Microsoft Paint 
 +"Microsoft.Microsoft3DViewer", # Microsoft 3D Viewer
 +"Microsoft.Print3D",
 +"Microsoft.3DBuilder"
 +
 +ForEach ($App in $AppsList)
 +{
 +$Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App}
 +if ($Packages -ne $null)
 +{
 +"Removing Appx Package: $App"
 +foreach ($Package in $Packages) { Remove-AppxPackage -package $Package.PackageFullName }
 +}
 +else { "Unable to find package: $App" }
 +$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}
 +if ($ProvisionedPackage -ne $null)
 +{
 +"Removing Appx Provisioned Package: $App"
 +remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName
 +}
 +else { "Unable to find provisioned package: $App" }
 +}
 +</code>
 +
 +Copy and paste that code into an admin powershell window
 +