Windows Server

How to determine Apps UWP and remove pre-provisioned appx in Windows 10

Package Full Name

Windows 10 comes with pre-installed apps that are not limited to Maps, People, Xbox, Photos, and music, etc. For these pre-installed apps, Windows 10 doesn’t provide any point-and-click way to uninstall them. But you can easily uninstall all those apps using a simple Powershell command. In a Windows installation, you can also use PowerShell to add, remove, and list app packages (.appx or .appxbundle) per image or user. Explore the article and learn how to determine Apps UWP.

How to determine Apps UWP

For related articles, please see how to fix error 0xc1510114: The wim file needs tobe remounted, Error 0x80070002: When trying to mount an image file, Error code 15601: How to resolve DISM unspecified error when removing preinstalled packages, Error 0xc1420127: The specified image in the specified wim is already mounted for read and write access, and Error 740: Elevated permissions are required to run DISM and how to remove pre-provisioned apps from Windows Image.

On the running Windows System (online), you can use PowerShell to query for the Package Full Name (UWP (GUID)) of the Appx. See this article on how to determine the UWP of an application using different methods and also how to set up a Single App Kiosk Mode Configuration using a Local Account / MDM Bridge WMI Provider. Run the following command from PowerShell

"get-AppxPackage" or "get-AppxPackage -user <put your name here>"

See the following articles on how to determine Apps UWP using the PowerShell command-line tool instead of DISM. For more information, see the following link.

Alternatively, you can use a script to remove installed apps from your device. It will ensure the removal of packages you have in the $Applist variable and all the pre-provisioned packages. You can find more information about this script here. This script explains how to determine Apps UWP.

$AppsList = "Microsoft.XboxSpeechTextOverlay","Microsoft.BingFinance","Microsoft.BingNews","Microsoft.BingWeather","Microsoft.XboxApp","Microsoft.SkypeApp","Microsoft.MicrosoftSolitaireCollection","Microsoft.BingSports","Microsoft.ZuneMusic","Microsoft.ZuneVideo","Microsoft.Windows.Photos","Microsoft.People","Microsoft.MicrosoftOfficeHub","Microsoft.WindowsMaps","microsoft.windowscommunicationsapps","Microsoft.Getstarted","Microsoft.3DBuilder"

ForEach ($App in $AppsList) 
{ 
    $PackageFullName = (Get-AppxPackage $App).PackageFullName
    $ProPackageFullName = (Get-AppxProvisionedPackage -online | where {$_.Displayname -eq $App}).PackageName
        write-host $PackageFullName
        Write-Host $ProPackageFullName 
    if ($PackageFullName) 
    { 
        Write-Host "Removing Package: $App"
        remove-AppxPackage -package $PackageFullName 
    } 
    else 
    { 
        Write-Host "Unable to find package: $App" 
    } 
        if ($ProPackageFullName) 
    { 
        Write-Host "Removing Provisioned Package: $ProPackageFullName"
        Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName 
    } 
    else 
    { 
        Write-Host "Unable to find provisioned package: $App" 
    } 

}

I hope you found this blog post on how to determine Apps UWP helpful. Please let me know in the comment session if you have any questions.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x