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
Next revision
Previous revision
os:windows:remove_windows_store_apps [2023/05/12 17:11] – removed The SuperUseros: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://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 -AllUsers | 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 -AllUsers | Where-Object {$_.Name -eq $App}
 +if ($Packages -ne $null)
 +{
 +"Removing Appx Package: $App"
 +foreach ($Package in $Packages) { Remove-AppxPackage -AllUsers -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 -AllUsers -online -packagename $ProvisionedPackage.PackageName
 +}
 +else { "Unable to find provisioned package: $App" }
 +}
 +</code>
 +
 +Copy and paste that code into an admin powershell window
 +